Page 1 of 2

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

Posted: Sun Jan 02, 2005 10:13 am
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

Posted: Sun Jan 02, 2005 12:35 pm
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

Posted: Sun Jan 02, 2005 5:23 pm
by ckeck
Thanks, appreciate it

Posted: Sun Jan 02, 2005 6:57 pm
by ckeck
Has anyone else tried the weather plug-in? Wonder what caused the problem...I would really like to use it.

Posted: Sun Jan 02, 2005 8:12 pm
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

Posted: Tue Jan 04, 2005 10:50 am
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.

Posted: Tue Jan 04, 2005 7:45 pm
by mgroeninger
Little Hamster,
What's it doing? Does it give you a specific error? Or does it just not show any output?

Posted: Wed Jan 05, 2005 10:29 am
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).

Not Inserting Into Config Table

Posted: Thu Jan 06, 2005 1:40 am
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.

Posted: Thu Jan 06, 2005 9:56 am
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

Posted: Fri Jan 07, 2005 3:22 am
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.

Posted: Fri Jan 07, 2005 3:37 am
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

Posted: Fri Jan 07, 2005 3:44 am
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.

Posted: Fri Jan 07, 2005 3:49 am
by Tom - Daai Tou Laam
And the plugin does work on the testbed page. Many kudos to Little Hamster.

Posted: Fri Jan 07, 2005 4:24 am
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.