Announcement

Collapse
No announcement yet.

urgent help, how to stop plugins without admincp?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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

  • #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


    • #3
      thanks

      Comment

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