Page 1 of 1

serendipity_reference_autodiscover

Posted: Wed Nov 01, 2006 12:02 pm
by davidcrickett
Whenever I make a post with an url in it, this shit happens:

Code: Select all

• Checker http://www.dr.dk/p1/klubvaerelset/ for mulige trackbacks...
 Warning: serendipity_reference_autodiscover(): SAFE MODE Restriction in effect. The script whose uid/gid is 123395/123395 is not allowed to access /hsphere/shared/apache/libexec/php4ext/php//HTTP/Request.php owned by uid/gid 0/0 in /hsphere/local/home/davidbee/serendipity.blangstrup.org/include/functions_trackbacks.inc.php on line 208 Warning: serendipity_reference_autodiscover(HTTP/Request.php): failed to open stream: No such file or directory in /hsphere/local/home/davidbee/serendipity.blangstrup.org/include/functions_trackbacks.inc.php on line 208 Fatal error: serendipity_reference_autodiscover(): Failed opening required 'HTTP/Request.php' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/:/hsphere/local/home/davidbee/serendipity.blangstrup.org/bundled-libs/:/hsphere/local/home/davidbee/serendipity.blangstrup.org/bundled-libs/Smarty/libs/:/hsphere/local/home/davidbee/serendipity.blangstrup.org/:') in /hsphere/local/home/davidbee/serendipity.blangstrup.org/include/functions_trackbacks.inc.php on line 208
sry for cursing, but I have tried deleting and uploading the whole include folder to get rid of the safe_mode problem, but nothing works against this &%¤# error. ;)
What to do? I don't care if the links in my articles don't get serendipity_reference_autodiscover'ed, I just want no errors!

Re: serendipity_reference_autodiscover

Posted: Wed Nov 01, 2006 6:32 pm
by garvinhicking
Hi!

Your webserver is running in Safe_Mode, and your webserver is configured to be able to include the local "PEAR" repository.

However, both don't go well together, so your server administrator messed up.

To solve the error, you have two options:

1. Tell the provider to please either disable safe_mode, or to adjust the include_path to not point to files that you cannot include in Safe_Mode.

2. Edit your serendipity_config.inc.php and at the first line set $serendipity['use_PEAR'] = false;

To bypass the error, you can disable sending trackbacks alltogether, by following the FAQ here:

http://www.s9y.org/11.html#A30

Best regards,
Garvin

Posted: Wed Nov 01, 2006 9:53 pm
by davidcrickett
thank you! :) You are right, there is something about the PEAR that's bad, disabling it always helps. I have send the thread to my provider, hope they'll listen!