WordPress.org

Ready to get started?Download WordPress

Forums

Plugins not activating (6 posts)

  1. the_ape
    Member
    Posted 8 years ago #

    If I add a plugin to the plugin folder then try to activate it from the plugins page, it does the post and the plugin activate 'flash' happens at the top, but the pluggin is not activated?

    Any ideas?

  2. chaaban
    Member
    Posted 8 years ago #

    it happen with all plugins or a specific one ?

  3. robin678
    Member
    Posted 8 years ago #

    Same thing, i know that Iimage browser doesnt activate. Can be found from
    http://fredfred.net/skriker/index.php/iimage-browser/

  4. kmakice
    Member
    Posted 8 years ago #

    I'm new to the plugin thing, but I was having no luck getting any plugins to activate. I would click the link next to one in the Plugins page, and I would get a notice saying it was activated ... but the link wouldn't change.

    After some debugging to trace the logic, the problem appears to be a lack of an exit after the header(Location:) call to the response page. I added:

    exit;

    immediately after each of the two redirect lines:

    header('Location: plugins.php?activate=true');
    header('Location: plugins.php?deactivate=true');

    in the activate/deactivate if-else statement, creating lines 17 and 24 respectively. For whatever reason, the fact that the rest of the page was running seemed to be interfering with the ability of the tool to reflect an active plugin. (In the database, it looks like it would retain only the most recent plugin activation attempt but it would not be reflected in the list of plugins displayed on the page.)

    I don't know what other effects this might have, but after day of struggling to get things working, the plugins are now responding.

  5. andykemp
    Member
    Posted 8 years ago #

    I am having the same problem on my fresh install of WP2... This fixed it!

  6. You can alternately just download the very lastest copy of plugins.php rather than editing the file:

    http://trac.wordpress.org/file/trunk/wp-admin/plugins.php?format=raw

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.