What is it?
Printable View
Hi. Not sure if anyone can help at all. Using version 1.5.5a new install with upgraded DB all working nicely.
I have installed this plugin as per the instructions on 2 separate servers and cannot seem to get a site map to generate. Have set permission to 777 for the sitemap/ folder (only a htaccess file exists in folder). The only errors I get are Sitemap Index not generated: no sitemaps found (no plugins selected). When I select the plugins from the list below this and click save I get no confirmation that they have saved and they reset back to unselected. the sitemap.xml file remains empty. It installed fine both times with no errors and have reinstalled with no luck. Any advice would be welcome as I cant think what I have done wrong?
DBUG log looks like this not sure if this helps
[30-Oct-2016 10:57:01 UTC] Request URI: /admin/sitemapxml.php, IP address: 86.173.51.196
#1 mysqli_real_escape_string() called at [/home/site/public_html/includes/classes/db/mysql/query_factory.php:122]
#2 queryFactory->prepare_input() called at [/home/site/public_html/includes/classes/db/mysql/query_factory.php:485]
#3 queryFactory->prepareInput() called at [/home/site/public_html/admin/includes/functions/database.php:108]
#4 zen_db_input() called at [/home/site/public_html/admin/sitemapxml.php:100]
[30-Oct-2016 10:57:01 UTC] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/bagsofit/public_html/includes/classes/db/mysql/query_factory.php on line 122
Thanks
Example site map :
Code:<sitemap>
<loc>http://www.turkticaret.net/domain/</loc>
<lastmod>2014-07-24</lastmod>
</sitemap>
<sitemap>
<loc>https://www.turkticaret.net/whois</loc>
<lastmod>2014-07-24</lastmod>
</sitemap>
Is it possible that just include the first page of categories in the sitemap?
I am having the exact same problem as pavster007. I used the same files (changing only the admin folder name) for another Zen Cart store I have and it is working perfectly. The part that gets me is that both use the same templates, both have the same versions of everything. I am at a loss.
To review, when I go to generate a sitemap, all plug-in's are unchecked. I get the "Sitemap Index not generated: no sitemaps found (no plugins selected)". When I select plug-ins and click save, I get nothing and they do not remain checked. All permissions are set to 777 on both the sitemap file and folder. Has anyone found any answers to this?
Sounds a bit like this issue:Quote:
When I select plug-ins and click save, I get nothing and they do not remain checked.
https://github.com/AndrewBerezin/zen...p-xml/issues/2
That did the trick. Thank you kindly Torvista!! For anyone else having this issue; this fix worked for me and I am now able to save the plug-ins as well as generate sitemaps.