myrte Posted March 13, 2013 Share Posted March 13, 2013 hello After i upgrade whmcs to 5.2.1 my clientarea.php is blank,it has nothing how fix? thanks 0 Quote Link to comment Share on other sites More sharing options...
Blueberry3.14 Posted March 13, 2013 Share Posted March 13, 2013 This may help (from the Technical Help forum): http://forum.whmcs.com/showthread.php?21317-I-m-getting-a-blank-or-partially-loaded-page 0 Quote Link to comment Share on other sites More sharing options...
myrte Posted March 13, 2013 Author Share Posted March 13, 2013 thank i try all it same as before 0 Quote Link to comment Share on other sites More sharing options...
cosmin Posted March 13, 2013 Share Posted March 13, 2013 Same problem here. Go to Admin/Setup/General and check "Display errors". I have a problem with LiveHelp. I opened a ticket more 12 hours ago... And nothing. My whmcs are unusuable.... 0 Quote Link to comment Share on other sites More sharing options...
myrte Posted March 13, 2013 Author Share Posted March 13, 2013 my alipay gateways and solusvm both did not work it show: *Down for Maintenance* An upgrade is currently in progress... Please come back soon... 0 Quote Link to comment Share on other sites More sharing options...
zoilodiaz Posted March 13, 2013 Share Posted March 13, 2013 solusvm release a new module today, you just need to download and updated it 0 Quote Link to comment Share on other sites More sharing options...
myrte Posted March 13, 2013 Author Share Posted March 13, 2013 no dbconnect.php on / 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted March 13, 2013 Share Posted March 13, 2013 This is a known issue. A quick fix is to delete/rename the livechat issue causing the problem. You may have outdated hooks or addons also. 0 Quote Link to comment Share on other sites More sharing options...
myrte Posted March 13, 2013 Author Share Posted March 13, 2013 live help did not work when can be upgrade it? 0 Quote Link to comment Share on other sites More sharing options...
danami Posted March 13, 2013 Share Posted March 13, 2013 It looks like the object "$smarty" isn't available globally for hooks anymore in 5.2 so when the livehelp hook tries to assign variables to the template it crashes out. Does anyone know what the new syntax is? I can't believe that this sort of stuff wasn't included in the release notes. 0 Quote Link to comment Share on other sites More sharing options...
Spitzenhosting Posted March 13, 2013 Share Posted March 13, 2013 Same Problem -.- 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted March 13, 2013 Share Posted March 13, 2013 It looks like the object "$smarty" isn't available globally for hooks anymore in 5.2 so when the livehelp hook tries to assign variables to the template it crashes out. Does anyone know what the new syntax is? I can't believe that this sort of stuff wasn't included in the release notes. So in effect they have released 5.2 that will not work with livehelp, but i bet this will not stop WHMCS from still charging you the $8 a month for their live help addon even though it wont work with 5.2. 0 Quote Link to comment Share on other sites More sharing options...
danami Posted March 13, 2013 Share Posted March 13, 2013 So in effect they have released 5.2 that will not work with livehelp, but i bet this will not stop WHMCS from still charging you the $8 a month for their live help addon even though it wont work with 5.2. I'm sure it was just an oversight. They will probably issue a patch soon. 0 Quote Link to comment Share on other sites More sharing options...
Spitzenhosting Posted March 13, 2013 Share Posted March 13, 2013 New Code <?php /* stardevelop.com Live Help International Copyright stardevelop.com You may not distribute this program in any manner, modified or otherwise, without the express, written consent from stardevelop.com You may make modifications, but only for your own use and within the confines of the License Agreement. All rights reserved. Selling the code for this program without prior written consent is expressly forbidden. Obtain permission before redistributing this program over the Internet or in any other medium. In all cases copyright and header must remain intact. */ // Report all PHP errors //error_reporting(E_ALL); // Database $table_prefix = 'modlivehelp_'; function hook_livehelpclientarea($vars) { global $CONFIG; if (!empty($CONFIG['SystemSSLURL'])) { $server = trim($CONFIG['SystemSSLURL']); } else { $server = trim($CONFIG['SystemURL']); } if (substr($server, -1) != '/') { $server = $server . '/'; } $server .= 'modules/'; $userid = (isset($vars['clientsdetails']['userid'])) ? $vars['clientsdetails']['userid'] : ''; $name = (!empty($vars['clientsdetails']['lastname'])) ? $vars['clientsdetails']['firstname'] . ' ' . $vars['clientsdetails']['lastname'] : $vars['clientsdetails']['firstname']; $email = (isset($vars['clientsdetails']['email'])) ? $vars['clientsdetails']['email'] : ''; $locale = (isset($_SESSION['Language'])) ? $_SESSION['Language'] : $CONFIG['Language']; switch ($locale) { case 'czech': $locale = 'cs'; break; case 'danish': $locale = 'da'; break; case 'dutch': $locale = 'nl'; break; case 'french': $locale = 'fr'; break; case 'german': $locale = 'de'; break; case 'italian': $locale = 'it'; break; case 'norwegian': $locale = 'no'; break; case 'portuguese-br': $locale = 'pt'; break; case 'portuguese-pt': $locale = 'pt'; break; case 'spanish': $locale = 'es'; break; case 'swedish': $locale = 'sv'; break; case 'turkish': $locale = 'tr'; break; default: $locale = 'en'; break; } $code = <<<END <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //--> <a href="#" class="LiveHelpButton default"><img src="{$server}livehelp/include/status.php" id="LiveHelpStatusDefault" name="LiveHelpStatusDefault" border="0" alt="Live Help" class="LiveHelpStatus"/></a> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //--> END; if ($_SERVER['SERVER_PORT'] == '443') { $protocol = 'https://'; } else { $protocol = 'http://'; } $server = str_replace(array('http://', 'https://'), '', $server); $jscode = <<<END <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //--> <script type="text/javascript"> <!-- var LiveHelpSettings = {}; LiveHelpSettings.server = '{$server}'; LiveHelpSettings.embedded = true; LiveHelpSettings.locale = '{$locale}'; LiveHelpSettings.plugin = 'WHMCS'; LiveHelpSettings.name = '{$name}'; LiveHelpSettings.custom = '{$userid}'; LiveHelpSettings.email = '{$email}'; (function(d, $, undefined) { $(window).ready(function() { LiveHelpSettings.server = LiveHelpSettings.server.replace(/[a-z][a-z0-9+\-.]*:\/\/|\/livehelp\/*(\/|[a-z0-9\-._~%!$&'()*+,;=:@\/]*(?![a-z0-9\-._~%!$&'()*+,;=:@]))|\/*$/g, ''); var LiveHelp = document.createElement('script'); LiveHelp.type = 'text/javascript'; LiveHelp.async = true; LiveHelp.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + LiveHelpSettings.server + '/livehelp/scripts/jquery.livehelp.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(LiveHelp, s); }); })(document, jQuery); --> </script> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //--> END; return array('livehelp'=>$code,'livehelpjs'=>$jscode); } add_hook('ClientAreaPage', 1 , 'hook_livehelpclientarea'); ?> 0 Quote Link to comment Share on other sites More sharing options...
webtel Posted March 13, 2013 Share Posted March 13, 2013 I have just upgraded and also have this problem - clients cannot log in. How do I disable livehelp until they fix the bug? I'm sure it was just an oversight. They will probably issue a patch soon. 0 Quote Link to comment Share on other sites More sharing options...
Spitzenhosting Posted March 13, 2013 Share Posted March 13, 2013 Fix: spitzenhosting.de/livehelp.rar 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted March 13, 2013 Share Posted March 13, 2013 Facing the same problem. I am not using live help adon. How can I fix it? 0 Quote Link to comment Share on other sites More sharing options...
gohigher Posted March 13, 2013 Share Posted March 13, 2013 @jamched_11946 This may be happening if you are using J!WHMCS Integrator or Integrator 3. If you are using J!WHMCS Integrator or Integrator 3, we are working to bring a patch out very quickly this afternoon. You will need to have PHP version 5.3 on your server for the next release unfortunately - most probably do, but just in case... 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.