WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] White screen on wp-admin (Logs reviewed) (8 posts)

  1. nathanernest
    Member
    Posted 6 months ago #

    I'm hoping somebody can help here.

    We have recently moved to a new host and also changed our domain name.

    I copied the contents of the original install to the new host as well as a SQL dump of all the WP tables. Then ran a find/replace on the wp_posts to correct any links pointing to the original domain name.

    I also updated the wp_options table (the 'home' and 'site' parameters) to point to the new domain.

    The site runs perfectly fine (which is great!) but we cannot log into the dashboard (some call this the white screen of death). I can get to the wp-login.php page but after logging in it redirects back to the white screen again.

    Also to point out, if I change the home and site in wp-options back to the original domain the login is successful but it logs back into the original domain.

    I have followed much advice such as removing white space in the plugins files etc but hasn't helped.

    I have looked in the error log and I see the following

    [11-Mar-2014 11:51:56 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:51:56 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:52:32 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:52:32 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:52:41 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:52:41 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:54:21 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:54:21 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-includes/pluggable.php on line 680
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-includes/pluggable.php on line 681
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-includes/pluggable.php on line 682
    [11-Mar-2014 11:54:26 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-includes/pluggable.php on line 881
    [11-Mar-2014 11:54:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:54:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 11:54:48 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 11:54:48 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
    [11-Mar-2014 12:07:42 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 362
    [11-Mar-2014 12:07:42 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/howtobp6/public_html/illusionbookstore/WP/wp-content/themes/magicboutique/functions.php:2) in /home/howtobp6/public_html/illusionbookstore/WP/wp-login.php on line 374
  2. keesiemeijer
    moderator
    Posted 6 months ago #

    See:
    https://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Check your theme's functions.php line 2

    Or try switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

  3. nathanernest
    Member
    Posted 6 months ago #

    Thanks for the reply! I've located that file and its an empty file so I'm sure its the cause of the problem. Given that it's empty, is there a solution to fix this?

  4. nathanernest
    Member
    Posted 6 months ago #

    I renamed the file and it fixed the problem!!! THANK YOU THANK YOU THANK YOU!!

  5. keesiemeijer
    moderator
    Posted 6 months ago #

    try:
    - re-uploading a new download of your theme, or switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

  6. keesiemeijer
    moderator
    Posted 6 months ago #

    I'm glad you've got it resolved :-)

  7. nathanernest
    Member
    Posted 6 months ago #

    Is there a way to make a site donation on your behalf?

  8. keesiemeijer
    moderator
    Posted 6 months ago #

    Thank you, but that's not needed. But you could always donate it to a charity of your choosing :)

Reply

You must log in to post.

About this Topic