![]() |
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? |
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 |
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. |
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...
|
Ah, sank you, I feel foolish. XD
Hopefully I'll remember that next time I mis-spell a table name on my plugins. >_< |
All times are GMT. The time now is 03:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|