Page 1 of 1

problem with serendipity_event_google_sitemap

Posted: Sat Mar 13, 2010 7:35 pm
by casper29
Hiya how are you? can you please assist me on a problem im having with the following plugin:

serendipity_event_google_sitemap

everytime i post an article i get the following messages:

Warning: Wrong parameter count for min() in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 364

Warning: Wrong parameter count for min() in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 365


or


Warning: gmstrftime() expects parameter 2 to be long, string given in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 432

Warning: gmstrftime() expects parameter 2 to be long, string given in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 433


i just cant seem to get this to work, plus the sitemap.xml.gz doesnt get generated properly, the files there in the blog folder /blog/sitemap.xml.gz. ill provide the exact output of the generation, its only few lines.


STARTS HERE:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" >
<url>
<loc></loc>
<lastmod>2010-03-13T17:56:48Z</lastmod>
<news:news>
<news:publication>
<news:name>my website title</news:name>
<news:language>en</news:language>
</news:publication>
<news:genres>Blog</news:genres>
<news:title></news:title>
<news:publication_date>2010-03-13T17:56:48Z</news:publication_date>
</news:news>
<priority>0.6</priority>
</url>
<url>
<loc>index.php?/archive</loc>
<lastmod>2010-03-13T17:56:48Z</lastmod>
<news:news>
<news:publication>
<news:name>my website title</news:name>
<news:language>en</news:language>
</news:publication>
<news:genres>Blog</news:genres>
<news:title></news:title>
<news:publication_date>2010-03-13T17:56:48Z</news:publication_date>
</news:news>
<priority>0.5</priority>
</url>
<url>
<loc>index.php?/feeds/index.rss</loc>
<priority>0.0</priority>
</url>
<url>
<loc>index.php?/feeds/index.rss1</loc>
<priority>0.0</priority>
</url>
<url>
<loc>index.php?/feeds/index.rss2</loc>
<priority>0.0</priority>
</url>
<url>
<loc>index.php?/feeds/atom.xml</loc>
<priority>0.0</priority>
</url>
</urlset>

SITEMAP ENDS HERE:

Can you please help

Thanx

Re: problem with serendipity_event_google_sitemap

Posted: Sat Mar 13, 2010 9:15 pm
by garvinhicking
Hi!

Are you using the most recetn version of the sitemap plugin?

Regards,
Garvin

Re: problem with serendipity_event_google_sitemap

Posted: Sun Mar 14, 2010 1:27 pm
by casper29
I downloaded this file:
http://spartacus.s9y.org/cvs/additional ... itemap.zip

from the following link below:
http://spartacus.s9y.org/index.php?mode ... s_event_en

I uploaded the files in the blog/plugins/serendipity_event_google_sitemap
i add the file via: Serendipity Administration Suite: Configure Plugins

i noticed its generated the sitemap correctly now, but i still get the following message:

Re: problem with serendipity_event_google_sitemap

Posted: Sun Mar 14, 2010 1:28 pm
by casper29
ill upload an image as the forum is preventing me from submiting the message as it contains more than 4 URLS

Re: problem with serendipity_event_google_sitemap

Posted: Sun Mar 14, 2010 1:52 pm
by casper29
ERROR MESSAGE STARTS:




HTTP_Request Object ( [_url] => Net_URL Object ( [url] => google .com/webmasters/tools/ping?sitemap=%2Fsitemap.xml.gz [protocol] => http [username] => [password] => [host] => google .com [port] => 80 [path] => /webmasters/tools/ping [querystring] => Array ( [sitemap] => %2Fsitemap.xml.gz ) [anchor] => [useBrackets] => 1 [user] => [pass] => ) [_method] => GET [_http] => 1.1 [_requestHeaders] => Array ( [host] => google .com [user-agent] => PEAR HTTP_Request class ( pear.php .net/ ) [connection] => close [accept-encoding] => gzip ) [_user] => [_pass] => [_sock] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 66.102.9.106 [port] => 80 [timeout] => [lineLength] => 2048 [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [_proxy_host] => [_proxy_port] => [_proxy_user] => [_proxy_pass] => [_postData] => Array ( ) [_body] => [_bodyDisallowed] => Array ( [0] => TRACE ) [_postFiles] => Array ( ) [_timeout] => [_response] => HTTP_Response Object ( [_sock] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 66.102.9.106 [port] => 80 [timeout] => [lineLength] => 2048 [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [_protocol] => HTTP/1.1 [_code] => 400 [_headers] => Array ( [content-type] => text/html; charset=UTF-8 [expires] => Sun, 14 Mar 2010 12:18:02 GMT [date] => Sun, 14 Mar 2010 12:18:02 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [server] => GSE [x-xss-protection] => 0 [transfer-encoding] => chunked [connection] => close ) [_cookies] => [_body] =>
Bad Request
Error 400
[_chunkLength] => 0 [_listeners] => Array ( ) ) [_allowRedirects] => [_maxRedirects] => 3 [_redirects] => 0 [_useBrackets] => 1 [_listeners] => Array ( ) [_saveBody] => 1 [_readTimeout] => [_socketOptions] => ) Could not report sitemap to google .com: google .com/webmasters/tools/ping?sitemap=%2Fsitemap .xml.gz


ERROR MESSAGE ENDERS HERE:

I Removed the http:// www. of the links above in order to post this message here, as im only limited to 4 URLs per post. i couldnt upload an image becasue the connection kept on reseting on the forum, i dont know why that was.

Re: problem with serendipity_event_google_sitemap

Posted: Sun Mar 14, 2010 2:21 pm
by casper29
I dont know if i have confiqured this plugin correctly, on the section where it says:

Ping URL-list
URLs for pingbacks (%s is replaced with the sitemap-URL, seperate multiple entries with ';' (semicolon), if you need to enter a ; use '%3B').


It contains 2 links which are:
http: // www .google.com/webmasters/tools/ping?sitemap=%s;http: //submissions.ask.com/ping?sitemap=%s

at the moment iv left them as they are.


Am i supposed to edit the following links so it looks like this e.g:
http://www .google.com/webmasters/tools/ping?sitemap=http://www.mydomain.co.uk/blog; http://submissions.ask.com/ping?sitemap ... co.uk/blog

I gave that a try and i dont get that 404 error message now, all im getting now is the following:

Warning: gmstrftime() expects parameter 2 to be long, string given in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 432

Warning: gmstrftime() expects parameter 2 to be long, string given in /public_html/blog/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 433

and the main thing the sitemap has not generated properly, its the same as what iv posted in post 1

Re: problem with serendipity_event_google_sitemap

Posted: Mon Mar 15, 2010 9:23 am
by garvinhicking
Hi!

Hm, this sounds as if something on the installation is not running properly. We can either try to debug this with some ping-pong where I tell you what to modify in the file, then you try it out, report me back, and I give you some more lines (which will take some time, I guess) or if you're willing to, you could give me access to your blog so that I could check the plugin working on your actual site and try to fix it. If you want to do that, please contact me via PM.

Regards,
Garvin

Re: problem with serendipity_event_google_sitemap

Posted: Mon Mar 15, 2010 10:55 pm
by casper29
Hiya garvin, iv just PM you the login details to my blog

Thankyou