DanKimble Posted November 1, 2013 Share Posted November 1, 2013 I have GoodRelations 1.6 installed. When I go under the configuration for it I'm told that there is no active sitemap. I go to the sitemap configuration screen and it all appears to be fine and the cron job has run weekly just fine for several weeks now. What am I missing? Link to comment Share on other sites More sharing options...
ishkey Posted November 18, 2013 Share Posted November 18, 2013 same here - PrestaShop™ 1.5.6.0 and goodrelations v1.6 indicates no active sitemap found a partial answer here http://www.prestashop.com/forums/topic/270737-configurar-modulo-goodrelations-rich-snippetssolucionado/ at post #14 Posted 29 August 2013 - 10:47 AM Translation : "Hi all,In communication with Monika Więcko of Makolab.net who developed the module " GoodRelations " has given me the solution to the problem when installing the module , this indicates constantly have the sitemap is not activated. I transcribe the text I received from her:Gsitemap module used to name the sitemap file " sitemap.xml " , but lately the name has been changed . Please copy file " 1_index_sitemap.xml " or " index_sitemap.xml " ( Depending on your Gsitemap module version ) and rename it to " sitemap.xml " (the files are in the main directory of your PrestaShop )The point is , GoodRelations Expects sitemap module file named " sitemap.xml " .So then, the solution to the problem is to rename the file or index_sitemap.xml 1_index_sitemap.xml by sitemap.xml This causes the module to recognize the sitemap and let us pass . So I did, and it works well .It is always recommended to backup files before changing or modifying code , do not forget to make your own copy of the file in case you need to return to the previous state . Likewise, if it were up to google webmaster tools should do it again , this time with the sitemap.xmlI hope I have helped" ****************** If you rename to sitemap.xml then run the cron job you will be back to the original problem. my sitemaps are 1_en_0_sitemap.xml & 1_fr_0_sitemap.xml Some work must be done to the module. At the moment it I haven't had time to look at it as other items are more pressing but surely it should be a simple code fix. Link to comment Share on other sites More sharing options...
ishkey Posted November 18, 2013 Share Posted November 18, 2013 Found sitemap.xml in two places of the goodrelations.php file and changed to Line 81: $data = file_get_contents("http://gr-notify.appspot.com/submit?uri=".urlencode("http://".$host.__PS_BASE_URI__)."1_en_0_sitemap.xml&agent=gr4presta"); Line 533: if(file_exists($filename = dirname(__FILE__).'/../../1_en_0_sitemap.xml')) works just fine now. Link to comment Share on other sites More sharing options...
Recommended Posts