Can't login to admin page! Warning:cannot modify header information - (4 posts)

  1. PinupParkingLot
    Posted 5 years ago #

    Not sure if you can tell what the issue might be from looking at my site to give me help fixing. The site is http://www.PinupParkingLot.com and it shows ?> in the top left corner of every page, has uncentered the site, says there is an error and won't let me even login to the admin panel for wordpress to look at what the issues are. When I try to login it shows
    Warning: Cannot modify header information - headers already sent by (output started at /home/pinuppar/public_html/wp-content/themes/inove/functions.php:437) in /home/pinuppar/public_html/wp-login.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at /home/pinuppar/public_html/wp-content/themes/inove/functions.php:437) in /home/pinuppar/public_html/wp-login.php on line 267

    as well as other lines on different pages. Is this an error in wordpress or in my php or at the host?

  2. alism
    Posted 5 years ago #

    Looks like there's something funky with your theme.

    FTP to your site, then rename the wp-content/themes/inove folder that it resides in to something else. If you've got the original files for that theme, you may be able to get away with just re-uploading it, but renaming *should* allow you access back into your admin panel.

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #


    but you will need to ftp into your server to rename that theme folder I'm guessing

  4. Shane G.
    Posted 5 years ago #


    t is usually due to spaces, new lines, or other garbage at opening/closing PHP file <?php tag or after a closing ?> tag in wp-config.php. It can be other file too so need to check error message as it may list file name where the error occurred.

    You can either upload error file from the backup or edit erroneous file. To edit the file one need to check below mentioned points:

    1. Download the file mentioned in the error message.
    2. Open that file in a plain text editor
    3. Check that the very first characters are <?php
    4. Check that the very last characters are ?>
    5. Place the cursor between the ? and >
    6. Now press the DELETE key on your computer and keep that key pressed for at least 15 seconds.
    7. Now type > and
    8. Save without pressing any other key at all.

    Refer this article

    That’s it!


    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic