Page 1 of 1
Unable to do any pinging
Posted: Wed Sep 28, 2005 9:28 am
by leonard
Hi,
I'm using Serendipity 0.8.4, and downloaded the Announce entries plugin. I've set the plugin to ping the listed host. But when I create new entry all it says is "Your entry has been saved" and "Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while.."
I read in this forum that there should be some information regarding sending of ping etc.
I looked into the Apache log, but there's no error. Anyone has the same experience?
Re: Unable to do any pinging
Posted: Wed Sep 28, 2005 12:50 pm
by garvinhicking
Did you make sure the checkboxes at the bottom of the entry creation screen are checked?
If you get no output of which hosts were pinged this means your webserver is not able to connect to outgoing ressource because of firewall or PHP restrictions...
Regards,
Garvin
Re: Unable to do any pinging
Posted: Wed Sep 28, 2005 12:58 pm
by leonard
garvinhicking wrote:Did you make sure the checkboxes at the bottom of the entry creation screen are checked?
If you get no output of which hosts were pinged this means your webserver is not able to connect to outgoing ressource because of firewall or PHP restrictions...
Regards,
Garvin
Yes, I've checked all the checkboxes. Also, I've allowed port 80 from the server to the internet and personally tested it with a browser on the server.
I've turned on PHP display_errors = On, but there's no error. Is there any other way I can debug?
Re: Unable to do any pinging
Posted: Wed Sep 28, 2005 1:34 pm
by garvinhicking
Yes, you could edit the serendipity_event_weblog ping plugin.
Look for the code:
Now just insert a:
Code: Select all
echo "Weblog ping starting...<br />";
echo "Services: " . print_r($this->services, true) . "<br />";
echo "Announcement: " . print_r($serendipity['POST'], true) . "<br />";
after that line.
This should lead to some output. If it doesn't it means some other plugin before may be interfering; in that case please tell me which other event plugins you have installed.
Regards,
Garvin
Posted: Wed Sep 28, 2005 4:03 pm
by leonard
Sorry, I guess I don't know much about pinging. I only read through the code and understand that only new entries will be pinged to the servers.
Funny tho. Previously I tried to create a new entry and there's no pinging too. But it's working now. Thanks!