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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chregu at nomad dot ch
New email:
PHP Version: OS:

 

 [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: Thu Apr 02 19:01:23 2020 UTC