Dom object Clean directadmin install

haringsrob

Verified User
Joined
Sep 30, 2011
Messages
22
Hi

I have made a script few months ago on another host then my own.

Now i have placed it over but it seems like its not working on mine.

Code:
Warning: DOMDocument::load(http://www.compuonline.be/iadmin/easycom/test.php?request=ET.BB3RE.D03) [domdocument.load]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/admin/domains/compuonline.be/public_html/iadmin/easycom/icecat.php on line 122

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "http://www.compuonline.be/iadmin/easycom/test.php?request=ET.BB3RE.D03" in /home/admin/domains/compuonline.be/public_html/iadmin/easycom/icecat.php on line 122

Line 120-123
Code:
	$url='http://www.compuonline.be/iadmin/easycom/test.php?request='.$type['type'];
	$doc = new DOMDocument();
	$doc->load($url);
	$art = $doc->getElementsByTagName( "art" );

I thinks its some setting somewhere but idk what.

I can access
http://www.compuonline.be/iadmin/easycom/test.php?request=ET.BB3RE.D03
from my browser (is an empty xml file)

Anyone knows what setting i have to change?
 
With my previous hosting i had directadmin to, there the script was working.

Now on my own directadmin hosting it is not?

Friendly greetings
 
You might need to compare PHP settings and a list of loaded modules on both servers, I guess, some necessary PHP extensions are not enabled.
 
Back
Top