From:             michaelwalser at gmx dot net
Operating system: Debian Lenny
PHP version:      5.3.0
PHP Bug Type:     Session related
Bug description:  Error pointing to http://php.net/main

Description:
------------
Hi,


this code says more than 1000 words ;)

Reproduce code:
---------------
<?php
session_start();

if(!isset($_SESSION['xml']))
{
        $xml = simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?>
<blah></blah>');
        $_SESSION['xml'] = $xml;

        echo "Session variable set... Please hit F5";
}
else
{
        $wtf = $_SESSION['xml'];
        if($wtf) echo 'lol'; // This triggers the error
}

?>

Actual result:
--------------
Warning: session_start() [function.session-start]: Node no longer exists
in /var/www/phperr.php on line 2

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/var/www/phperr.php:2) in /var/www/phperr.php on line 2

Warning: main() [function.main]: Node no longer exists in
/var/www/phperr.php on line 14

Warning: Unknown: Node no longer exists in Unknown on line 0

-- 
Edit bug report at http://bugs.php.net/?id=49275&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49275&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49275&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49275&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49275&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49275&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49275&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49275&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49275&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49275&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49275&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49275&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49275&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49275&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49275&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49275&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49275&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49275&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49275&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49275&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49275&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49275&r=mysqlcfg

Reply via email to