Where did you get this error? This might be caused by some plugin creating an error that should be handled by the local PEAR; but instead the server-global PEAR is tried to be used.
Best 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/
I got this error while displaying sidebar plugin. If I try to view my HTML-Source, the problem occured while trying to display FLICKR plugin. This plugin using PEAR.php but it's okay till yesterday.
<td id="serendipityRightSideBar" valign="top"><!-- serendipity_plugin_flickr Cache Miss --><br />
<b>Fatal error</b>: Cannot redeclare class pear in <b>/usr/lib/php/PEAR.php</b> on line <b>103</b><br />
Which version of serendipity_plugin_flickr are you using? Seems as if its generating an error, I'd like to try to fix it...
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/
I used serendipity_plugin_flickr.php,v 1.13 2006/12/01 09:00:54.
Last night (GMT+7, Jakarta-ID ) I tried to disabled this plugin but same problem occured at Serendipity Admin. The problem occured while display sidebar plugin which contains flickr plugin, so I can't disabled this plugin.
Is there any problem if I try to rename / remove physical folder ?
Hm, sadly the error message is quite generic, so I can't find out where exactly the plugin is creating the error.
First of all, you can remove the phyiscal folder and this will automatically disable the plugin on the frontend, to make your blog operatable again.
As for finding the error, this is pretty hard without being able to reproduce the error. Debugging breakpoints would need to be added to the plugin file after every few lines to see how far the plugin's execution goes before it fails with the error...
Best 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/
It's okay. I tried to remove physical folder and remove FLICKR plugin from my blog via Serendipity Admin and my blog operatable again, but without FLICKR
I'll be try another way to solve this problem. Installing FLICKR Plugin in another blog maybe can give a different information about the root of problem.