LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 307 users online 225373 members 396 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
xPicturesOfYou3
♪Weeble, wobble, but they don't fall down.&...
Mood: Relaxed
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
2 online / 22 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic Php help please.
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Seanee Posted at 10:27 am on Oct. 29, 2007
WTF is this all about?

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sean/public_html/index.php:11) in /home/sean/public_html/users/include/session.php on line 46

Replies
pleaseremove Posted at 7:47 am on Oct. 30, 2007
Can you show us a copy of all of the file you are working on. Or at least all the lines up until where you start the session.
OnOnE353 Posted at 3:26 pm on Oct. 29, 2007
I told him to try moving the session_start(); just under <php? but it wasn't successful.
WigAOK9 Posted at 2:36 pm on Oct. 29, 2007
The last few replies are correct, it seems. You need to move the session coding back up to the top or you are trying to send the same session code twice and need to stop the second copy.
allsmiles Posted at 1:40 pm on Oct. 29, 2007
Just make session_start() the first command in your script. It's pointless having it anywhere else, really, and doing so would resolve thwe problem.
The Dalai Lama Posted at 1:13 pm on Oct. 29, 2007
Just means that you placed that header:location thing too far into the script.  The website had already sent to the information to the browser so it's not able to do it again.
OnOnE353 Posted at 10:48 am on Oct. 29, 2007
Remember that header() must be called before any actual output is sent,
either by normal HTML tags, blank lines in a file, or from PHP. It is a very
common error to read code with include(), or require(), functions, or
another file access function, and have spaces or empty lines that are output
before header() is called. The same problem exists when using a single
PHP/HTML file.

Let me know if that helps. And, PM me if you need anymore.

derailedjet Posted at 10:47 am on Oct. 29, 2007
I'm not terribly familiar with the inner workings of a PHP server, however, this is only a warning and not an error. It sounds like it was something that just came up because some built in thing called the session cache limiter could not start up. I would try refreshing the page a little while later and trying again.
alexadrianparra Posted at 10:29 am on Oct. 29, 2007
Post from this position was omitted due to content violations
bluestreak Posted at 10:28 am on Oct. 29, 2007
Post from this position was omitted due to content violations
All 9 previous replies displayed.