i tried google sitemap on a plain installation of ss 2.3.4 and it was working fine.
After importing the data from my live system, sitemap stopped working. I recognized sitemap timed out for me which was overloaded by my isps timeout.
I could isolate the problem to a language/charset problem. My locale is set to de_DE, which makes it default for the sitemap request aswell. When i use the request hostname/sitemap.xml?locale=en_US it works flawless.
When i requested sitemap.xml?locale=de_DE i get time out errors:
Fatal error: Maximum execution time of 60 seconds exceeded in C:\dev\xampp\htdocs\sapphire\core\model\DataObject.php on line 1378
Fatal error: Maximum execution time of 60 seconds exceeded in C:\dev\xampp\htdocs\sapphire\core\model\Hierarchy.php on line 241
Fatal error: Maximum execution time of 60 seconds exceeded in C:\dev\xampp\htdocs\sapphire\core\Object.php on line 268
and so on.
The requests for sitemap.xml?locale=en_US worked flawless. Just google naged about an unknown/unexpected character because a "." was used instead of a "," on one of the priorities. After changing the priority manually for this particular page google could start to do its job.
Unluckily i am still clueless what might cause the problems for my de_DE localization.
I'm having the same problem, except without any localization issues. I'm running out of memory or timing out. Increasing the values for PHP memory and execution time hasn't helped any. I seem to remember reading that the current version of Google Sitemaps is only compatible with 2.4, not 2.3, so I grabbed the 1.2 tag from Subversion. That gives me the Google Sitemaps features in the CMS, but getting to the sitemap.xml file is still timing out. I'm not making much progress at this point. Any ideas?
Has anyone found a solution to this issue? I am having the same problem with the sitemap.xml file timing out. I have downloaded 2.4.5 and also up-ed the set_time_limit to 1000 and am still not getting the expected results.
Hard to tell what's causing this, could be all kinds of things. What the sitemap does is create a DataObjectSet of every live page on the site. So even one faulty page could maybe cause the problem. If your site is very large, that could also slow things down. First thing I would do is try and upgrade the site (a test version) to the newest stable SS version.
In the case of the Locale issue: this could even be a problem in one of the de_DE.php language files - you can check this by temporary removing/renaming your languagefiles one-by-one, especially the ones in custom modules and check if it now works.
Would be nice if you had access to your servers logs and see if anything else occurs besides timing out...
You could try and comment out parts of the Items() function in GoogleSitemaps/code/GoogleSitemap.php, if you're up to that, and see where it goes wrong, that would maybe give you a hint.