SitemapMgr - I'm having trouble getting a sitemap
Re: SitemapMgr - I'm having trouble getting a sitemap
System Information?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: SitemapMgr - I'm having trouble getting a sitemap
System info - see link in my signature
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: SitemapMgr - I'm having trouble getting a sitemap
You tried $config['debug'] = true; in config.php and renew the pages sitemap?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SitemapMgr - I'm having trouble getting a sitemap
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
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: SitemapMgr - I'm having trouble getting a sitemap
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.
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.
Last edited by velden on Mon Feb 26, 2018 10:05 am, edited 1 time in total.
Reason: code hacks
Reason: code hacks