Re: [phplib] session.inc trouble From: Matthias Mohr (m.mohr <email protected>)
Date: 02/19/01

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

i guess the error_reporting level is too high. unfortunately not all parts
of phplib work fine when you let php put out *all* warnings and errors.

You can specify the error_reporting in various ways.
- - globally via php.ini,
  see: http://www.php.net/manual/en/configuration.php

- - if you use apache you can also specify it via httpd.conf or .htaccess
  (the second one, if you AllowOverride Options in your httpd.conf). I do not
  know how to treat this on other webservers.

- - at runtime you can set it via the error_reporing() function:
  see: http://www.php.net/manual/en/function.error-reporting.php

... and all these only affect your page if you also have turned display_errors
    on :)

of course you just cure the symptoms by that the warnings still "occur" in your
script, they just are not printed out. I dont know by heart if newer Version of
phplib still spit out these warnings in cookie-mode.

regards
messju mohr

On Mon, 19 Feb 2001, Jens Heneweer wrote:

> Hello!
>
> I am developping a tool with phplib 7.2b on a NT4-Server with
> php4.0.3pl1 installed. Well, actually, I develop them on a
> NT4-Workstation and there, everything works absolutely fine. But on the
> Server, I get several error messages from the session.inc:
>
> Warning: Undefined property: cookiename in [path]/session.inc on line 383
>
> Warning: Cannot add header information - headers already sent by (output
> started at [path]/session.inc:383) in [path]/session.inc on line 395
>
> Warning: Undefined variable: sid in [path]/session.inc on line 396
>
> Warning: Undefined property: cookiename in [path]/session.inc on line 94
>
> Warning: Cannot add header information - headers already sent by (output
> started at [path]/session.inc:383) in [path]/session.inc on line 120
>
> Warning: Cannot add header information - headers already sent by (output
> started at [path]/session.inc:383) in [path]/session.inc on line 404
>
>
> This seems kind of weired to me, since I don't get them at home. And I
> know for sure, that the include really is on the first line. So there is
> no html-output, that could have caused this.
> Perhaps I should add, that, since I don't have access to the
> php.ini-file (yet), I had to work with the phpdir in the prepend.php3.
>
> Is this a known problem? Can anybody help? It's quite urgent.
>
>
> Jens
>
>
>

- --
  Matthias Mohr <m.mohr <email protected>> (Software-Entwicklung)
  Internet Factory AG, Niederlassung Industriestr. 11, 26121 Oldenburg
  Tel: (+49) (0)441 - 77 92 10 Fax: (+49) (0)441 - 77 92 177
  http://www.internet-factory.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: public key @ http://lammfellpuschen.de/public.key

iD8DBQE6kWZbubKPpFA4n0URAhTTAJ41E2zPhz3gOG3+i7GHQv3wTh2RvACcCRIa
3MQt6BATWunxT1rgxRQMsUE=
=pFiP
-----END PGP SIGNATURE-----

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