Wednesday 15 June 2011

php - How to solve this error? session_start() [function.session-start]: Cannot send session cache limiter -


I encountered the error above and hit, thinking that for 3 hours is there any way to solve this? ?

You are probably trying to start the session after the output has started. Setting up of HTTP headers in starting a session involves the header can be modified only before sending any output to the PHP script. Some PHP installations have output buffering enabled, so the session It is really possible to output the content before dealing with it - obviously the PHP engine will sort it automatically, it is disabled by default on your system php.ini or .htaccess < / Code> parameter in file Try setting. If this does not help, then review your code and check that if there is any HTML, email session_start () before calling. In addition, & lt ;? Php ? & Gt; Check the blank characters (new-line characters, tabs, locations) before and after the tag They all should go Finally, check your editor settings and make sure the Unicode Premier is off.


No comments:

Post a Comment