#22630 [Opn->Fbk]: session_start(): read returned less bytes than requested
| From: | sniper@php.net | Date: | Wed, 12 Mar 2003 03:08:25 +0000 |
| Subject: | #22630 [Opn->Fbk]: session_start(): read returned less bytes than requested | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35394@lists.php.net to get a copy of this message | ||
ID: 22630
Updated by: sniper@php.net
Reported By: birkhofer at vseth dot ethz dot ch
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux-ppc (Debian)
PHP Version: 4.3.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-03-11 02:50:22] birkhofer at vseth dot ethz dot ch
This bug exists in 4.3.0 and 4.3.1 but *not* in 4.2.3. I installed
4.2.3 over 4.3.1.
./configure --with-ldap --with-mysql --with-apxs
<?
session_start();
if ( session_is_registered( "foo" )) echo $_SESSION["foo"];
$_SESSION["foo"] = "bar";
?>
Problem: session_start() generates the error
session_start(): read returned less bytes than requested in
/var/www/session.php on line 2
the 2nd++ time the page is loaded.
- If no Session variable is set there's no error
- /tmp/sess_.. looks fine:
foo|s:3:"bar";
PHP is the only 'custom' software, all the other apps are part of
Debian stable. The box is a PowerMac (ppc).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22630&edit=1