|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10899 xmldocfile produces fatal error
Submitted: 2001-05-16 06:26 UTC Modified: 2001-07-07 20:54 UTC
From: chregu at nomad dot ch Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.0 Latest CVS (2001-05-16) OS: linux 2.4.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
27 - 26 = ?
Subscribe to this entry?

 [2001-05-16 06:26 UTC] chregu at nomad dot ch
 $doc = xmldocfile("config.xml");


Fatal error: Underlying object missing in /usr/local/apache/htdocs/test/xml.php on line 13

in PHP-4.0.6RC1

config.xml is

<?xml version="1.0"?>
        <one type="bla">bla</one>
        <two type="foo"/>

if i make a sting out of it and then

$doc = xmldoc($xml);
it works


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-07 20:54 UTC]
Fixed in CVS. But I'm not too sure about the rest of the
extension. :)
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 05:01:23 2023 UTC