Page 1 of 1

Install PEAR Services/Weather module for weather plugin?

Posted: Mon Mar 12, 2007 6:47 am
by goya
I tried to include the Weather plugin in the blog. However, I got this error when the page is open:

Loading the PEAR Services/Weather module failed. Please insure that the module is installed.

I understand that the PEAR Sevice/Weather module should be installed, can anyone tell me how to install PEAR Services/Weather module. Thank you very much in advance.

Best Regards,
Goya

Re: Install PEAR Services/Weather module for weather plugin?

Posted: Mon Mar 12, 2007 9:32 am
by garvinhicking
Hi!

You can download that mdoule from pear.php.net and then put it into your bundled-libs directory (like bundled-libs/Services/Weather.php)

If you have a SSH account, you can use "Pear install Services_Weather"

HTH,
Garvin

Posted: Mon Mar 12, 2007 9:59 am
by goya
Hi Garvin,

I did put the Weather.php file under the bundled-libs/Services directory. But the same message still exists.

I do not have SSH account at my Linux hosting machine, is there any alternative way to install the service. Please kindly advise. Thank you.

Best Regards,
Goya

Posted: Mon Mar 12, 2007 10:57 am
by garvinhicking
Hi!

Okay, so you have a bundled-libs/Services/Weather.php file?

Then the plugin should work. Maybe you can edit your serendipity_plugin_weather.php file, search for

if(@include_once('Services/Weather.php')){

and remove the '@' in front of it to see if you get a php error?

Regards,
Garvin

Posted: Mon Mar 12, 2007 3:06 pm
by goya
Thanks Garvin,

I got the plugin runs now. I had a typo when creating the Services directory under bundled-libs. Anyway, thank you very much for your help. You're alway my idol.

Best Regards,
Goya