php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19007 Testkit: session tests should disable warnings
Submitted: 2002-08-20 19:41 UTC Modified: 2002-10-03 13:45 UTC
From: msopacua at idg dot nl Assigned:
Status: Closed Package: Session related
PHP Version: 4CVS-2002-08-20 OS: All
Private report: No CVE-ID: None
 [2002-08-20 19:41 UTC] msopacua at idg dot nl
Since the testkit uses php.ini-dist, which defines at least warning level, the session tests, should disable warnings.

There may be a larger problem, since I see /var/tmp/php_sessions being used, which is my php.ini setting i.s.o. php.ini-dist's /tmp.

--- ./ext/session/tests/001.exp Wed Aug 21 00:20:53 2002
+++ ./ext/session/tests/001.out Wed Aug 21 00:20:53 2002
@@ -1 +1,5 @@
+/home/mdev/cvs/php-4.2.3//ext/session/tests/phpt.028443(15) : Warning - Cannot send session cookie - headers a
lready sent
+/home/mdev/cvs/php-4.2.3//ext/session/tests/phpt.028443(15) : Warning - Cannot send session cache limiter - he
aders already sent
+/home/mdev/cvs/php-4.2.3//ext/session/tests/phpt.028443(15) : Warning - open(/var/tmp/php_sessions/sess_995415
a8b60b7a6b1d607eb258add0c9, O_RDWR) failed: No such file or directory (2)
+/home/mdev/cvs/php-4.2.3//ext/session/tests/phpt.028443(20) : Warning - Session object destruction failed
 baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"ye
s";s:4:"done";}}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-03 13:45 UTC] sas@php.net
Fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 02:01:31 2024 UTC