GetSimple Support Forum
A error message generating the SiteMap - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: A error message generating the SiteMap (/showthread.php?tid=5160)

Pages: 1 2


A error message generating the SiteMap - D.O. - 2013-09-13

Generating the SiteMap it shows this message:

"Sitemap Created, however there was an error pinging one or more of the search engines"

How I can fix it?


RE: A error message generating the SiteMap - hameau - 2013-09-14

(2013-09-13, 05:25:43)D.O. Wrote: How I can fix it?
The default setting (since v3.1, I think) is not to ping search engines. The error message is a bit misleading, because it suggests that something has gone wrong (but the notification is green, not red).

If you want to ping search engines when you generate a sitemap, comment (disable) the following line in gsconfig.php:
Code:
define('GSDONOTPING', 1);

If you do not want to ping the search engines, do not change the line in gsconfig.php, just ignore the message. Check that the sitemap is being generated correctly.


RE: A error message generating the SiteMap - D.O. - 2013-09-14

Hi Hameau,
thanks for replying me.
Then the written "Sitemap Created, however there was an error pinging one or more of the search engines" is green so I think it is not so serious.

Anyway, turning off GSDONOTPING, it says: "Sitemap Created! We also successfully pinged 4 search engines of the update".

I think it's fixed now. Thanks!


RE: A error message generating the SiteMap - shawn_a - 2013-09-17

Well that makes no sense.

GSDONOTPING gives an error about pinging ?


RE: A error message generating the SiteMap - shawn_a - 2013-09-18

How are you generating sitemap ? This might be a plugin issue, since ifdonotping is defined this is impossible.


RE: A error message generating the SiteMap - hameau - 2013-09-18

(2013-09-17, 23:05:06)shawn_a Wrote: Well that makes no sense.

GSDONOTPING gives an error about pinging ?

Yes, it always has (since the advent of GSDONOTPING).

Sorry, I see I had it in my notes to report it at the time, but it must have slipped through the cracks. I'm just testing now to see if it's plugin related.

Edit: Yes, it's down to mvlcek's I18N (specifically, I18N Base), which takes control of the sitemap generation. With no plugins, it's all good.


RE: A error message generating the SiteMap - D.O. - 2013-09-19

Mystery resolved!


RE: A error message generating the SiteMap - D.O. - 2013-09-22

@ Hameau: Thanks for your precious Help!

@ Shawn: I suppose that search engines index the content of my pages anyway 'cause Google shows my site at the top. I think Hameau is right about it can depend on I18N plugin because the button "Generate Sitemap" is linked to this url http://www.mysite.com/admin/load.php?id=i18n_base&sitemap

After I followed the Hameau's tip, the message is now "Sitemap Created! We also successfully pinged 4 search engines of the update" and this is my gsconfig...

PHP Code:
# Ping search engines upon sitemap generation?
#define('GSDONOTPING', 1);

# Disable Sitemap generation and menu items
# define('GSNOSITEMAP',true); 



RE: A error message generating the SiteMap - shawn_a - 2013-09-23

So my guess is that plugin is not compatible with Gsdonotping


RE: A error message generating the SiteMap - D.O. - 2013-09-23

It seems so!


RE: A error message generating the SiteMap - Hypertexter - 2014-10-14

Hello,

I get an error message in red when I want to create (with I18N) or view (without I18N) my sitemap:

"Fehler: Die Sitemap wurde erstellt, jedoch trat ein Fehler beim Benachrichtigen der Suchmaschinen auf"

I use GS 3.3.3 and it seems it has nothing to do with the I18N plugin, since it also occurs with deactivated plugins.


RE: A error message generating the SiteMap - shawn_a - 2014-10-14

I18n has base functionality that can remain active even with its plugins disabled.
And I cannot read German, what is the i18n token for that message?
Same as above?


RE: A error message generating the SiteMap - Hypertexter - 2014-10-14

Oh.

Yes, it means the same like "Sitemap Created, however there was an error pinging one or more of the search engines"

So there is no way to ping them when I18N Base is installed?


RE: A error message generating the SiteMap - Hypertexter - 2014-10-14

It must be something else. I renamed the i18n-base.php so that it disappeard from the plugins tab.

And still no ping. It just says: Sitemap actualized, nothing with search engines...


RE: A error message generating the SiteMap - shawn_a - 2014-10-14

Is gs up to date and i18n plugin?


RE: A error message generating the SiteMap - Hypertexter - 2014-10-15

Yes: 3.3.3 and 3.2.8

But for fancy url sitemaps with News Manager (http://get-simple.info/forums/showthread.php?tid=3972&pid=47917#pid47917)
I added
define('I18N_SINGLE_LANGUAGE', true);
to gsconfig.php.


RE: A error message generating the SiteMap - shawn_a - 2014-10-15

core does not use that message anymore, we only show an error if pinging failed and was enabled, not on success.

I do recall around 3.1 an issue like this was fixed in core, i18n uses its own sitemap generation i believe, perhaps it is not fixed there.

Either way i am not investigating this further


RE: A error message generating the SiteMap - Hypertexter - 2014-10-15

Sad

I deactivated and removed the I18N plugins and then got exactly the same message:
"Fehler: Die Sitemap wurde erstellt, jedoch trat ein Fehler beim Benachrichtigen der Suchmaschinen auf" = "Sitemap Created, however there was an error pinging one or more of the search engines"

So what can I do? I never had a version earlier than 3.3.2 on my server...


RE: A error message generating the SiteMap - Carlos - 2014-10-15

How/where do you get that message? If you don't have I18N, you don't have a "Generate Sitemap" link.


RE: A error message generating the SiteMap - Hypertexter - 2014-10-15

That's right. Without the I18N plugins I press "Sitemap anzeigen", "Show sitemap"? and then I get the same message.

Just now I updated to GS 3.3.4 - and the same.


RE: A error message generating the SiteMap - Carlos - 2014-10-15

Without I18N I only have a "View Sitemap" link that takes me to a page that only shows a couple buttons ("refresh" and "view") and displays the Sitemap below, nothing else. No errors, no messages.


RE: A error message generating the SiteMap - Hypertexter - 2014-10-15

Without I18N base I get this:

(attachment)


RE: A error message generating the SiteMap - Carlos - 2014-10-15

Oops, I thought that "View Sitemap" didn't ping.

I have been able to reproduce this issue in a local install by disconnecting my computer from the internet.

Maybe you're getting that error because your host is being blocked or something...


RE: A error message generating the SiteMap - shawn_a - 2014-10-15

It calls generate_sitemap() every time you load the page.
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/938

I also removed sitemap pinging from 3.4 entirely.

I might fix it up a bit in 3.3.x cause ask.com doesnt exist anymore, and the ping statuses are all wrong, it returns the last result from that function. Just deleting the ask.com block might fix it.

actually that connection fails entirely so it doesn't set status, so one of your other pings is actually failing.
probably bing, not sure why though, could be a connection issue, or fsockopen not allowed


RE: A error message generating the SiteMap - Hypertexter - 2014-10-15

Quote:Maybe you're getting that error because your host is being blocked or something...

My host means the webserver with my site? Not my computer?

Quote:I also removed sitemap pinging from 3.4 entirely.

No pinging in future versions?