From: debug at libertas-solutions dot com Operating system: XP PHP version: 4.3.3 PHP Bug Type: Session related Bug description: user defined session handlers cropping output.
Description: ------------ I have create a series of functions to manage the session information via a database. but for some reason the end of the produced html is cropped dropping from 20768 btyes to 20399 bytes. and I get a internal server error if I attempt to use header redirects. I have tracked it down to my session functions I believe that on the header redirects the output is trying to remove the tail if the output which is empty and is causeing php to crash I have globals turned off and have initialised my software engine to be held in $GLOBALS["engine"] the session functions can then call the database functions of the engine through the $GLOBAL variable, which are able to talk with multiple database types. mySql , msSQL , ..... these functions work but will crop the ends of the files. Also it does not seen to crop the same amount on different pages but does seem to crop the same amount on the same page ie with a refresh on page one it will crop to the same place each time, as I am using templates and the footer of the web page is the same on all pages but the crop position is different on different URI's -- Edit bug report at http://bugs.php.net/?id=26107&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26107&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26107&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26107&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26107&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26107&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26107&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26107&r=support Expected behavior: http://bugs.php.net/fix.php?id=26107&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26107&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26107&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26107&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26107&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26107&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26107&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26107&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26107&r=float