Dang weather plug-in messed up my site...

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
ckeck
Regular
Posts: 18
Joined: Sun Jan 02, 2005 8:00 am
Location: Texas
Contact:

Dang weather plug-in messed up my site...

Post by ckeck »

Does anyone know how to fix this? Messed up my website and I'd rather not have to do a re-install...

http://www.chadkeck.com

When I go to the plug-in section I get flooded with this error and cannot delete it, otherwise I would have just done that.

Thanks
Chris
Regular
Posts: 49
Joined: Thu Dec 09, 2004 1:02 am
Location: Sydney, Australia
Contact:

Post by Chris »

Hi ckeck,

I ran into a similar problem with a different plugin. Please see this post on how to remove the plugin :

http://www.s9y.org/forums/viewtopic.php ... all+plugin

cheers,

Chris
ckeck
Regular
Posts: 18
Joined: Sun Jan 02, 2005 8:00 am
Location: Texas
Contact:

Post by ckeck »

Thanks, appreciate it
ckeck
Regular
Posts: 18
Joined: Sun Jan 02, 2005 8:00 am
Location: Texas
Contact:

Post by ckeck »

Has anyone else tried the weather plug-in? Wonder what caused the problem...I would really like to use it.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You need to install the PEAR Services/Weather modules in your webprovider. It's not bundled with the plugin at the moment, so it's documented in the README.txt ...

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/
Little Hamster
Regular
Posts: 62
Joined: Thu Oct 07, 2004 3:16 pm

Post by Little Hamster »

I've got my host to install the PEAR plugin, but it still doesn't work. (At least it doesn't show an error saying the PEAR weather isn't there). I meant to have a look at it, but i've got too much to do lately.
Last edited by Little Hamster on Wed Jan 05, 2005 10:34 am, edited 1 time in total.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Little Hamster,
What's it doing? Does it give you a specific error? Or does it just not show any output?
Little Hamster
Regular
Posts: 62
Joined: Thu Oct 07, 2004 3:16 pm

Post by Little Hamster »

After the PEAR::Weather is installed, there are no errors anymore on the blog, but nothing shows up on the sidebar either. The configure plugins page is messed up. It only display plugins before the weather one. Have to use phpMyAdmin to unselect it (I'm using 0.7.1).
Tom - Daai Tou Laam
Regular
Posts: 15
Joined: Thu Jan 06, 2005 1:34 am
Location: Hong Kong
Contact:

Not Inserting Into Config Table

Post by Tom - Daai Tou Laam »

I've had issues with the weather plugin as well. It inserts data in to the plugins table, but doesn't seem to insert base data in to the config table.

Using Postgresql as the backend, if that matters.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Tom,
When/where did you download the plugin (which version is it)?

Does it give you any error when you save the configuration?
Does it change the output of the blog at all?
Does it make it impossible to remove the plugin?
What type of environment are you running?

Matt
Tom - Daai Tou Laam
Regular
Posts: 15
Joined: Thu Jan 06, 2005 1:34 am
Location: Hong Kong
Contact:

Post by Tom - Daai Tou Laam »

I downloaded the plugin from the links on the s9y homepage for extra plugins.

From the file: serendipity_plugin_weather.php

* Version: $Id: serendipity_plugin_weather.php,v 1.7 2004/10/08 13:41:42 nohn Exp $

I've tried it with both serendipity 7.0RC1 and 7.1 (and I believe 6.8/6.9)
Postgresql 7.4.3 via unix socket instead of tcp/ip
php 4.3.10 (4.3.x previously)
Services_Weather 1.3.1

I've gotten the example php pages provided with Services_Weather to load and pull the appropriate information.

Everytime I try to load the Weather plugin via the admin page, the page reloads and truncates at the plugin prior to the new weather plugin. None of the actions below the plugins are loaded on the page.

At that point I can't remove the plugin via the standard plugin page, but can access the database via database methods and remove the entry from the plugin table.

As I mentioned above the plugin is registering in the plugin table, but I believe that there should be three entries put in to the config table as well. Is this correct? These aren't being registered. I haven't tried to load these in manually to see if that corrects the problem.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

I wonder if you are having the same problem Little Hamster reported here:http://www.s9y.info/forums/viewtopic.php?t=822

The summery of that post is that PEAR/Cache needs to be installed too...

The most recent CVS version works around this (and works with 0.7.1, at least).. you can download from http://cvs.sourceforge.net/viewcvs.py/p ... l_plugins/

Or you can remove the caching line as Little Hamster shows in the other thread...

Let me know if that helps/fixes it..

Matt
Tom - Daai Tou Laam
Regular
Posts: 15
Joined: Thu Jan 06, 2005 1:34 am
Location: Hong Kong
Contact:

Post by Tom - Daai Tou Laam »

I just noticed that other thread.

First, I have Pear::Cache installed. 1.5.4

Commenting out the line:

$status = $metar->setCache('file', array('cache_dir' => '/tmp'));

does in fact cure the problem on the admin page.
Tom - Daai Tou Laam
Regular
Posts: 15
Joined: Thu Jan 06, 2005 1:34 am
Location: Hong Kong
Contact:

Post by Tom - Daai Tou Laam »

And the plugin does work on the testbed page. Many kudos to Little Hamster.
Tom - Daai Tou Laam
Regular
Posts: 15
Joined: Thu Jan 06, 2005 1:34 am
Location: Hong Kong
Contact:

Post by Tom - Daai Tou Laam »

I've downloaded the CVS version. And it works. I've checked to have it cached and the plugin gives me an error notice saying Pear::Cache isn't installed. So it may be I've got it installed, but not installed correctly.

So kudos to mgroeninger on his work as well.
Post Reply