Jump to content

AlPHP

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

AlPHP's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.