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


Groups > comp.lang.php > #11425

Re: curiosity mainly users online script

From Twayne <nobody@spamcop.net>
Newsgroups comp.lang.php
Subject Re: curiosity mainly users online script
Date 2013-10-13 19:05 -0400
Organization Aioe.org NNTP Server
Message-ID <l3f90b$fp4$1@speranza.aioe.org> (permalink)
References <b82al5btfub9.l6lz6h7silym$.dlg@40tude.net>

Show all headers | View raw


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.


Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web