Hi - I am trying to play around with the live journal update event plugin and I am getting a strange error. I enable and configure the plugin with no problem however when I go to add an entry I get the follow error at the bottom of the screen;
Fatal error: Cannot instantiate non-existent class: xml_rpc_value in /usr/www/users/phaet1/plugins/serendipity_event_ljupdate/serendipity_event_ljupdate.php on line 121
Am I missing something somewhere? Thanks
Sean
Live Journal Update Plugin
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Live Journal Update Plugin
The plugin relies on the PEAR XML classes, which are usually bundled within the serendipity bundled-libs directory. Unless you set $serendipity['use_PEAR'] = true in your configration, this should be existant and used.
Which s9y version are you using?
Regards,
Garvin
Which s9y version are you using?
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/
# 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/
-
Zhodd
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Can you check if bundled-libs/XML contains the "RPC.php" and "RPC/Server.php" files? Compare if their filesize is the same like in the Serendipity release file.
In the serendipity_event_ljupdate.php file is this code:
please change it to this:
Regards,
Garvin
In the serendipity_event_ljupdate.php file is this code:
Code: Select all
if (defined('S9Y_PEAR_PATH')) {
include_once(S9Y_PEAR_PATH . "XML/RPC.php");
}
Code: Select all
echo 'Checking XML-RPC...<br />';
if (defined('S9Y_PEAR_PATH')) {
echo 'S9Y_PEAR_PATH defined. Including ' . S9Y_PEAR_PATH . 'XML/RPC.php.<br />';
include_once(S9Y_PEAR_PATH . "XML/RPC.php");
}
echo 'S9Y_PEAR_PATH is not defined! That\'s bad.<br />';
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/
# 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/
-
Zhodd
Well I did figure out what the problem was after I tried to find the snippet of code you listed before. I managed to download an older tar ball of all the additional plugins so I was using version 1.0 of the LJ plugin rather than 1.5. Things seem to be much happier now.
Thanks again for the assistance
Thanks again for the assistance