test_ivweather.php fails at loading

Discussion and questions about anything in the tech section, or any of the software or libraries I've released or have worked on.
fkeessen
Posts: 5
Joined: Thu Jun 19, 2003 11:37 pm
Location: The Netherlands

test_ivweather.php fails at loading

Postby fkeessen » Thu Jun 19, 2003 11:45 pm

Hi,

I want to use ivweather... But i'm doing some testing but when I'm trying to laod the test_ivweather.php it's generating the following error:

Warning: php_hostconnect: connect failed in c:\phpdev\www\iv\ivweather.class.php on line 190

Warning: fopen("http://weather.interceptvector.com/weather.xml?id=RUlYWDAwMTQ%3D", "rb") - Bad file descriptor in c:\phpdev\www\iv\ivweather.class.php on line 190
Problem: The site or URL was read, but contents were invalid.


It's running on php 4.2.3 and with register_globals = off.

Any help would be appriciated!

Regards,

Frank

Giz
Site Admin
Posts: 57
Joined: Wed May 07, 2003 6:19 pm

Postby Giz » Fri Jun 20, 2003 8:24 am

Frank,
It appears that you were not able to make a connection to the interceptvector server to retrieve the weather. One thing to check, make sure with phpinfo() or looking in your php.ini that you have allow_url_fopen=On. Without this setting the http wrapper called by fopen will not work.

Let me know if this is *not* your problem.

fkeessen
Posts: 5
Joined: Thu Jun 19, 2003 11:37 pm
Location: The Netherlands

Postby fkeessen » Sun Jun 22, 2003 7:53 am

Hi,

Thanks for the reply... It's now working... Asked the provider to do this setting allow_url_fopen=On. and it's working o.k.!

Thanks,

Frank :wink:


Return to “Tech”

Who is online

Users browsing this forum: No registered users and 1 guest