Problems with the Windows version of XAMPP, questions, comments, and anything related.


Postby 182x » 14. June 2007 19:18

Hey guys,

I downloaded Xampp to give it a try and so far it work great until a tested a script that involved uploading a file where i get the following error message...

Code: Select all
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\test\processUpload.php:4)

just wondering why I get this message now?

Posts: 10
Joined: 14. June 2007 19:14

Postby Wiedmann » 14. June 2007 20:44

http://de.php.net/manual/en/function.session-start.php wrote:Note: If you are using cookie-based sessions, you must call session_start() before anything is outputted to the browser.
AF Moderator
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Codesmith » 14. June 2007 21:37

"headers already sent"

The can only get sent once, and they get send as soon as you output anything (including a space or a newline). If the culprit is not in your main script it might be in an included file.

Anything outside the <?php ?> gets output!
Posts: 101
Joined: 31. March 2007 21:11

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests