mageec Posted April 28, 2014 Share Posted April 28, 2014 Hello i have warning Error which appear in my client area when i want show the nameservers of an active domain but the configuration.php file of my WHMCS is: <?php $license = 'Leased-970.............a660d5'; $db_host = 'localhost'; $db_username = 'xxxxx';(masked by security) $db_password = 'xxxxxx'; (masked by security) $db_name = 'cloud4africa'; $cc_encryption_hash = 'PL5YPKFej7G1UHKCod.............GiHc9rJKTYObh2LuPp6rlGBOWo'; $templates_compiledir = 'templates_c/'; $mysql_charset = 'utf8'; $display_errors = false; ?> the warning error which appear is: Warning: Invalid argument supplied for foreach() in /var/www/virtual/cloud4africa.net/htdocs/clientarea.php on line 0 a screenshot of the error: is it a bug ? can you explain how to remove this error of my clientarea Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 28, 2014 Share Posted April 28, 2014 you could see if disabling "Display Errors" removes it... setup -> general settings -> other -> Display Errors (untick) it won't solve what's causing the error, but it might prevent the message being displayed in the client area. 0 Quote Link to comment Share on other sites More sharing options...
mageec Posted April 30, 2014 Author Share Posted April 30, 2014 Precisely, the option is already unticked but this error continue to appear thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 30, 2014 Share Posted April 30, 2014 then the next port of call is to look at the logs... utilities -> logs -> activity log that may provide some information as to where the trouble is... you could try switching from Classic to Portal or Default and see if the problem still appears - if it doesn't, then there must be an error in one of the Classic (or your custom) templates which will require updating. if the problem is still there, then uploading the installation again might resolve it - or ultimately, you should consider upgrading to the latest release if you haven't done so already... often with these situations, there is just one file that is corrupt or hasn't uploaded correctly, and re-uploading will fix it. 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.