Domxml installieren mit php4

Alles, was PHP betrifft, kann hier besprochen werden.

Domxml installieren mit php4

Postby crossgolfer » 13. April 2007 07:22

Hallo,
kann mir jemand bei der Installation von DomXML helfen? Ich habe Xampp installiert mit PHP-Version 4.4.5!

In der php.ini habe ich es aktiviert und wenn ich nun phpinfo aufrufe erschreint folgendes:
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20626
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26


Trotzdem erhalte ich folgende Fehlermeldung:
Warning: domxml_open_file() [function.domxml-open-file]: I/O in $pfad on line 23
Warning: domxml_open_file() [function.domxml-open-file]: warning : in $pfad on line 23
Warning: domxml_open_file() [function.domxml-open-file]: failed to load external entity "data.xml" in $pfad on line 23


In der Datei steht in Zeile 23 steht folgendes:
if (!$DOMxml = domxml_open_file('data.xml', DOMXML_LOAD_DONT_KEEP_BLANKS, $error) ) {
usw


Fehlen evtl irgendwo dll-Dateien oder so?


Viele Grüße
Maik
crossgolfer
 
Posts: 2
Joined: 13. April 2007 07:13

Postby Wiedmann » 13. April 2007 08:28

Fehlen evtl irgendwo dll-Dateien oder so?

Nein.

Warning: domxml_open_file() [function.domxml-open-file]: failed to load external entity "data.xml" in $pfad on line 23

Er scheint wohl die Datei "data.xml" nicht zu finden. Versuchs mal mit einem absoluten Pfad.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby crossgolfer » 13. April 2007 11:32

danke :)

hat funktioniert...
crossgolfer
 
Posts: 2
Joined: 13. April 2007 07:13


Return to PHP

Who is online

Users browsing this forum: No registered users and 18 guests