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