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

 

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.