PDA

View Full Version : The VB4 Demo Forum database has encountered a problem.


ketan9
01-03-2011, 05:37 PM
I made a query in a plugin and saved it and then I started getting the error - The VB4 Demo Forum database has encountered a problem. None of my pages are opening.

TheLastSuperman
01-03-2011, 06:03 PM
Add this below <?php in your config.php file:

define('DISABLE_HOOKS', true);

So now it should resemble this:

<?php
define('DISABLE_HOOKS', true);

Upload config.php back to the /includes folder. Now access admincp, remove the query from the plugin, save and see if your back online :D.

Comment out the disable hooks when done and re-upload the file!

<?php
// define('DISABLE_HOOKS', true);