Hi. I'm editing a mashup of mine where I fetch last.fm data through their API (xml).
For some reason, my localhost can't connect to the file: it gives the following error.
failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\Web\Apache\Apache2\htdocs\soctfm\user.php on line 35
and
I/O warning : failed to load external entity
The problem, is, is that it works fine on my main server. When I try to fetch the xml from my localhost it fails.
allow_url_fopen
is on for both servers. So it isn't that. It could be a PHP version error.
Using PHP 5.1.4 on my localhost.
Using PHP 5.2.5 on my main server.
I must add, which I think could be the problem, I'm working from my university internet. This means, we have to connect through a proxy to the internet.
You see, in the end, everything is supposed to work fine. The XML and code works perfectly on my main server, but manages to fail on my localhost, and I don't know why.
Is there any more debugging I can do? Could it be the proxy?