Install PEAR Services/Weather module for weather plugin?

Creating and modifying plugins.
Post Reply
goya
Posts: 4
Joined: Mon Mar 05, 2007 9:57 am
Location: Hong Kong

Install PEAR Services/Weather module for weather plugin?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
goya
Posts: 4
Joined: Mon Mar 05, 2007 9:57 am
Location: Hong Kong

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
goya
Posts: 4
Joined: Mon Mar 05, 2007 9:57 am
Location: Hong Kong

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