Re: Subject: xml trouble - Operator error : XML file not supplied
| From: | Neil Smith | Date: | Tue, 22 Jul 2003 22:15:57 +0000 |
| Subject: | Re: Subject: xml trouble - Operator error : XML file not supplied | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20866@lists.php.net to get a copy of this message | ||
1/ Is the XML file in the same directory as the script you are running ?
2/ You have not supplied your XML file, and a parse error is cause when an invalid XML file is read in.
3/ Do you have error_reporting(E_ALL) set in your script which would provide more diagnostic error information and an error code ?
Please supply the source file so we can verify it is valid and / or well formed.
Cheers - Neil.
At 21:16 22/07/2003 +0000, you wrote:
Message-ID: <20030722175446.70176.qmail@pb1.pair.com> To: php-windows@lists.php.net From: "BlackZ" <blackz@vpost.ru> Date: Wed, 23 Jul 2003 00:52:59 +0600 Subject: xml trouble under Apache MIME-Version: 1.0 Just a script: <? if(!$dom = domxml_open_file("test1.xml")) { echo "Error while parsing the document\n"; exit; } ....... ?> It running well in console mode. But when I'm point my browser to one it says: "Error while parsing the document". Apache log says: "Error parsing xml-file" 1. DOMXML enabled under PHPINFO. 2. path to xml file is correct Please help !!!