PDA

View Full Version : EMERGENCY!!! Need help disabling mod. My forum is crippled!


LifesGreatestGift
03-30-2010, 06:00 PM
My vB4 forum has been crippled installing a FB mod, how do I disabled all mods?

peter_trucker
03-30-2010, 06:28 PM
go into your acp
go to plugins and products

on the right side of the page are your mods listed
next to them is a dropdown box there can you disablle your mods

LifesGreatestGift
03-30-2010, 06:31 PM
I meant through the php files. I figured it out

define('DISABLE_HOOKS', true);

on the second line of config.php but my site is still crippled after installing YAFB. Someone please help me.

--------------- Added 1269978064 at 1269978064 ---------------

Im getting the following. I cannot login to anything.



Warning: require([path]/fbb/hook_init_startup.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/init.php(331) : eval()'d code on line 369

Fatal error: require() [function.require]: Failed opening required '/home/jesse123/public_html/thewindows7site.com/forum/fbb/hook_init_startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jesse123/public_html/thewindows7site.com/forum/includes/init.php(331) : eval()'d code on line 369

Anseur
03-30-2010, 06:51 PM
have you modified any of the php files at all?

LifesGreatestGift
03-30-2010, 06:58 PM
No, just uploaded the files to YAFB (https://vborg.vbsupport.ru/showthread.php?t=232457) and imported the product file and it messed up my site. I then tried doing the DISABLE_HOOKS thing to try and fix it but it didnt work.

--------------- Added 1269979722 at 1269979722 ---------------

I ran the following query to remove it from the plugins but it still doesnt work.

DELETE FROM `jesse123_tw7svbulletin`.`plugin` WHERE `plugin`.`product` = 'fbb';

Anseur
03-30-2010, 07:18 PM
quick glance at the install code for that mod tells me it modifies default vb database tables. do you have a backup?

LifesGreatestGift
03-30-2010, 07:25 PM
Yeah, Im reading through the entire product file and deleting/dropping the necessary columns/tables

borbole
03-30-2010, 07:42 PM
And what happens if you try to disable/uninstall the plugin from the Acp-Plugins&Products as suggested above?

TimberFloorAu
03-30-2010, 07:44 PM
If you have disabled all plugins via config you should at least get to a working page

LifesGreatestGift
03-30-2010, 07:57 PM
I put the disable code in the config file and am still getting this issue.

http://thewindows7site.com

--------------- Added 1269982830 at 1269982830 ---------------

I renamed the config file to config.bak to check something out and it still getting that error so it doesnt even have the config file in the "loop".

--------------- Added 1269983289 at 1269983289 ---------------

I fixed it. Apparently when I was uploading this mod, I was connected to someone elses forum through FTP so I thought it was uploading the files to mine :)

Thx for the help guys.

TimberFloorAu
03-30-2010, 08:30 PM
thank god you got it sorted :up: