Page 1 of 1
Error
Posted: Sun Jan 08, 2006 8:38 pm
by thcc2
My php page gives me the following error
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /apa/htdoc/sch/seach.php:7) in /apa/htdoc/sch/lib.php on line 3
can someone please tell me why?
thks in advance
Posted: Sun Jan 08, 2006 8:41 pm
by timvw
You could start searching the web (or this forum) for other posts about this error...
It has been handled so many times that i seriously doubt that you've done this already... There is a sticky thread in this forum with guidelines for posting.. Might want to read
this first.
Posted: Sun Jan 08, 2006 10:06 pm
by thcc2
timvw wrote:You could start searching the web (or this forum) for other posts about this error...
It has been handled so many times that i seriously doubt that you've done this already... There is a sticky thread in this forum with guidelines for posting.. Might want to read
this first.
Thks for ur reply, i did do a search before i post this , but i still can't get the idea
Posted: Sun Jan 08, 2006 10:16 pm
by feyd
hint: search for "headers already sent"
Posted: Sun Jan 08, 2006 10:23 pm
by thcc2
feyd wrote:hint: search for "headers already sent"
I still can't get what i want.
Posted: Sun Jan 08, 2006 10:39 pm
by mickd
i just went to search, typed in headers already sent, changed forum to php - code and got this...
viewtopic.php?t=42518&highlight=headers+already+sent
EDIT: just to let you know, session_start has to be started before any output normally at the very top of the script.
session_start
Posted: Sun Jan 08, 2006 11:33 pm
by thcc2
this is the info that i'm looking for
session_start has to be started before any output normally at the very top of the script.
Thks
mickd pls help on my question at
viewtopic.php?p=228599#228599