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.
Post Reply
fkeessen
Posts: 5
Joined: Thu Jun 19, 2003 11:37 pm
Location: The Netherlands

test_ivweather.php fails at loading

Post by fkeessen »

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/weat ... WDAwMTQ%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

Post by Giz »

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

Post by fkeessen »

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:
Post Reply