Page 1 of 1

Re: SitemapMgr - I'm having trouble getting a sitemap

Posted: Tue Feb 06, 2018 2:40 pm
by Rolf
System Information?

Re: SitemapMgr - I'm having trouble getting a sitemap

Posted: Tue Feb 06, 2018 6:05 pm
by paulbaker
System info - see link in my signature

Re: SitemapMgr - I'm having trouble getting a sitemap

Posted: Tue Feb 06, 2018 7:37 pm
by Rolf
You tried $config['debug'] = true; in config.php and renew the pages sitemap?

Re: SitemapMgr - I'm having trouble getting a sitemap

Posted: Sat Feb 10, 2018 11:48 am
by Rolf
Add to config.php: $config['developer_mode'] = true;

Open this for your website:
https://www.yourwebsite.com/index.php?mact=SitemapMgr,cntnt01,update_sitemap,0&cntnt01sitemap_id=1
where the last 1 is a available sitemap ID

What message do you get?

Also check you webservers error log

Re: SitemapMgr - I'm having trouble getting a sitemap

Posted: Mon Feb 26, 2018 5:32 am
by Lew
I had exactly the same issue/behavior described above, where SitemapMgr wouldn't create the Pages sitemap file. I created a dummy content page and entered the displayed {Navigator template="..."} line and "view source" showed that the template worked as expected. But numerous attempts wouldn't create the file from the SitemapMgr admin page.

In Admin Log, noticed lots of CmsJobManager lines with "Received 401 response when trying to trigger async processing" and realized HTTP error 401 has to do with authentication. This new site I was testing was "protected" behind .htaccess-enabled userid/password authentication. As soon as I commented out the authentication lines in .htaccess, then SitemapMgr immediately worked and created the expected sitemap-pages.xml file.

Just to verify, in SitemapMgr.module.php, in function CreateSitemap, just before

[REMOVED: we don't allow code hacks in this forum]

to provide the authentication required. It worked as expected, even when the .htaccess authentication was enabled.

Not sure if you're using authenticated pages or not, but if you are, that could be what is causing the behavior you see.