• I’ve just migrated to the Media Temple Grid Server, and I’m having trouble with the Google Sitemaps plugin (among other things!):

    http://dreamflesh.com/

    I can’t login to the admin to disable the plugin – I get the same error as the frontend, plus a “Cannot modify header information” error, and zero page content.

    Has anyone else encountered this? I’ve tried a few things but no luck so far…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Steve Taylor

    (@gyrus)

    Solved. Here’s the info for anyone needing to manually disable a plugin:

    1. Open the wp_options table with phpMyAdmin.
    2. Edit the row with ‘option_name’ set to ‘active_plugins’.
    3. The ‘option_value’ field contains a serialized array (an array formatted as text-only) of all active plugins. If it says this:
      a:3:{i:0;s:12:"exec-php.php";i:1;s:27:"mypageorder/mypageorder.php";i:2;s:11:"pxsmail.php";}
      The ‘a’ means there’s 3 elements in the array, each ‘i’ is the index number for each entry, and each ‘s’ is the number of characters in each entry. To deactivate mypageorder, change it to:
      a:2:{i:0;s:12:"exec-php.php";i:1;s:11:"pxsmail.php";}
      Decrease the ‘a’, remove the entry, and decrease the subsequent ‘i’s.
    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Deleting or renaming the plugin file works as well. The plugin loading code checks that a plugin exists before it attempts to use it. The downside to this simple method is that it does not modify the wp-options table as described above, so the plugin is still “active”, it’s just unable to find it. Renaming the plugin back to its original name will re-enable it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MT Grid Server – Google Sitemaps not working’ is closed to new replies.