LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 805 users online 186706 members 1145 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
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
10 online / 21 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 )


Guru

Patron
Support Leader
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


10:27 am on Oct. 29, 2007 | Joined Sep. 2006 | 497 Days Active
Join to learn more about Seanee England, United Kingdom | Straight Male | 10192 Posts | 20517 Points
Post from this position was omitted due to content violations
Post from this position was omitted due to content violations
derailedjet


Lovin' Life

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.

-------
© 2008 derailedjet. All Rights Reserved.
I'll give you 1,500 points for clickingthis link.

10:47 am on Oct. 29, 2007 | Joined Dec. 2005 | 804 Days Active
Join to learn more about derailedjet California, United States | Straight Male | 3845 Posts | 29975 Points
OnOne353


Soothsayer

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 | 133 Days Active
Join to learn more about OnOne353 England, United Kingdom | Straight Male | 4572 Posts | 10859 Points
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.

-------
READ THIS
MP3 UPLOADZZZ

1:13 pm on Oct. 29, 2007 | Joined Oct. 2006 | 478 Days Active
Join to learn more about The Dalai Lama Ontario, Canada | Straight Male | 8790 Posts | 12018 Points
allsmiles


Soothsayer

Ad Free
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 | 368 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 6477 Posts | 12483 Points
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 | 1535 Days Active
Join to learn more about WigAOK9 District Of Columbia, United States | Male | 9572 Posts | 44276 Points
OnOne353


Soothsayer

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 | 133 Days Active
Join to learn more about OnOne353 England, United Kingdom | Straight Male | 4572 Posts | 10859 Points
pleaseremove


Dairy Product Addict

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 | 1166 Days Active
Join to learn more about pleaseremove England, United Kingdom | Straight Male | 5616 Posts | 31135 Points
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