php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32825 couldn't fetch DOMDocument out of a session
Submitted: 2005-04-25 14:03 UTC Modified: 2005-04-25 14:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: thecas at gmail dot com Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 5.0.4 OS: Linux 2.6.11
Private report: No CVE-ID: None
 [2005-04-25 14:03 UTC] thecas at gmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-25 14:55 UTC] rrichards@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 06:01:30 2024 UTC