Database Error

Webdude

New Member
All of my website including subdomains uses MySQL and all of my sites including subdomains are having errors when people connect. For example:

Database Error

Database error
The database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the *********.co.uk home page, then try to open another page.
* Click the Back button to try another link.

The *********.co.uk forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.​

I have checked then repaired the databases via cPanel but the error is still there. I have attempted to contact my host but so far, no luck.

What could the problem be and what's the solution?
 

Morpheus

New Member
Try disabling the plugin/hook system, open your config.php

Just below

Code:
<?php

enter

Code:
define('DISABLE_HOOKS', true);

And see if the error is still there.
 

dusean

New Member
have you upgrade your vb ....
and ..you can please post the DATABASE error which you recieve on your mail :D
maybe that can help us to tell you better solution :D
 

bluescorpion

New Member
Hello Webdude,

I might suggest that even if the problem has gone away, you should check your email to see if that is working correctly. You really should have received a diagnostic message in your email after that error occurred. The email basically tells you what the error was that caused the failure.

HTH
 

NadeemJP

New Member
Morpheus said:
Try disabling the plugin/hook system, open your config.php

Just below

Code:
<?php

enter

Code:
define('DISABLE_HOOKS', true);

And see if the error is still there.

I shall make a new thread for the error reports i received via email, but before that let me inquire you morpheus, why do we have to disable the hooks and plugins in the config file? and does disabling it here disables all the plugins or modifications or styles that i have installed on my website?

thank you
 

Hoxxy

New Member
All modifications are disabled when
Code:
define('DISABLE_HOOKS', true);
is placed in the config file the reason you where asked to do this was because if the error went away then you know it was a resently installed mod that was causing the error,

If you have made that check you can remove the code ;)
 
Top