View Full Version : database errors
danielc2384
24 Jun 2008, 18:12
I seem to be getting this same constant database error in my inbox. Can anyone determine the problem?
Almost all syntax errors are down to modified code.
Edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
Does that stop the database errors?
geevest.com
24 Jun 2008, 19:56
have u already instal new plugin in ur site ?
u can disable all ur plugin first.
danielc2384
25 Jun 2008, 03:06
Almost all syntax errors are down to modified code.
Edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
Does that stop the database errors?
When I did that I received this error:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Eikinskjaldi
25 Jun 2008, 04:22
You probably left the semi-colon off.
danielc2384
25 Jun 2008, 09:30
You probably left the semi-colon off.
nope. included that too.
Marco van Herwaarden
25 Jun 2008, 09:39
Please post the first 30 lines of your config.php (blank out any passwords).
Marco van Herwaarden
25 Jun 2008, 14:26
This is the unmodified config.php, not the config on which you got the last error when adding:
define('DISABLE_HOOKS', true);
PS If posting code, please enclose it with [ code] or [ php] tags.
danielc2384
25 Jun 2008, 14:43
This is the unmodified config.php, not the config on which you got the last error when adding:
define('DISABLE_HOOKS', true);
PS If posting code, please enclose it with [ code] or [ php] tags.
I removed the "define('DISABLE_HOOKS', true);" since it was causing problems.
edit: I pasted the code "define('DISABLE_HOOKS', true);" again and didn't get the error message this time, but some of my plugins disipeared.
Yes your plugins will all be disabled, as that is what the config.php file edit does.
If you are not getting the DB error while all plugins are disabled, then its being caused by a plugin. To remedy this, re-enable the plugins (remove the config.php file edit) and start to disable the plugins one by one until you find which one is causing the problem
danielc2384
26 Jun 2008, 10:32
Yes your plugins will all be disabled, as that is what the config.php file edit does.
If you are not getting the DB error while all plugins are disabled, then its being caused by a plugin. To remedy this, re-enable the plugins (remove the config.php file edit) and start to disable the plugins one by one until you find which one is causing the problem
Ok then.
Thanks.
danielc2384
05 Jul 2008, 04:13
I removed the help center mod and no more errors.
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.