Re: [phplib] Warning: Undefined variable: sid in session.inc on line 393 From: Ian Wilson (wilt <email protected>)
Date: 02/19/01

I'm fairly certain this is caused by your php setup. You need to tweak the
error reporting level that php is using. Basically the sid variable is being
referenced without an initial value having been assigned to it.

I suppose really this should reported as a bug, as it's not good programming
style. I've noticed that this happens quite a bit in other phplib modules.

Check your php.ini file for the error reporting flags - these should be set
to :
error_reporting = E_ALL & ~E_NOTICE

Wilt.

www.phesis.org

Life is like a box of chocolates
Some b*****d's eaten mine

On Wednesday 07 February 2001 15:58, you wrote:
> Hi, has anybody recevied this error while trying to configure the
> index.php3 phplib distribution example before?? Something to do with the
> sid variable.
>
> Error:
> ................................................
> Warning: Undefined variable: sid in session.inc on line 393
>
> Warning: Cannot add header information - headers already sent by (output
> started at session.inc:393) in session.inc on line
> 117
> Warning: Cannot add header information - headers already sent by (output
> started at session.inc:393) in session.inc on line
> 401
> ................................................
>
> Thanks for any information
>
> Robb
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>