Error message I don't understand

Having trouble installing serendipity?
Post Reply
Stuart Tannehill
Regular
Posts: 7
Joined: Sat Feb 21, 2004 10:00 am
Location: NE Ohio
Contact:

Error message I don't understand

Post by Stuart Tannehill »

Hi, I can understand the message but I don't understand why I suddenly started getting it. I attempted to implement the "weather" plugin and when I selected it, I started getting this message. I think the plugin uses PEAR, could that have anything to do with it? At this point I cannot add any plugins. I tried going back to an earlier setup and, even after replacing ALL of the files and quitting the broswer, I still get this message! Argh!!

Code: Select all

Fatal error: Call to a member function on a non-object in /Library/WebServer/Documents/sblog/serendipity_plugin_api.php on line 290
Here is line 290 by the way (it is part of the generate_plugins function):

Code: Select all

$plugin->generate_content($title);
If you want to see how it munges my page go here:
http://stuart.homeunix.com/sblog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Error message I don't understand

Post by garvinhicking »

Hi Stuart!

Hm, this external plugin doesn't make use of advanced error reporting messaging (as its still in beta, I guess - haven't used it yet).

There are two steps you can do:

1. Fix the problem by browsing your serendipity_plugins SQL table (with phpMyAdmin or something similar) and delete the entry with the contents 'serendipity_plugin_weather').

2. Install PEAR on your webserver and get the WEATHER PEAR module installed, and pay attention that your include_dir also points to the PEAR-directory.

Sorry for that inconvenience, but this is just a similar problem like you reported earlier: Plugins with non-advanced error checks can create errors to pull serendipity down. We're working on that. :-)
# 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/
Post Reply