billu Posted August 15, 2010 Share Posted August 15, 2010 Hello everyone, Today I got a cron job mail saying that my dbconnect.php file is corrupted. I uploaded the dbconnect.php to overwrite the old. Now I am unable to access whmcs. It says "down fro maintenance". Has anyone every faced this issue and what is the solution over this. Please advice. 0 Quote Link to comment Share on other sites More sharing options...
penguin Posted August 15, 2010 Share Posted August 15, 2010 Are your site error logs showing any details? Make sure you've got the correct database connection details still in configuration.php. Also check that you've not got any corrupted tables in your database - you can check this pretty easily using phpmyadmin. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 15, 2010 Share Posted August 15, 2010 I see the dbconnect error sometimes when developing modules. Try removing any 3rd party modules you've installed and make sure you do not have anything laying around in includes/hooks/. Even non-PHP files in this directory will get parsed and probably break stuff. 0 Quote Link to comment Share on other sites More sharing options...
billu Posted August 15, 2010 Author Share Posted August 15, 2010 I have not installed any third party modules nor have done any kind of activity. Still I got this file corrupted. 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted August 15, 2010 Share Posted August 15, 2010 you might just have a database that is bad, do you have a backup to upload 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 15, 2010 Share Posted August 15, 2010 try turning on (or disabling) display_errors in your configuration.php file: $display_errors = true; 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 16, 2010 WHMCS Support Manager Share Posted August 16, 2010 It sounds like you've uploaded the dbconnect.php file from a different version of WHMCS. For example if you're running version 4.1.1 uploading a file from version 4.2.1 could cause this problem. 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.