PDA

View Full Version : Mod broke my forum - How do I fix it


addamroy
04-18-2012, 09:57 PM
I recently went to update a mod as per the instructions, this mod, https://vborg.vbsupport.ru/showthread.php?t=263521&page=23

and it seems to have broken my forum, everything is just showing a white page. Can't get to the main forum, can't get to admin cp, etc.

Basically it said, import and overwrite the file, did that. Then it said uninstall the additional file/product that's no longer required, and once I did that the forum broke.

How do I fix this? I do have a database backup I downloaded right before I went to update the mod (good thinkin I know), but is there any way to fix it without restoring the database?

kh99
04-18-2012, 10:23 PM
Edit the file includes/config.php and add this line, at the top just under the <?php:

define('DISABLE_HOOKS', 1);


Hopefully that will let you get back in to uninstall or disable the product, then you can remove that line.

addamroy
04-18-2012, 10:30 PM
darn that makes perfect sense LOL.

I just called the hosting company and they're restoring the database to it's state as of last night right now so I'm waiting for that to finish. Then I guess once that's done I have to import the database backup I made a few hours ago so i don't loose much content, it's a pretty active forum.

I almost want to reinstall this product that broke my forum again just so I can test to see if the above solution would have worked :P

Thanks I appreciate it.

There should be a sticky for this somewhere, like in the mods forum.

Pandemikk
04-18-2012, 10:59 PM
It needs to be commented out in config.php by default. Same thing with debug mode.

addamroy
04-18-2012, 11:04 PM
It needs to be commented out in config.php by default. Same thing with debug mode.

what?

Lynne
04-18-2012, 11:31 PM
I would suggest you set up a test site and then install the mod on there so you can see what sort of problems you may run into.

Pandemikk
04-19-2012, 04:01 PM
I was noting that the disable hooks bit should be in config.php by default, commented out.