Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
ping blogg.de with 4.0.2
I wanted to add blogg.de ping to 4.0.2 in txp_article.php
I used following code:
if ($prefs[‘ping_weblogsdotcom’]==1) { $wl_client = new IXR_Client(‘http://rpc.pingomatic.com/’); $wl_client->query(‘weblogUpdates.ping’, $prefs[‘sitename’], hu); $wl_client = new IXR_Client(‘http://xmlrpc.blogg.de’); $wl_client->query(‘weblogUpdates.ping’, $sitename, ‘http://’.$siteurl); }
which resulted in an error:
Notice: Undefined variable: sitename in /home/httpd/vhosts/hauptstadtblog.de/httpdocs/textpattern/include/txp_article.php on line 836
Notice: Undefined variable: siteurl in /home/httpd/vhosts/hauptstadtblog.de/httpdocs/textpattern/include/txp_article.php on line 836
I think this are the tags: $sitename, ‘http://’.$siteurl which cause the problem.
Any idea for workaround?
Offline
Pages: 1