liebgott Posted January 26, 2007 Share Posted January 26, 2007 Just tried installing the ulitmate seo's contrib and started getting a warning. I then erased all my revisions to the files I edited so that everything was back to its original form, restored my last saved database and the message still exits. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home2/pearlcom/public_html/catalog/includes/functions/html_output.php:451) in /home2/pearlcom/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/pearlcom/public_html/catalog/includes/functions/html_output.php:451) in /home2/pearlcom/public_html/catalog/includes/functions/sessions.php on line 97 Any ideas on what caused this or how to fix it would help. Thanks, TJ. Link to comment Share on other sites More sharing options...
Velveeta Posted January 26, 2007 Share Posted January 26, 2007 Just tried installing the ulitmate seo's contrib and started getting a warning. I then erased all my revisions to the files I edited so that everything was back to its original form, restored my last saved database and the message still exits.Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home2/pearlcom/public_html/catalog/includes/functions/html_output.php:451) in /home2/pearlcom/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/pearlcom/public_html/catalog/includes/functions/html_output.php:451) in /home2/pearlcom/public_html/catalog/includes/functions/sessions.php on line 97 Any ideas on what caused this or how to fix it would help. Thanks, TJ. What is line 451 of your catalog/includes/functions/html_output.php file? If it's the end of the file, after the close ?> tag, there may be an extra carriage return after that, which would generate output by sending 1 blank line to the browser, and would break this... I see this a lot in files, particularly things like application_top.php, language files, etc. that are required, especially if they're editted on different OS's, like FTP'ing the file down from Linux to Windows and then back, sometimes the line returns double up from Linux to Windows and you end up with a blank line at the end of a file you editted... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
wheeloftime Posted January 27, 2007 Share Posted January 27, 2007 What is line 451 of your catalog/includes/functions/html_output.php file? If it's the end of the file, after the close ?> tag, there may be an extra carriage return after that, which would generate output by sending 1 blank line to the browser, and would break this... I see this a lot in files, particularly things like application_top.php, language files, etc. that are required, especially if they're editted on different OS's, like FTP'ing the file down from Linux to Windows and then back, sometimes the line returns double up from Linux to Windows and you end up with a blank line at the end of a file you editted... Richard. It's more about using a descent text editor (Textpad, Editpad, Crimson Editor etc.). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.