Martin Soluce Posted October 23 Share Posted October 23 This is malformed <a href='href=https://socialbee.com/calendar/'> link found in /www/wwwroot/orders.systron.net/lang/farsi.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/romanian.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/ukrainian.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/russian.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/arabic.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/english.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/hebrew.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; /www/wwwroot/orders.systron.net/lang/portuguese.php:$_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='href=https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; The only change is removing the extra href= inside the single quotes. Solution: cd /www/html/WHMCS/lang/ sed -i "s|href='href=https://socialbee.com/calendar/'|href='https://socialbee.com/calendar/'|g" english.php farsi.php romanian.php ukrainian.php russian.php arabic.php hebrew.php portuguese.php 0 Quote Link to comment Share on other sites More sharing options...
Provonic Posted 10 hours ago Share Posted 10 hours ago Good catch, Martin. One thing to watch: the files in /lang/ get replaced on every WHMCS update, so the sed fix will be undone next time you update. To make it stick, put the corrected string in an override file instead, e.g. /lang/overrides/english.php: <?php $_LANG['store']['socialbee']['faq']['a2']['i2'] = "Support through <a href='https://socialbee.com/calendar/'>calls</a>, chat, or email communication. We’re one of the few social media tools still offering on-call support."; Same for each language you use (farsi.php, arabic.php, etc.). Override files only need the keys you're changing, and updates leave them alone. Worth opening a ticket with WHMCS too, so they fix the source string for everyone. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.