urgent help, how to stop plugins without admincp?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashy
    Member
    • Sep 2001
    • 77

    [Forum] urgent help, how to stop plugins without admincp?

    Hi

    I was doing a plugin. and used exit php function. hooked to global init start.

    this stopped me to get into admincp, as when you login to admincp, it redirect to login.php?do=login and triggered my plugin, the exit function stop all process.

    is there any way to walk arround it or stop all plugins.

    I tried to changed the table 'plugin' field active to 0, but it seems this will not stop that plugin.

    Eric
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    In your config.php file, add

    define("DISABLE_HOOKS", true);

    Save it and upload it.

    Also in the future please avoid directly editing the database, it can have very adverse sideeffects.

    Comment

    • ashy
      Member
      • Sep 2001
      • 77

      #3
      thanks

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...