Support » Fixing WordPress » Website broke down after 3.9 update failed update, and redirect loop

  • Resolved Bakkie

    (@eeuweb)


    Okay so i tried to update a normal wordpress website to 3.9.. On a testwebsite with the same theme it worked out ok. But here after clicking on the automatic update I got a 404.

    The front of the website still works, I even still see the admintoolbar on top.. But whenever going to the backend it gives me a redirect (loop) error page.

    1. First I tried turning all the plugins off true filezilla.. Dit not work
    2. I tried to change the names of the theme and childtheme so it went back to the basic wp2014 theme.. Now the website just showed up blank on the front.. still same problem not able to log in.

    3. I tried deleting the theme and child theme to see if it turned back to the wp2014 theme.. still blank.

    4. panicking and going out for a smoke.

    5. Calm again 🙂 When checking some WP files it looks like it did install WP 3.9.. but maybe it did only halve and this is causing multiple conflicts?

    6. After uploading the theme and childtheme again the front of the website works again.. it looks like It never got turned off.. or it wont switch to the basic wp theme..

    I hope, well I dont hope other people have the same problem, that someone can help me

    Edit: website front

    Log in page of the website

    Edit 2: Not sure what to trie next.. Overwriting the whole wp install with 3.9 version or maybe the old one again?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    5. Calm again 🙂 When checking some WP files it looks like it did install WP 3.9.. but maybe it did only halve and this is causing multiple conflicts?

    Calm is good. 😉

    It maybe that something wasn’t updated or some files were skipped.

    First make sure you have a backup of the files and database as a just in case step.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Backups are your friend and it never hurts to have that safety net.

    Once that’s done check if any of these plugins are being used by your installation.

    https://wordpress.org/support/topic/wordpress-39-master-list?replies=4#post-5463816

    It doesn’t sound like you have one of those problems but checking doesn’t hurt. Then please try and perform a manual update.

    https://codex.wordpress.org/Updating_WordPress#Manual_Update

    You may need to deactivate your plugins using this method.

    Don’t skip the steps where you delete the old wp-includes and wp-admin directories (not wp-config.php and really, those backups are a good idea).

    See if that works out for you.

    Thread Starter Bakkie

    (@eeuweb)

    Yeah Calm is a good thing, especially if you want people to help you.. 😀

    I did the manual update.. After that went to /wp-admin and updated the database. Next I was back in the admin area and the website seemed to work fine. I thank you for that sir!

    However when I try to go to the login page on in another browser (or even on other computer) it still gives they redirect loop..

    Could anyone confirm that they also get the redirect loop? (see url in the first post

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    However when I try to go to the login page on in another browser (or even on other computer) it still gives they redirect loop..

    It could be a plugin or your .htaccess file. Try deactivating all of your plugins, rename your .htaccess file to .htaccess-old and reset your permalinks.

    Once that’s done clear your browser’s cache and cookies and try loging in again.

    Thread Starter Bakkie

    (@eeuweb)

    Thanks again for the quick response Jan!

    It seems where on the right track.. When I changed the .htacces the login screen showed up.. The only thing was it did with a lot of errors 😀 and the wordpress notifications that cookies where blocked due unexpected output. so I could not log in.

    I found out that the cause of this is this piece of code in the .htaccess

    <FilesMatch "\\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
    SetHandler x-httpd-php54
    #SetHandler application/x-httpd-php
    </FilesMatch>

    Before when I did not used that piece of code I could not upload files etc.. and I had to set all the file rights to 777 to work..

    See login with errors:

    Thread Starter Bakkie

    (@eeuweb)

    Oh just changed the permalinks to standard,

    with that piece of code in the .htaccess I get a 500 Internal Server Error on the login page…

    Without that piece of code the login page works but just like before gets errors and cookie blocked notification\

    This website server is mighty strange :S

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Website broke down after 3.9 update failed update, and redirect loop’ is closed to new replies.