Re: xmldoc
| From: | Mariano Guadagnini | Date: | Fri, 23 Jun 2006 19:12:56 +0000 |
| Subject: | Re: xmldoc | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238559@lists.php.net to get a copy of this message | ||
Brad Bonkoski wrote:
weetat wrote:-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/373 - Release Date: 22/06/2006Hi all, I have simple code below : It run ok in one of my test server (Red Hat Enterprise) , PHP 4.3.2. However in the one of production server which have same OS and PHP version , the code did not display "done parsing xml" in log file. It just display "starting parsing xml" only. I have check all setting in php.ini , however cannot found any different between 2 server. Anybody have any ideas what happening here ? Thanks <?phpWhat does xmldoc() do? Perhaps it reaches some critical error within that segment and causes the script to never complete? Maybe when parsing the xml, the function throws an exception. That happened to me with PHP 5 xml builtin support, which uses libxml to process xml's, it can be that your document is malformed, you could try with a php debugger (like zend debugger).$xmlfile = '/test/test.xml'; $_logger->logdebug("starting parsing xml"); $doc = xmldoc($xmlfile);$_logger->logdebug("done parsing xml");?>