LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 380 users online 221746 members 516 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Autumnal
Music: Anything pretty much.
Mood: Sensitive
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
4 online / 18 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Php help please.
Replies: 9Last Post Oct. 30, 2007 7:47am by pleaseremove
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Seanee )


Omnipotent One

Patron
Reply
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

-------
Oh, yeahh.


10:27 am on Oct. 29, 2007 | Joined: Sep. 2006 | Days Active: 670
Join to learn more about Seanee England, United Kingdom | Male | Posts: 11,841 | Points: 19,076
LiveWire Humor
Post from this position was omitted due to content violations
Post from this position was omitted due to content violations
derailedjet


^^Proof I'm A Loser^^

Patron
Reply
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.

-------
Ș ‡ G
Mac OS X - My Anti-Virus.

10:47 am on Oct. 29, 2007 | Joined: Dec. 2005 | Days Active: 1,022
Join to learn more about derailedjet California, United States | Straight Male | Posts: 10,080 | Points: 37,315
OnOnE353


Swami

Patron
Reply
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.

Post edited at 10:50 am on Oct. 29, 2007 by OnOnE353

-------
[Insert witty, intelligent comment here]


10:48 am on Oct. 29, 2007 | Joined: Aug. 2007 | Days Active: 192
Join to learn more about OnOnE353 England, United Kingdom | Straight Male | Posts: 5,115 | Points: 25,062
The Dalai Lama


Soothsayer

Patron
Reply
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.

1:13 pm on Oct. 29, 2007 | Joined: Oct. 2006 | Days Active: 488
Join to learn more about The Dalai Lama Ontario, Canada | Straight Male | Posts: 8,781 | Points: 12,189
allsmiles


Enlightened One

Patron
Reply
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.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

1:40 pm on Oct. 29, 2007 | Joined: Aug. 2007 | Days Active: 565
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,804 | Points: 15,779
WigAOK9


Expired.

Patron
Support Leader
Tech Support Leader
Reply
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.

-------
Wool comes from cows!.TEST

2:36 pm on Oct. 29, 2007 | Joined: Nov. 2001 | Days Active: 1,670
Join to learn more about WigAOK9 District Of Columbia, United States | Male | Posts: 9,836 | Points: 49,943
OnOnE353


Swami

Patron
Reply
I told him to try moving the session_start(); just under <php? but it wasn't successful.

-------
[Insert witty, intelligent comment here]

3:26 pm on Oct. 29, 2007 | Joined: Aug. 2007 | Days Active: 192
Join to learn more about OnOnE353 England, United Kingdom | Straight Male | Posts: 5,115 | Points: 25,062
pleaseremove


meh

Patron
Tech Support Leader
Reply
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.

-------
Anyone who isn't confused really doesn't understand the situation
http://craigk.org/pictures/
Can you work out the code?

7:47 am on Oct. 30, 2007 | Joined: Feb. 2005 | Days Active: 1,299
Join to learn more about pleaseremove England, United Kingdom | Straight Male | Posts: 5,945 | Points: 37,468
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic