• After upgrading to WordPress 4.5.3 I have experienced some problems.

    The problems are almost all solved (after a reinstall of WordPress installation and database backup, and great support from your forum to get the Themia Lite child theme up working again).

    But when I log out from the admin panel and try to login again, the domain.se/wp-admin and domain.se/login are blank or turns into a 404-page.

    To see what worked and not worked:

    1. I made backups of all themes including Themia Lite and Themia Lite child via the ftp-server.
    2. I then deleted the Themia Lite and the child theme (ftp).
    3. It now proved that I could login to the admin panel.
    4. I activated one of the standard themes (Twenty Eleven) via the admin panel.
    5. I logged out and could log in again. So far so good.
    5 b. I reinstalled Themia Lite (ftp), activated it via the admin panel, and logged out.
    5 c. I could log in again. So far so good.
    6. I reinstalled the Themia Lite child theme (ftp), activated it via the admin panel, and logged out.
    7. Now, it’s no longer possible to log in to the admin panel.
    8. I then named the “plugins” folder to “plugins-old” (via ftp). No change, i e the login page did not show.
    9. I then renamed the “plugins-old” folder to “plugins” again. But still no success.

    So it would be much appreciated if you could help me see what might be the issue here. Many thanks in advance!

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It would seem, from items 6 on, that the issue is that something’s broken in your child theme.

    Please enable WP_DEBUG and WP_DEBUG_LOG, then look at wp-content/debug.log for errors when you try to login. Let us know what you find.

    Who created the child theme?

    Thread Starter Cebetyr

    (@cebetyr)

    Hi, many thank you for your prompt reply and for the advice.

    I get the following warning when trying to access the avenki.se/wp-admin page (after having changed the wp-config.php-file):

    Warning: Cannot modify header information – headers already sent by (output started at /customers/3/a/2/avenki.se/httpd.www/wp-content/themes/themia-lite-child/functions.php:2) in /customers/3/a/2/avenki.se/httpd.www/wp-includes/pluggable.php on line 1167.

    I got good help from a forum support member, who helped me to rewrite the child theme after the upgrading (and with it the website “crash”).

    I’m afraid I don’t know how to proceed. Any suggestion? 🙂

    Best regards

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Look for empty stuff before the <?php at the top of the file (functions.php). If there’s a ?> at the bottom, remove it.

    Thread Starter Cebetyr

    (@cebetyr)

    That did the trick! Great, thank you so very much!

    1. There were a blank row above the “<?php” at the top (my mistake).
    2. And I had a “?>” at the end, which I thought was necessary in order to close the .php-file.

    But I removed both according to your instructions. Et voilà!

    You made my day! 😀

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot log in to WordPress admin panel (the login page does not show)’ is closed to new replies.