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
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:
MUST BE VALID
Solve the problem:
17 + 28 = ?
Subscribe to this entry?

 
 [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: Fri Apr 19 17:01:30 2024 UTC