vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Warning: Plugins are currently globally disabled via config.php. (https://vborg.vbsupport.ru/showthread.php?t=319289)

Tettinntil 06-29-2015 05:48 PM

Warning: Plugins are currently globally disabled via config.php.
 
We're getting this error in the cp...

Our config.php looks like this:

<?php
// define('DISABLE_HOOKS', true);

in settings/option/plug-ins/hooks:
Enable Plugin/Hook System
This setting allows you to globally enable or disable the plugin/hook system- Yes

Help!!!!

kh99 06-29-2015 05:58 PM

Hmm...maybe check to make sure there's no other define('DISABLE_HOOKS', true); anywhere else in config.php, if you haven't already.

Tettinntil 06-29-2015 06:08 PM

Didn't find anything else.

kh99 06-29-2015 06:28 PM

OK, well, it looks like that message is only displayed when DISABLE_HOOKS is defined. So either it's defined in another file (which would still print the message even though it says config.php), or else you're looking at the wrong config.php or something.

Do you have any kind of cache? I don't know the details, but I know on our server the cache has to be flushed to make any file changes take effect.

TheLastSuperman 06-29-2015 06:38 PM

Edit: IF you have already visited:
> AdminCP > Settings > Options > Plugin/Hook System

*And it is set to "Yes" i.e. active then you can try this query in phpmyadmin:

PHP Code:

UPDATE plugin SET active=

*This will enable ALL plugins (but before warned it will also enable ones you previously disabled/de-activated) using =0 instead of =1 disables them globally. (Reference Only).
**Not sure what a query is or how running certain SQL can harm your site or make unwanted changes? ALWAYS make a database backup then and you can't go too horribly wrong!

Now check... if it still shows the message (and your not on a cached page like Kevin mentioned) then Kevin is right, there is still disable_hooks code somewhere in a file, check config.php thoroughly.


All times are GMT. The time now is 07:02 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.02908 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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