Page 1 of 1
Beta2 broken, broke all my plugins
Posted: Sun Mar 26, 2006 4:01 am
by electroteque
Hi there i installed beta2 and it seems to have broken all my plugins, im going back into install them again , however i just got another error installing the flickr plugin
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /Volumes/FIREWIRE/www/dev/weblog/bundled-libs/PEAR.php:744) in /Volumes/FIREWIRE/www/classes/PEAR/PEAR.php on line 790
Ive said this before, can we have a setting to where our pear directory is, this bundled pear library is giving me the shits.
Posted: Sun Mar 26, 2006 4:04 am
by electroteque
now the admin is broken and wont list the plugins properly
Warning: serendipity_plugin_flickr::require_once(Flickr/API.php) [function.require-once]: failed to open stream: No such file or directory in /Volumes/FIREWIRE/www/dev/weblog/plugins/serendipity_plugin_flickr/serendipity_plugin_flickr.php on line 141
Fatal error: serendipity_plugin_flickr::require_once() [function.require]: Failed opening required 'Flickr/API.php'serendipity_plugin_flickr.php on line 141
this system is becoming famous for being broken, i thought i moved away from this from wordpress which was extremely buggy, come on !
Posted: Sun Mar 26, 2006 4:09 am
by electroteque
It looks like when I copied the files over it overwrote the plugins directory, it seems it is only distributed with a few plugins not even the xmlrpc is there.
Posted: Sun Mar 26, 2006 10:24 pm
by garvinhicking
I'm really sorry you face those problems. But if you search the forums, the only one having those problems is you
The problem really seems to be that you are including PEAR files independ of Serendipity. That is usually a problematic thing to do. You either need to use the Serendipity PEAR bundled directory and not including any PEAR files via your include_path before serendipity. Or you need to install all required PEAR plugins for serendipity and set the $serendipity['use_PEAR'] = true variable.
Somehow the include_path setting of your host does not check all the directories that contain s9y files, and the FLICKR api must be installed somewher in that path, as describe din the readme.txt file of the plugin...
So, I'm really sorry for your problems, but I'm not able to reproduce them here on my setup, which also has a local PEAR repository...
Best regards,
Garvin
Posted: Sun Mar 26, 2006 11:43 pm
by electroteque
I havent set any pear setting other than your general average default include path in php.ini which is pointing to my pear directory ? So this setting will force all plugins to use the non bundled pear classes ? Where do I set this ?
Posted: Mon Mar 27, 2006 12:59 pm
by garvinhicking
Hi!
You can set that $serendipity['use_PEAR'] setting either in your serendipity_config_local.inc.php (advised) or modify the serendipity_config.inc.php.
Could you tell me what your include_path looks like for the serendipity directory? For that you could go to the end of serendipity_config.inc.php and insert:
to see that setting. Whatever the reason, files of your global PEAR repository are included before Serendipity's...
Best regards,
Garvin