Page 1 of 1
PEAR
Posted: Mon Jul 10, 2006 7:15 pm
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...

Re: PEAR
Posted: Tue Jul 11, 2006 10:07 am
by garvinhicking
Hi!
Uuuhm...could you explain more exactly what you mean, please?
Best regards,
Garvin
Posted: Sun Jul 16, 2006 2:00 am
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
Posted: Sun Jul 16, 2006 2:01 am
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';
Posted: Mon Jul 17, 2006 11:27 am
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