Home »
Imported messages »
comp.lang.php »
curiosity mainly users online script
curiosity mainly users online script [message #183218] |
Sat, 12 October 2013 18:32  |
Mr Oldies
Messages: 241 Registered: October 2013
Karma: 0
|
Senior Member |
|
|
http://www.phpeasystep.com/phptu/9.html
I tried out this script. Works fine by itself.
when I include it in the base file, I get a warning message.
using include "file.php";
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/home2/richbull/public_html/mroldies.net/200/audiox.php:6) in
/home2/richbull/public_html/mroldies.net/200/users.php on line 3
How is this corrected so there is no warning message?
|
|
|
|
|
Re: curiosity mainly users online script [message #183230 is a reply to message #183218] |
Sun, 13 October 2013 14:28   |
Denis McMahon
Messages: 634 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Sat, 12 Oct 2013 14:32:59 -0400, richard wrote:
> http://www.phpeasystep.com/phptu/9.html
> I tried out this script. Works fine by itself.
> when I include it in the base file, I get a warning message.
> using include "file.php";
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at
> /home2/richbull/public_html/mroldies.net/200/audiox.php:6) in
> /home2/richbull/public_html/mroldies.net/200/users.php on line 3
> How is this corrected so there is no warning message?
By fixing the error.
If you had been listening to and absorbing just 1% of all the help and
advice you've been given here over the years, you would already know what
causes this error and how to fix it.
If you don't listen to and absorb all the help and advice you're given
here, there's no point in giving it.
Therefore, either you already know how to fix this and don't need to be
told how to fix it, or there's no point telling you how to fix it because
you won't listen and absorb the help advice.
In either case, I see no reason to repeat help and advice that I and
others have given you before.
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|
Re: curiosity mainly users online script [message #183238 is a reply to message #183218] |
Sun, 13 October 2013 23:05  |
bill
Messages: 310 Registered: October 2010
Karma: 0
|
Senior Member |
|
|
On 2013-10-12 2:32 PM, richard wrote:
>
> http://www.phpeasystep.com/phptu/9.html
>
> I tried out this script. Works fine by itself.
> when I include it in the base file, I get a warning message.
> using include "file.php";
>
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at
> /home2/richbull/public_html/mroldies.net/200/audiox.php:6) in
> /home2/richbull/public_html/mroldies.net/200/users.php on line 3
>
> How is this corrected so there is no warning message?
>
Umm, don't send headers after they've already been sent? Read up on the
error; it'll tell you precisely what you need to know. The error even
tells you precisely where the error is.
For a short period of time, I thought you were simply being naive; now I
think it's more than that. Study more, every time you solve an issue,
make a note of it and record it where you can find it again.
|
|
|
Goto Forum:
Current Time: Sat Apr 05 16:02:28 GMT 2025
Total time taken to generate the page: 0.05917 seconds