PEAR

Discussion corner for Developers of Serendipity.
Post Reply
davidcrickett
Regular
Posts: 83
Joined: Sat Oct 01, 2005 10:25 am
Location: Denmark
Contact:

PEAR

Post by davidcrickett »

In the latest nightlies, plugins with the aquire PEAR thingy in line 3 gets the SAFE_MODE_ON finger - even if you have made the shift owner desktop trick. I had to comment that line out in the ping plugin for example.
My server don't have PEAR. No pears... No apples... just windows... :mrgreen:
read my serendipity blog
http://blangstrup.info
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: PEAR

Post by garvinhicking »

Hi!

Uuuhm...could you explain more exactly what you mean, please? :)

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/
davidcrickett
Regular
Posts: 83
Joined: Sat Oct 01, 2005 10:25 am
Location: Denmark
Contact:

Post by davidcrickett »

Code: Select all

Warning: main(): SAFE MODE Restriction in effect. The script whose uid/gid is 123395/123395 is not allowed to access /usr/local/lib/php/HTTP/Request.php owned by uid/gid 0/10 in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3

Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3

Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/usr/local/lib/php:/hsphere/local/home/davidbee/blangstrup.org/bundled-libs/:/hsphere/local/home/davidbee/blangstrup.org/bundled-libs/Smarty/libs/:/hsphere/local/home/davidbee/blangstrup.org/:') in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3
read my serendipity blog
http://blangstrup.info
davidcrickett
Regular
Posts: 83
Joined: Sat Oct 01, 2005 10:25 am
Location: Denmark
Contact:

Post by davidcrickett »

Code: Select all

Warning: main(): SAFE MODE Restriction in effect. The script whose uid/gid is 123395/123395 is not allowed to access /usr/local/lib/php/HTTP/Request.php owned by uid/gid 0/10 in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3

Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3

Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/usr/local/lib/php:/hsphere/local/home/davidbee/blangstrup.org/bundled-libs/:/hsphere/local/home/davidbee/blangstrup.org/bundled-libs/Smarty/libs/:/hsphere/local/home/davidbee/blangstrup.org/:') in /hsphere/local/home/davidbee/blangstrup.org/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 3
Line 3 is the require PEAR line. If I comment that out, the errors go away.

Code: Select all

require_once S9Y_PEAR_PATH . 'HTTP/Request.php';
read my serendipity blog
http://blangstrup.info
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You need to fix your file ownership! The SafeMode is interfering, so the uid/gid of your PHP PEAR files needs to be adjusted (/usr/local/lib/php).

Show that error to your provider and either ask him to remove PEAR from the PHP include_path, or to fixup the SafeMode problems.

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/
Post Reply