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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC