Weather plugin?

Creating and modifying plugins.
Post Reply
ckeck
Regular
Posts: 18
Joined: Sun Jan 02, 2005 8:00 am
Location: Texas
Contact:

Weather plugin?

Post by ckeck »

Does anyone know why my Weather Plugin comes up with this error?

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

I double checked everything and even re-installed the plug-in...
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

The weather plugin requires the additional install of the PEAR Weather Services package.

You can download the package directly from http://pear.php.net/package/Services_Weather, or you can use the pear repository scripts to download it if you have full access to your server.
Guest

Post by Guest »

mgroeninger wrote:The weather plugin requires the additional install of the PEAR Weather Services package.

You can download the package directly from http://pear.php.net/package/Services_Weather, or you can use the pear repository scripts to download it if you have full access to your server.
I did download it and installed it under the weather plugin directory...is that where it should go?
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

If you put it in the folder with the weather plugin I believe you should place it in a folder called "Services".

I haven't tested it in that configuration, however.

The better way to use PEAR is to use the manager....
Documentation to do this is located at http://pear.php.net/manual/en/installation.getting.php
Glenn

Where does services package install at?

Post by Glenn »

mgroeninger wrote:
The weather plugin requires the additional install of the PEAR Weather Services package.

You can download the package directly from http://pear.php.net/package/Services_Weather, or you can use the pear repository scripts to download it if you have full access to your server.
OK, I downloaded the package, but I'm on a shared host-
:?: How/where do I install this package, or do I need to have the hosting company install it for me?
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Weather or not...

Post by Wizard »

You know, I had the same trouble with that PEAR module. I ended up going to a script from weather.com that I added to a HTML nugget. Looks great. Check out my site for an example.
Wizard
My WeBlog
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

If you are on shared hosting the easiest way is to have your provider install it.

You should, however, be able to put all the files in the package under a folder called "Services" in the plugin directory... (I haven't tested this and don't really have any way to test this though)

I think the package download uses a different directory name, which includes the version number, so you will have to be careful of that...
Post Reply