AlPHP Posted May 6, 2006 Share Posted May 6, 2006 I'm trying to run Service_weather package on my server. This package contants example "weather.com-extensive.php". It works on my home Windows PC.I've installed PEAR and all packages I need on my server. When I try to run weather.com-extensive.php, I don't get any error message. There is just empty page in my browser.I think code stops working here:[code]// Object initialization - error checking is important, because of// handling exceptions such as missing PEAR modules$weatherDotCom = &Services_Weather::service("WeatherDotCom", array("httpTimeout" => 30));if (Services_Weather::isError($weatherDotCom)) { die("Error: ".$weatherDotCom->getMessage()."\n");}[/code]The code works before these lines.Where is the problem? How to resolve it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.