Bug #12783: xmlDocFile needs absolute path

From: Date: Thu, 16 Aug 2001 04:30:58 +0000
Subject: Bug #12783: xmlDocFile needs absolute path
Groups: php.dev 
Request: Send a blank email to php-dev+get-63374@lists.php.net to get a copy of this message
From: nick@linuxmail.org Operating system: WinME PHP version: 4.0.6 PHP Bug Type: DOM XML related Bug description: xmlDocFile needs absolute path When loading an XML file with xmlDocFile using a relative path (ie the XML is in the same dir as the script), I get: Fatal error: Call to a member function on a non-object in [script] at line [#] The line it points to is the first time I try to reference the object returned by xmlDocFile. If I change this to an absolute path, it works fine. I've verified that the cwd is what I think it is, so... any ideas? cheers, nick -- Edit bug report at: http://bugs.php.net/?id=12783&edit=1

« previous php.dev (#63374) next »