Jump to content

Cannot send session cache limiter - headers already sent


matvespa

Recommended Posts

Hi. I encounter this problem and have looked into the web for solution. I receive answers like remove white spaces and the problem still presist even though i have removed all the white spaces. Could someone please help me with this problem?

 

Error Message:

Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/winecom1/public_html/siteb/Register.php:1) in /home/winecom1/public_html/siteb/Register.php on line 7

 

Here is the link where the problem is at: http://www.wine7000.com/siteb/Register.php

 

 

 

output started at /home/winecom1/public_html/siteb/Register.php:1 (line 1)

 

If there is nothing before the opening php tag in the file and there is no php code on the same line after the php tag that is producing output, then you most likely have a file that has been saved with the UTF-8 BOM (Byte Order Mark) characters. You need to save the file without the BOM characters or save it as an ANSI encoded file.

Except when the output is occurring before that point, as is the case in this thread.

 

It is always better to find and fix problems, than to try and hide them.

 

Output buffering should only be used when you want to buffer output, because it adds overhead to every page that uses it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.