#24131 [NEW]: session_start() warns about failed read
From: meat at reed dot edu
Operating system: Linux 2.2.16-22 SMP
PHP version: 4.3.2
PHP Bug Type: Session related
Bug description: session_start() warns about failed read
This problem first occurred for me on PHP 4.3.2, and
installing the CVS snapshot for 6-10-2003 did not help.
When calling session_start() for the first time, in a
script as simple as this one:
<?php
session_start();
?>
This warning appears in the browser:
Warning: session_start(): read failed: Value too large
for defined data type (75) in /usr/local/httpd/webapp/
html/tools/lib/std.php on line 19
Line 19 in the above script is simply
"session_start()". If I preface the call with an @ to
turn off warnings/errors, then the script works as
intended. If I remove the @ while the session is
active, the error is not given, but as soon as I log
out (i.e. call session_destroy()), it comes back.
--
Edit bug report at http://bugs.php.net/?id=24131&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24131&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24131&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24131&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24131&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24131&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24131&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24131&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24131&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24131&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24131&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24131&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24131&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24131&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24131&r=gnused
Thread (8 messages)
- meat at reed dot edu