The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Disable hooks not disabling?
Hey, I made a big oopsie when adding a plugin, and setting this in "global.php" ain't working:
Code:
define('DISABLE_HOOKS', 1); Help, please. >_< Is 3.8.0 different? --------------- Added [DATE]1232414986[/DATE] at [TIME]1232414986[/TIME] --------------- Edit, nevermind. >.> Sorry, please delete. XD --------------- Added [DATE]1232415023[/DATE] at [TIME]1232415023[/TIME] --------------- Edit, wait.... I still can't get into AdminCP? |
#2
|
|||
|
|||
I've no idea what you're trying to achieve?
Please be specific about what you're problem is. To disable hooks, add this to the 2nd line of your config.php file. Code:
define('DISABLE_HOOKS', true); Code:
<?php define('DISABLE_HOOKS', true); |
#3
|
||||
|
||||
Yes, this is what I did.
However, I was still getting a database error when trying to log into the AdminCP. The forum itself was running (hookless), but the AdminCP (where I could turn off the troublesome hook I created) was beyond my reach until I edited that same constant into the admincp/index.php and admincp/plugins.php pages. >_> I wasn't aware I had to do it for those pages as well. |
#4
|
|||
|
|||
adding that line is not supposed to be in global.php but in includes/config.php because the first one is used only by the forum, not the admincp or the modcp...
|
#5
|
||||
|
||||
Ah, sank you, I feel foolish. XD
Hopefully I'll remember that next time I mis-spell a table name on my plugins. >_< |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|