Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11413 > unrolled thread

curiosity mainly users online script

Started byrichard <noreply@example.com>
First post2013-10-12 14:32 -0400
Last post2013-10-13 19:05 -0400
Articles 5 — 5 participants

Back to article view | Back to comp.lang.php


Contents

  curiosity mainly users online script richard <noreply@example.com> - 2013-10-12 14:32 -0400
    Re: curiosity mainly users online script Scott Johnson <noonehome@chalupasworld.com> - 2013-10-12 11:55 -0700
    Re: curiosity mainly users online script Michael Lenz <unrest@nullvector.org> - 2013-10-12 18:59 +0000
    Re: curiosity mainly users online script Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-13 14:28 +0000
    Re: curiosity mainly users online script Twayne <nobody@spamcop.net> - 2013-10-13 19:05 -0400

#11413 — curiosity mainly users online script

Fromrichard <noreply@example.com>
Date2013-10-12 14:32 -0400
Subjectcuriosity mainly users online script
Message-ID<b82al5btfub9.l6lz6h7silym$.dlg@40tude.net>
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?

[toc] | [next] | [standalone]


#11414

FromScott Johnson <noonehome@chalupasworld.com>
Date2013-10-12 11:55 -0700
Message-ID<l3c5uh$r6p$1@dont-email.me>
In reply to#11413
On 10/12/2013 11:32 AM, 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?
>

You can correct it by taking up a new hobby, OR....every time (and this 
is not an overstatement) you come here, you have petty issues that you 
should be able to resolve by..

1. Listening and taking note to the solutions given to you.  (hint. this 
problem you are having has been explained to you a few times already prior).
2. Purchase a few PHP books and/or find some tutorial sites to learn 
just the basics (this will resolve you continuous = == issue).
3. Get yourself a decent text editor (this will solve your missing ';' 
and match up your brackets that you bring to us from time to time).
4. Stop being rude to those trying to help.

This is not an exhausted list but may help you in the future.
Scotty

[toc] | [prev] | [next] | [standalone]


#11415

FromMichael Lenz <unrest@nullvector.org>
Date2013-10-12 18:59 +0000
Message-ID<52599bf6$0$31517$afc38c87@news6.united-newsserver.de>
In reply to#11413
Am Sat, 12 Oct 2013 14:32:59 -0400 schrieb richard:

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

There's data being sent out before the (first) call to session_start().
It may even be a BOM.. You gotta investigate on your own.


Yours
Michael

[toc] | [prev] | [next] | [standalone]


#11418

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-13 14:28 +0000
Message-ID<l3ealm$ll$1@dont-email.me>
In reply to#11413
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@gmail.com

[toc] | [prev] | [next] | [standalone]


#11425

FromTwayne <nobody@spamcop.net>
Date2013-10-13 19:05 -0400
Message-ID<l3f90b$fp4$1@speranza.aioe.org>
In reply to#11413
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.


[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web