Login issues related to theme
-
Greetings,
I just moved a WordPress site using a custom theme from my testing server at IX Web Hosting (http://stratford-vna.markhannondesign.com/) to its new home at Hostgator (http://stratfordvna.org/). The site displays fine but I get an error message while trying to login.
I disabled all plugins with no remedy. I then disabled the custom theme and was able to login via the Twenty Thirteen theme.
These problems didn’t occur on my testing server and I was, and am still able to login there.
What should I be looking for to troubleshoot the theme issues?
-
What exactly is the error message?
Sorry, that would have been a good thing to include, right? See below:
“Warning: Cannot modify header information – headers already sent by (output started at /home4/username/public_html/wp-content/themes/stratford-vna/functions.php:2) in /home4/username/public_html/wp-includes/pluggable.php on line 875”
You can see it for yourself if you add the “/wp-admin” after the URL.
This might help
http://wordpress.org/support/topic/pluggablephp-error-3?replies=8
and
Come back if it doesn’t
Problem solved. I googled the first part of the error and found this page of the codex: http://codex.wordpress.org/FAQ_Troubleshooting
Scroll way down the page and I found this paragraph: “If the error message states: Warning: Cannot modify header information – headers already sent by (output started at /path/wp-admin/admin-header.php:8) in /path/wp-admin/post.php on line 569, then the problem is at line #8 of admin-header.php, not line #569 of post.php. In this scenario, line #569 of post.php is the victim. It is being affected by the excess whitespace at line #8 of admin-header.php.”
So basically the problem was on line 2 of my functions.php file. Taking a look, I saw that the opening “<?php” began on line 2. I deleted the return on line 1 so the opening <?php moved up. After a refresh, my login screen reappeared.
Whew! What a wild goose chase.
Thanks for the help.
No problem – glad you’re fixed !
- The topic ‘Login issues related to theme’ is closed to new replies.