vbem2
02-07-2008, 01:50 AM
Back story:
I was messing around with a plugin in my test forum - using the hook location: vBulletin General: init_startup.
My plug-in sucked. It worked a few times, and then I started getting a test forum-wide error (including in the AdminCP) to the effect of "Unable to add cookies, headers have already been sent. "
I went into the test forum database via phpMyAdmin, and deleted my plug-in record from the plugin table. Didn't help - still got the error.
I then did a bit of searching here and learned the "simple" way to disable plugins that break the Admin CP is by adding the line "define('DISABLE_HOOKS',true);" to my config.php file.
I did that, and it let me get back into the Admin CP, where I confirmed my plugin was no longer listed in the Plugin Manager.
However, when I removed the line "define('DISABLE_HOOKS',true);" from config.php, I can still see the plug-in is active.
How can I kill it? Is it somehow cached in memory because of the hook location I used? I'm stumped.
Thanks for any advice.
I was messing around with a plugin in my test forum - using the hook location: vBulletin General: init_startup.
My plug-in sucked. It worked a few times, and then I started getting a test forum-wide error (including in the AdminCP) to the effect of "Unable to add cookies, headers have already been sent. "
I went into the test forum database via phpMyAdmin, and deleted my plug-in record from the plugin table. Didn't help - still got the error.
I then did a bit of searching here and learned the "simple" way to disable plugins that break the Admin CP is by adding the line "define('DISABLE_HOOKS',true);" to my config.php file.
I did that, and it let me get back into the Admin CP, where I confirmed my plugin was no longer listed in the Plugin Manager.
However, when I removed the line "define('DISABLE_HOOKS',true);" from config.php, I can still see the plug-in is active.
How can I kill it? Is it somehow cached in memory because of the hook location I used? I'm stumped.
Thanks for any advice.