megamiska Merchant Od Slovenia Člen od okt 2023 megamiska 6 dec 2023 12:03 Hi, module is not working on new version. Can you please refund me?
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 6 dec 2023 12:35 Hi. Can you please attach a screenshot settings page for this addon?
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 6 dec 2023 12:47 Please use the new version: 1.1 https://www.litecart.net/en/addons/497/sitemap-generator
megamiska Merchant Od Slovenia Člen od okt 2023 megamiska 6 dec 2023 22:22 Thanks, but still not work: ######################################################################## job_sitemap_generator executed at 2023-12-06 22:19:09 ######################################################################## Warning: Undefined array key "scheme" in ~/includes/entities/ent_SitemapGenerator.inc.php (Line 26) Warning: Undefined array key "host" in ~/includes/entities/ent_SitemapGenerator.inc.php (Line 26) The directory was successfully created. Adding URL: Scanned host: Found and added: 0 pages Generated XML file: feeds/sitemap.xml Execution time of script = 0.0012149810791016 sec ######################################################################## Completed in 0.001 s ########################################################################
dodo Moderator Od Lithuania Člen od mar 2016 dodo 7 dec 2023 10:49 Also this error: Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in ~/includes/entities/ent_SitemapGenerator.inc.php (Line 158)
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 9 dec 2023 13:47 @dodo, thanks for pointing this out, this is rectified in new version: v1.2, which is available for download. @megamiska, can you, please check out new version ? Please be sure to replace old files with new ones from: https://www.litecart.net/en/addons/497/sitemap-generator New version is v1.2. Make sure that you're running on a PHP version 8.0 or newer. The problem that you had was regarding the PHP parse_url function, which should work out of the box, anyways, this is corrected now using null safe operator and with a check if your server supports this function. Site URL field requires URL with valid a URL scheme, eg: https://examplesite.com If something goes wrong, please feel free to contact me. Also, please, check the attached settings page as an example. Best regards.
adamchaczka LiteCart Fan Od Poland Člen od okt 2023 adamchaczka 18 dec 2023 10:49 I have a problem with this add one At first I couldn't generate a network map for https:. I was getting error 500 so I tried to generate for http: managed to find one page (home page) During a long chat with the hosting support i saw new Log. It finally noticed information that over 5,600 subpages were generated for https://mybudio.eu Unfortunately, we don't have that many subpages even if I include all product variants. Moreover, the sitemap.xml file is empty. Before that, there was only one page generated there: htpp://mybudio.eu The question is why he found so many pages on a young site (1 month)? and why didn't it overwrite the sitemap.xml file?
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 18 dec 2023 12:18 Hi Adam, can you, please attach a screenshot of settings page for this job module?
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 18 dec 2023 12:43 Can you enter just: regional_settings in the field: "Skip this when crawling the give SITE_URL" It seems like you're not using the newest version of this module. Can you replace the old files with new ones ?
adamchaczka LiteCart Fan Od Poland Člen od okt 2023 adamchaczka 18 dec 2023 13:07 Well I unistaled the generator I replaced the files for new ones I entered regional_settings in the field and it works version 1.1 remains, the rest seems to work
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 18 dec 2023 13:12 That's it :) From now on everything will work as it should, if not, please feel free to contact me. Best regards, Mirza.
dodo Moderator Od Lithuania Člen od mar 2016 dodo 18 dec 2023 14:32 @orefat, I appreciate the work you've done, but I'm not sure what are you trying to achieve here. Standard sitemap takes a few seconds to be generated while your can takes 20-30mins easily. Why do you want to crawl links in your own website instead of using MySQL queries?
orefat Developer Od Bosnia and Herzegowina Člen od okt 2019 orefat 18 dec 2023 15:10 I appreciate your interest in this job module. That's one of the possible solutions, indeed. This module handles sitemap generation in a more flexible manner. However. How would you crawl user generated pages, or blog pages ? There are LiteCart users who use their instance (shop) behind the Wordpress or something similar. What if someone uses LTC in a subdomain ? How would you generate site wide sitemap otherwise?
dodo Moderator Od Lithuania Člen od mar 2016 dodo 21 dec 2023 09:35 Understand now what are you pointing at. I think you should add that to the description saying what extensions it does provide over the standard LiteCart sitemap. One of them would be generating sitewide sitemap if installed in subdirectory or together with another CMS.