#35416 [NEW]: Error reading XML-File with domxml_open_file

From: Date: Sun, 27 Nov 2005 00:37:29 +0000
Subject: #35416 [NEW]: Error reading XML-File with domxml_open_file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89073@lists.php.net to get a copy of this message
From: pehewa at a1 dot net Operating system: Windows (W2K, XP) PHP version: 4.4.1 PHP Bug Type: DOM XML related Bug description: Error reading XML-File with domxml_open_file Description: ------------ System: Windows W2K or XP with Apache 2.0.54 My PHP-program exists for one year minimum without changes and runs at a provider (Version 4.4.1 - not under Windows) without errors. A valid XML-file "nav.xml" should be read. The error messages are after execution are: Warning: domxml_open_file(): I/O in C:\pathtophpfile on line x Warning: domxml_open_file(): warning in C:\pathtophpfile on line x Warning: domxml_open_file(): failed to load external entity "nav.xml" in C:\pathtophpfile on line x php.ini changes: precision = 14 output_buffering = 4096 allow_call_time_pass_reference = Off log_errors = On error_log = C:\php_error.log variables_order = "GPCS" register_argc_argv = Off magic_quotes_gpc = Off extension_dir = "./extensions" extension=php_domxml.dll extension=php_xslt.dll dbx.colnames_case = "lowercase" session.gc_divisor = 1000 session.bug_compat_42 = 0 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Loaded Modules out of the phpinfo(): core mod_win32 mpm_winnt http_core mod_so mod_access mod_actions mod_alias mod_asis mod_auth mod_autoindex mod_cgi mod_dav mod_dir mod_env mod_imap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_userdir mod_dav_svn mod_authz_svn sapi_apache2 Reproduce code: --------------- $navdoc = domxml_open_file("nav_xml"); File nav.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <navigation> <items> <item parent="00"> <change>15.10.2005</change> </item> </items> </navigation> Expected result: ---------------- Getting the correct result (XML-Document Object) as on other Systems with PHP 4.4.1 or on Windows-Systems with PHP 4.3.2. -- Edit bug report at http://bugs.php.net/?id=35416&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35416&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35416&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35416&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35416&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35416&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35416&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35416&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35416&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35416&r=support Expected behavior: http://bugs.php.net/fix.php?id=35416&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35416&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35416&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35416&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35416&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35416&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35416&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35416&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35416&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35416&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35416&r=mysqlcfg

« previous php.bugs (#89073) next »