#32825 [NEW]: couldn't fetch DOMDocument out of a session
| From: | thecas at gmail dot com | Date: | Mon, 25 Apr 2005 12:03:14 +0000 |
| Subject: | #32825 [NEW]: couldn't fetch DOMDocument out of a session | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78163@lists.php.net to get a copy of this message | ||
From: thecas at gmail dot com
Operating system: Linux 2.6.11
PHP version: 5.0.4
PHP Bug Type: Session related
Bug description: couldn't fetch DOMDocument out of a session
Description:
------------
I'm trying to write a (XML object) DOMDocument to an session but when i
try to read it out on another page it can't read the DOMDocument.
I _can_ read the DOMDocument on the same page.
print_r(_SESSION); shows it still is a DOMDocument on all pages.
Reproduce code:
---------------
http://cas.pluxbox.org/bug/index.phps
Expected result:
----------------
The DOMDocument should be printed out as XML.
Actual result:
--------------
Fatal error: Call to a member function saveXML() on a non-object in
/var/www/cas.pluxbox.org/htdocs/bug/index.php on line 21
or on another system:
Warning: Couldn't fetch DOMDocument in
/var/www/cas.pluxbox.org/htdocs/bug/index.php on line 21
--
Edit bug report at http://bugs.php.net/?id=32825&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32825&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32825&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32825&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32825&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32825&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32825&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32825&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32825&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32825&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32825&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32825&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32825&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32825&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32825&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32825&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32825&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32825&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32825&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32825&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32825&r=mysqlcfg