• Resolved danslaforet

    (@danslaforet)


    Hi,

    I was using WP 3.3.1 and last night I did an automatic upgrade to 3.3.2
    I’ve also upgraded my plugins

    Since then I can’t login anymore I’m redirected to http://mydomain.com/wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1

    I’ve tried with multiple browsers, cleaned up my browsers’ cache without any success.

    I guess the problem is because of a plugin.

    I’d like to avoid desactivating all my plugins, therefore I went to phpmyadmin and looked at the wp_options table.

    Here is the serialized text I got:

    a:25:{i:0;s:18:"LinkMan/myrplm.php";i:1;s:43:"advanced-xml-reader/advanced-xml-reader.php";i:2;s:19:"akismet/akismet.php";i:3;s:43:"all-in-one-seo-pack/all_in_one_seo_pack.php";i:4;s:27:"backupbuddy/backupbuddy.php";i:5;s:21:"backwpup/backwpup.php";i:6;s:49:"conditional-shortcodes/conditional_shortcodes.php";i:7;s:55:"crazyegg-heatmap-tracking/crazyegg-heatmap-tracking.php";i:8;s:33:"duplicate-post/duplicate-post.php";i:9;s:37:"duplicate-widget/duplicate-widget.php";i:10;s:37:"facebook-members/facebook-members.php";i:11;s:50:"feedburner-setting/feedBurner-feedSmith-extend.php";i:12;s:50:"google-analytics-for-wordpress/googleanalytics.php";i:13;s:45:"limit-login-attempts/limit-login-attempts.php";i:14;s:19:"pippity/pippity.php";i:15;s:55:"pretty-sidebar-categories/pretty-sidebar-categories.php";i:16;s:27:"redirection/redirection.php";i:17;s:41:"shortcode-exec-php/shortcode-exec-php.php";i:18;s:35:"simply-show-ids/simply-show-ids.php";i:19;s:34:"true-google404/true-google-404.php";i:20;s:33:"w3-total-cache/w3-total-cache.php";i:21;s:24:"wordpress-seo/wp-seo.php";i:22;s:29:"wp-hide-post/wp-hide-post.php";i:23;s:19:"wpremote/plugin.php";i:24;s:19:"wptouch/wptouch.php";}

    Then I went to http://unserialize.net/ in order to unserialize and edit the text.

    But now I’m stuck, the unserialized result I got is

    array (
      0 => 'LinkMan/myrplm.php',
      1 => 'advanced-xml-reader/advanced-xml-reader.php',
      2 => 'akismet/akismet.php',
      3 => 'all-in-one-seo-pack/all_in_one_seo_pack.php',
      4 => 'backupbuddy/backupbuddy.php',
      5 => 'backwpup/backwpup.php',
      6 => 'conditional-shortcodes/conditional_shortcodes.php',
      7 => 'crazyegg-heatmap-tracking/crazyegg-heatmap-tracking.php',
      8 => 'duplicate-post/duplicate-post.php',
      9 => 'duplicate-widget/duplicate-widget.php',
      10 => 'facebook-members/facebook-members.php',
      11 => 'feedburner-setting/feedBurner-feedSmith-extend.php',
      12 => 'google-analytics-for-wordpress/googleanalytics.php',
      13 => 'limit-login-attempts/limit-login-attempts.php',
      14 => 'pippity/pippity.php',
      15 => 'pretty-sidebar-categories/pretty-sidebar-categories.php',
      16 => 'redirection/redirection.php',
      17 => 'shortcode-exec-php/shortcode-exec-php.php',
      18 => 'simply-show-ids/simply-show-ids.php',
      19 => 'true-google404/true-google-404.php',
      20 => 'w3-total-cache/w3-total-cache.php',
      21 => 'wordpress-seo/wp-seo.php',
      22 => 'wp-hide-post/wp-hide-post.php',
      23 => 'wpremote/plugin.php',
      24 => 'wptouch/wptouch.php',
    )

    How can I desactivate only one plugin from this list?
    Can I just delete one line and serialize the content again?

    Thanks for your help

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter danslaforet

    (@danslaforet)

    Hi,

    I’ve tried to desactivate all my plugins manually from the database and I still can’t login and redirected to the same page as before ( http://mydomain.com/wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1 )

    I really don’t know what to do now

    Try:
    – switching to the Twenty Eleven theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter danslaforet

    (@danslaforet)

    Hi,

    thanks for your help

    switching to the Twenty Eleven theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP

    I’ve done that but my homepage is blank now. I verified I got the Twenty Eleven folder in wp-content/themes.

    I switched back to my theme

    re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    I’ve done it as well, I still have the same issue.

    I’ve also followed all the steps here Login Trouble excepted this one “Site URL Redirecting” as the latest version of wp-login.php doesn’t contain this code

    // If someone has moved WordPress let's try to detect it
    //if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
     // update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );

    I’ve also tried to delete all the content of my .htaccess file but it didn’t change anything neither.

    I really don’t understand what’s going on…

    Have you moved WordPress at any time since it was first installed? Can you re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP or whatever file management application your host provides?
    http://wordpress.org/extend/themes/twentyeleven

    Thread Starter danslaforet

    (@danslaforet)

    Thanks for your suggestions esmi.

    Have you moved WordPress at any time since it was first installed?

    No I did not

    Can you re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP

    I did that but It didn’t change anything. If I choose Twenty Eleven I got a blank screen. If I go back to my initial theme and try to log in I can’t and I’am being redirected to http://mydomain.com/wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1

    It really doesn’t make sense to me.

    Have you reactivated any plugins?
    Can you post the contents of your root WordPress .htaccess file? If it’s longer than 10 lines, please use the WordPress pastebin.

    Thread Starter danslaforet

    (@danslaforet)

    Hi Esmi,

    Have you reactivated any plugins?

    I’ve renamed the plugin folder and manually deleted the content of active_plugins in the wp_options table. Unfortunately It doesn’t resolve the issue.

    I’ve used WordPress pastebin for the content of the .htaccess you can view it here

    Thanks

    Try renaming that .htaccess file to htaccess.txt. Then create a blank .htaccess file and just add:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thread Starter danslaforet

    (@danslaforet)

    Hi Esmi,

    I’ve tried this as well and unfortunately it doesn’t solve the issue neither.

    This is really becoming embarrassing, I can’t think of anything else… the weird (but good thing) is that the website is still online… but I feel very vulnerable at the moment by not being to log into my own site…

    What happens exactly when you try to login?

    Thread Starter danslaforet

    (@danslaforet)

    1- I go to http://www.mydomain.com/wp-login.php
    2- I Type my username/password
    3- I click submit
    4- The page is loading
    5- I’m redirected back to http://www.mydomain.com/wp-login.php
    6- no error message displayed

    I’ve done everything mentioned in this list Login Trouble

    The only thing I could think of is the installation of a plugin that I did yesterday. But how could this plugin impact the login process considering the fact that I’ve renamed my plugin folder.

    Could that be something in the database?

    Thanks

    There’s a small outside chance that it could still be causing a problem – believe it or not. Can you try resetting the plugins folder by PhpMyAdmin? In a couple of rare cases, this has been the only thing that has “killed off” an especially problematic plugin.

    Thread Starter danslaforet

    (@danslaforet)

    I’ve used phpMyAdmin to deactivate all plugins.

    In the table wp_options, under the option_name column (field) found the active_plugins row and changed the option_value field to: a:0:{}

    Unfortunately I still have the same issue.

    Do you have any recent database backups? (yes – we’re getting serious now)

    Thread Starter danslaforet

    (@danslaforet)

    yes I got one which is 5 days old. It’s a .sql file.

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Can't login since automatic upgrade’ is closed to new replies.