WordPress.org

Ready to get started?Download WordPress

Forums

warning when logging in (3 posts)

  1. da1bhidh
    Member
    Posted 4 years ago #

    When I try to log in as admin I get several of the following warnings and the site doesn't load:

    Warning: Cannot modify header information - headers already sent by (output started at /home2/digitcb1/public_html/dancindate/wordpress/wp-content/plugins/affiliate-link1/affli-config.php:133) in /home2/digitcb1/public_html/dancindate/wordpress/wp-login.php on line 290

  2. whooami
    Member
    Posted 4 years ago #

    use your ftp client.

    delete the directory: wp-content/plugins/affiliate-link1/ and all the files within it.

    you may want to find that plugins author's home page and let him or her know of the problem also as this is the SECOND time in as manay days as Ive seen this problem with that plugin -- so youre not alone and it IS a plugin issue.

    another option is to provide a link to the plugin so I can download it, and I'll fix the fcuked up file so that it can be used.,

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    It 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.

    One 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.

    That’s it!

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags