Jump to content

dbconnect.php file corrupted


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated