vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing a plugin without admin panel? (https://vborg.vbsupport.ru/showthread.php?t=151057)

dastardly 06-30-2007 09:35 PM

Removing a plugin without admin panel?
 
Our shoutbox is causing errors refusing the forum from loading, so does anyone know how to remove inferno shout without using the admin panel?

error is:
Quote:

Warning: require_once(public_html/forum/infernoshout/engine/inferno_engine.php) [function.require-once]: failed to open stream: No such file or directory in /global.php(341) : eval()'d code on line 100

Fatal error: require_once() [function.require]: Failed opening required 'public_html/forum/infernoshout/engine/inferno_engine.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/forum/global.php(341) : eval()'d code on line 100

Paul M 06-30-2007 09:49 PM

Add this to your config.php, just below the initial comments.

PHP Code:

define('DISABLE_HOOKS',true); 

You should then be able to login as normal and disable, delete the shoutbox product.

dastardly 06-30-2007 10:03 PM

Quote:

Originally Posted by Paul M (Post 1280170)
Add this to your config.php, just below the initial comments.

PHP Code:

define('DISABLE_HOOKS',true); 

You should then be able to login as normal and disable, delete the shoutbox product.

Thanks. Another question, what does DISABLE_HOOKS actually disable? We have a strange error with the forum (we thought was shoutbox) yet when you add DISABLE_HOOKS it will fix it, though I dont think the error is in a plugin.

The other error is:
Quote:

vBulletin Message
The message you have entered is too short. Please lengthen your message to at least 2 characters.
Also, no skin is displayed and it looks to be in archive mode. This message is displayed instantly at index.

If anyone knows the problem, it would be great, but just knowing what DISABLE_HOOKS disables would help a lot too.

da420 06-30-2007 10:04 PM

Quote:

Originally Posted by dastardly (Post 1280176)
Thanks. Another question, what does DISABLE_HOOKS actually disable? We have a strange error with the forum (we thought was shoutbox) yet when you add DISABLE_HOOKS it will fix it, though I dont think the error is in a plugin.

The other error is:


Also, no skin is displayed and it looks to be in archive mode. This message is displayed instantly at index.

If anyone knows the problem, it would be great, but just knowing what DISABLE_HOOKS disables would help a lot too.

DISABLE_HOOKS disables your hooks, and makes your plug ins no longer function. So, if it fixes your problem, it is indeed one of your plug ins that is creating your problems.

dastardly 06-30-2007 10:17 PM

Thanks a ton, got it figured out and working (or so we think ;) )

EnIgMa1234 06-30-2007 10:20 PM

Quote:

Originally Posted by dastardly (Post 1280176)
The other error is:


.

If you want to disable this, go to vbulletin options, posting settings (not the exact name, cant think of it) and change min character to post to 0

erdiyilmaz 08-07-2007 07:39 AM

infernoShout is very bad hack...

after i Load it.. my forum is not working now.. i'm going to correct this error with disabLing hooks. i hope soon.

thanks.

StrifeX 08-07-2007 03:22 PM

It's actually amazing :erm:

Just to remind you / add some info, uninstall the hack while the hooks are disabled, then take the code out...


All times are GMT. The time now is 11:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00988 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete