Page 1 of 2
Error after Update: weblogping
Posted: Sun Dec 31, 2006 5:05 am
by mike
Hi,
I updated my 1.0.3 Blog to 1.1. Everything seems to be OK.
But if I want to save an entry I got the following error messages.
(The entry is saved an visible.)
Code: Select all
Warning: event_hook() [function.event-hook]: open_basedir restriction in effect. File(/usr/share/php/XML/RPC.php) is not within the allowed path(s): (/home/www/webxxx/html/:/home/www/webxxx/phptmp/:/home/www/webxxx/files/:/home/www/webxxx/atd/) in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook(XML/RPC.php) [function.event-hook]: failed to open stream: Operation not permitted in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook() [function.include]: Failed opening 'XML/RPC.php' for inclusion (include_path='.:/usr/share/php:/home/www/web858/html/blog/bundled-libs/:/home/www/web858/html/blog/bundled-libs/Smarty/libs/:/home/www/web858/html/blog/:') in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Sende XML-RPC ping zu rpc.pingomatic.com...
Fatal error: Cannot instantiate non-existent class: xml_rpc_value in /home/www/webxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 172
A second FTP - Upload doesn't change anything.
Ciao,
Mike
Posted: Sun Dec 31, 2006 5:11 am
by mike
Next Error:
If I open "Plugins verwalten" (?plugin admin) and then
"Hier klicken, um Ereignis-Plugin zu installieren" (? install event plugins)
I got this error:
Code: Select all
Warning: Invalid argument supplied for foreach() in /home/www/web858/html/blog/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php on line 154
Warning: Invalid argument supplied for foreach() in /home/www/web858/html/blog/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php on line 154
But only once ???
Posted: Sun Dec 31, 2006 11:13 am
by mike
I searched a little bit:
serendipity_event_weblogping.php on line 150
Code: Select all
include_once(S9Y_PEAR_PATH . "XML/RPC.php");
S9Y_PEAR_PATH is empty!
HTH,
Mike
Posted: Sun Dec 31, 2006 11:30 am
by Davy
I've got such errors, and the problem was the bundled-libs directory. Try to completely upload it again.
Posted: Sun Dec 31, 2006 10:06 pm
by mike
That did not help, the error is still there
I did the FTP-transfer (FileZilla) with "automatic" selection (binary/ascii). Are there any special suffix which I can check?
Ciao,
Mike
Posted: Tue Jan 02, 2007 11:51 am
by garvinhicking
Hi mike!
Your provider misconfigured your web presence in this case.
He set an basedir restriction, but advocates the server-installed "PEAR" libraries via include_path on his server.
Either he must include the PEAR path in your basedir-restriction, or he must remove PEAR frmo the include_path setting in PHP.ini.
You on your end can do the following thing:
Edit your serendipity_config_local.inc.php file (check the FAQ about 'fixperm' if you have no write access to that file) and insert:
This will instruct s9y to NOT use the advocated PEAR libraries on the server, but the ones provider with serendipity.
HTH,
Garvin
Posted: Sat Jan 06, 2007 7:47 pm
by mike
hi garvin,
thanks for your information. After some days in "the Eifel"

I read your answer now.
I asked my provider for the configuration ... (waiting for the answer)
I tried your "add-on" for the serendipity_config_local.inc.php, but nothing happens.
I download, edit and upload the file. After that I tried to write a new entry, but the same error occurred again.
Code: Select all
Warning: event_hook() [function.event-hook]: open_basedir restriction in effect. File(/usr/share/php/XML/RPC.php) is not within the allowed path(s): (/home/www/webxxx/html/:/home/www/webxxx/phptmp/:/home/www/webxxx/files/:/home/www/webxxx/atd/) in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook(XML/RPC.php) [function.event-hook]: failed to open stream: Operation not permitted in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook() [function.include]: Failed opening 'XML/RPC.php' for inclusion (include_path='.:/usr/share/php:/home/www/webxxx/html/blog/bundled-libs/:/home/www/webxxx/html/blog/bundled-libs/Smarty/libs/:/home/www/webxxx/html/blog/:') in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Sende XML-RPC ping zu rpc.pingomatic.com...
Fatal error: Cannot instantiate non-existent class: xml_rpc_value in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 172
Ciao,
Mike
Posted: Mon Jan 08, 2007 11:09 am
by garvinhicking
Hi!
Hm, still your local PEAR is included. This might be because your provider blocks the setting of the 'include_path' string.
Sadly in this case the only option you have is that your provides fixes his PEAR installation
Best regards,
Garvin
Posted: Tue Jan 09, 2007 7:02 pm
by mike
Hi Garvin,
next round
Question from my provider:
welche Änderungen wurden durch das Update durchgeführt?
Bitte erfragen Sie dies beim Support von Serendipity.
Could you help again, pease?
Thanks,
Mike
Posted: Tue Jan 09, 2007 8:07 pm
by garvinhicking
Hi!
Neue Serendipity versionen benutzen nun den vom Webserver beworbenen "include_path", damit lokal vorhandene PEAR-Versionen eingebunden werden.
Dein Webserver gibt einen include_path vor, der effektiv wegen open_basedir-Settings nicht genutzt werden kann. Da Serendipity aber in aktuellen Versionen lokalem PEAR höhere Priorität einräumt, kollidiert das.
Sprich, dein Webhoster soll entweder die lokale PEAR-Version löschen, oder er sollen open_basedir so setzen dass das lokale PEAR genutzt werden kann oder er soll include_path so setzen, dass das lokale PEAR nicht gesetzt wird.
(For english speakers: This is the same text that I already posted on Januar 2nd, 2007)
Viele Grüße,
Garvin
Posted: Tue Jan 09, 2007 9:35 pm
by mike
Thanks!
Posted: Wed Jan 10, 2007 10:10 am
by mike
The provider:
Der Pfad zu open_basedir wurde gesetzt.
But:
Warning: event_hook() [function.event-hook]: open_basedir restriction in effect. File(/usr/share/php/XML/RPC.php) is not within the allowed path(s): (.:/home/www/webxxx) in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook(XML/RPC.php) [function.event-hook]: failed to open stream: Operation not permitted in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Warning: event_hook() [function.include]: Failed opening 'XML/RPC.php' for inclusion (include_path='.:/usr/share/php:/home/www/webxxx/html/blog/bundled-libs/:/home/www/webxxx/html/blog/bundled-libs/Smarty/libs/:/home/www/webxxx/html/blog/:') in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 150
Sende XML-RPC ping zu rpc.pingomatic.com...
Fatal error: Cannot instantiate non-existent class: xml_rpc_value in /home/www/webxxx/html/blog/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 172
Can I check the path?
Anything else I can do? Upload again and start the update again?
Ciao,
Mike
Posted: Wed Jan 10, 2007 10:16 am
by garvinhicking
Hi!
Sadly what your provider said obviously can't be true, since it doesn't work yet
Maybe he didn't restart the webserver for the changes to take effect?
Best regards,
Garvin
Posted: Wed Jan 10, 2007 3:28 pm
by stm999999999
mike wrote:The provider:
Der Pfad zu open_basedir wurde gesetzt.
Did you have the output of php-info?
Posted: Thu Jan 11, 2007 3:01 am
by mike
stm999999999 wrote:Did you have the output of php-info?
Yes:
include_path
.:/usr/share/php (local and master value)
open_basedir
.:/home/www/webxxx (local value, master = no value)
Are the dot and the colon ok in front of the path?
Ciao,
Mike