php.net |  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
 [2001-05-16 06:26 UTC] chregu at nomad dot ch
 $doc = xmldocfile("config.xml");

produces

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"?>
  <test>
        <one type="bla">bla</one>
        <two type="foo"/>
   </test>

if i make a sting out of it and then

$doc = xmldoc($xml);
it works

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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