Forums

I can't login and I'm getting a warning message. (18 posts)

  1. fireflysd
    Member
    Posted 8 months ago #

    I'm not sure what happened, but I was playing around with my themes and now when I try to login to the back end of my blog, the wp-admin page, I don't even get the login screen and I get this warning:

    Warning: Cannot modify header information - headers already sent by (output started at /home/firefly/public_html/wp-content/themes/tropicala/functions.php:15) in /home/firefly/public_html/wp-includes/pluggable.php on line 934

    Help!

  2. geeksfolder
    Member
    Posted 8 months ago #

    It seems your functions.php might have an error.
    Maybe check functions.php and see the code at line 15
    what the issue would be.

    If you are not sure, you can post the code bit (line 15)
    and we can check what the issue would be.

  3. fireflysd
    Member
    Posted 8 months ago #

    Thanks for the response.

    I can't even login to the backend to see the code. I only get the error message when I try to go to the admin page.

    My page is http://TheMindfulFirefly.com. I can view the source on the browser from the page, but there is no functions.php in it.

    Is there any other way to get to the backend? Or can it be re-set somehow? I don't have any content on it so I'm not worried about losing anything.

  4. geeksfolder
    Member
    Posted 8 months ago #

    You can download your wordpress files through the ftp.

    When you login your server, go to
    "wp-content/themes/tropicala"
    and there should be the functions.php

    Download it and open up in the preferred text editor like Dreamweaver or Notepad and see the code (line 15).

  5. fireflysd
    Member
    Posted 8 months ago #

    Thanks again for the response.

    Sorry for my ignorance, but I don't know how to do that. How do I login my server and go to that file through the ftp? Do you mind giving me more detailed directions, please?

    Thank you!

  6. geeksfolder
    Member
    Posted 8 months ago #

    To access your server, you need a ftp software.
    FileZilla is a good one and free.
    http://filezilla-project.org/

    Once you install FileZilla, you need to know your
    - host address
    - username
    - password

    Your host address would be
    http://ftp.themindfulfirefly.com
    and username and password would be same as your cpanel login details.
    If you are not sure, you can ask your hosting company for the ftp login details.

    Once you login, go to
    www/wp-content/themes/tropicala
    and you should be able to find the functions.php.

    Let me know if you are not sure of anything :)

  7. fireflysd
    Member
    Posted 8 months ago #

    Thank you so much! I think I can handle that. I will try it and when I get to line 15 in functions.php I'll probably need help again.

  8. fireflysd
    Member
    Posted 8 months ago #

    Okay, I did the ftp thing and got a copy of the functions.php file, but I'm not sure what to do with it, and it doesn't look like there even is a line 15. What should I do next? Can I paste the code here for someone to look at for me?

  9. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Upload the new functions.php file to wp-content/themes/tropicala

  10. fireflysd
    Member
    Posted 8 months ago #

    I don't have a new functions.php file. I was just looking at the old one to see if there was an error (see original post about a warning) but I don't know what I'm looking at. Can I paste the code here for someone to look at who knows how to read it?

  11. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    I don't have a new functions.php file.

    Yet you previously said:

    I did the ftp thing and got a copy of the functions.php file

  12. fireflysd
    Member
    Posted 8 months ago #

    It's a copy of the old one. I didn't get a new one. It's the same one that I've been having problems with. Are you saying to upload the exact same one that was being used before?

  13. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Download a fresh copy of the tropicala theme, unpack the archive, extract the orignal functions.php file and upload it to wp-content/themes/tropicala.

  14. fireflysd
    Member
    Posted 8 months ago #

    Oh, got it! Okay thanks. I'll try that.

  15. fireflysd
    Member
    Posted 8 months ago #

    It looks like functions.php is not the problem. The warning message is

    Warning: Cannot modify header information - headers already sent by (output started at /home/firefly/public_html/wp-content/themes/tropicala/functions.php:15) in /home/firefly/public_html/wp-includes/pluggable.php on line 934

    I think the problem is in pluggable.php. Any suggestions on what to do with that?

  16. geeksfolder
    Member
    Posted 8 months ago #

    Hi fireflysd,

    To narrow down the issue, first check with functions.php and see if there's any space or new line at the top.
    If so, remove it.

    If it doesn't help, can you tell us what's in functions.php?

    Also if you have installed any plugins, go to plugins folder
    and remove any plugins you have installed and see if it works.
    (Please back up the plugins before removing).

  17. fonglh
    Member
    Posted 8 months ago #

    the problem is in functions.php, not pluggable.php. the faq might help.

    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

  18. fireflysd
    Member
    Posted 8 months ago #

    Yay! Thank you SO MUCH everyone. I finally got it to work! There were two empty lines at the end of the functions.php file.

Reply

You must log in to post.

About this Topic

Tags