#22630 [Fbk->Csd]: session_start(): read returned less bytes than requested

From: Date: Wed, 12 Mar 2003 07:55:43 +0000
Subject: #22630 [Fbk->Csd]: session_start(): read returned less bytes than requested
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35416@lists.php.net to get a copy of this message
ID: 22630 User updated by: birkhofer at vseth dot ethz dot ch Reported By: birkhofer at vseth dot ethz dot ch -Status: Feedback +Status: Closed Bug Type: Session related Operating System: Linux-ppc (Debian) PHP Version: 4.3.1 New Comment: The bug does not appear in the latest CVS-stable version. Previous Comments: ------------------------------------------------------------------------ [2003-03-11 21:08:24] sniper@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#35416) next »