WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] pasted code in html, now cannot login. (5 posts)

  1. stressprofessionals
    Member
    Posted 2 years ago #

    I got some code from ThemePress to insert into html to help my site. I tried placing in an area in Theme Functions (php or css, I think) where they say to put any custom code 'below this line' It did not work, so I removed it.

    Now, When I try to log in, I get this on the top of the page that I login on:
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-login.php on line 349

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-login.php on line 361

    Once I type in my admin name and password, I get:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-login.php on line 349

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-login.php on line 361

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-includes/pluggable.php on line 669

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-includes/pluggable.php on line 670

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-includes/pluggable.php on line 671

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/86/8096986/html/wp-content/themes/Karma/functions.php:14) in /home/content/86/8096986/html/wp-includes/pluggable.php on line 866

    The only other piece of information is that stressprofessionals.com works fine, whereas http://WWW.stressprofessionals.com does not??

    I was able to get in to my FTP manager at my hosting account, and tried to reupload the theme, but nothing happened.

    Help??
    Jon

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

  3. stressprofessionals
    Member
    Posted 2 years ago #

    Oh, the code I tried to paste was:

    #main .main-area {background:#fff !important;}

    FYI,
    Thx,
    Jon

  4. stressprofessionals
    Member
    Posted 2 years ago #

    Thank you Esmi!! Reading it now.

  5. stressprofessionals
    Member
    Posted 2 years ago #

    Got it fixed. That page was exactly what I needed. The error code interpretation is what was needed. Simple fix.

    Jon

Topic Closed

This topic has been closed to new replies.

About this Topic