cong2013 Posted October 21, 2013 Share Posted October 21, 2013 Hi, Just tested the store locator and found that it stoped working (1.5.5.0). The shops (60 of them !!) dont shop up on the map. The only shop-icon that is displayed is our main store if I search for it. No other shops are found. Until a week ago it workes flawless for several weeks. I tried this from 2 different servers, different providers + local XAMPP (an old version where I changed nothing for weeks) - no success. Has Google changed something with the interface - I always get the same two 204 (empty requests) when checking the network tab in Firefox: - one for csi.gstatic.com - one from maps.googleapis.com I have to present the shop next week to our dealers - not that funny without working dealer database. Best Regards, Christian Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 can you share url to your website? i will inspect code in browser console Link to comment Share on other sites More sharing options...
cong2013 Posted October 21, 2013 Author Share Posted October 21, 2013 (edited) can you share url to your website? i will inspect code in browser console Please provide your IP if possible, the shop is in maintaince mode Thanks, Christian Edited October 21, 2013 by cong2013 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 sure i sent you PM with my IP address (but i've got dynamic ip so... we need to be really fast ) Link to comment Share on other sites More sharing options...
cong2013 Posted October 21, 2013 Author Share Posted October 21, 2013 (edited) sure i sent you PM with my IP address (but i've got dynamic ip so... we need to be really fast ) Hi, done ;-) The location of the shop is marchtrenk, austria url: www.ural-shop.com The stores are spread all over europe, most of them in de/fr/it. I disabled all ccc / caching to make things easier In the meanwhile I switched back (on XAMPP) to the default Theme, upgraded to 1.5.6 - no success... Thanks in advance, Christian Edited October 21, 2013 by cong2013 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted October 22, 2013 Share Posted October 22, 2013 I don't know what map api prestshop uses off hand, but I got this the other day. Dear Google Maps API Developer, We are contacting you because your email is associated with the Google Maps JavaScript API v2 key being used for the following domains: As you may be aware, JavaScript Maps API v2 was scheduled for shutdown on May 19, 2013. After listening to your feedback we decided to extend the deprecation timeline by six months, to November 19, 2013 to allow more time for migration to v3 of the API. On November 19, 2013 we will deploy a JavaScript wrapper that attempts to automagically turn remaining v2 maps into v3 maps. Though we expect this wrapper to work for most simple maps, we cannot guarantee that your maps will continue to function. We therefore highly recommend that you migrate to v3 before November 19. The good news is that Google Maps JavaScript API v3 is more robust and feature rich than v2, and we’ve written a guide to assist the migration. Sincerely, Google Maps API Developer Relations You have received this email service announcement to update you about important changes to the Google Maps API sites that are related to your email address. If you would like to stop receiving updates, please let us know by filling in this form. © 2013 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043 Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 hello i checked your website the problem is in fact, that there is no store. your stores appear well in your back office? im asking because i checked sources of your website and i can't find any part of information about any store. Link to comment Share on other sites More sharing options...
cong2013 Posted October 22, 2013 Author Share Posted October 22, 2013 the problem is in fact, that there is no store.your stores appear well in your back office? im asking because i checked sources of your website and i can't find any part of information about any store. Hi, The stores are in the database and in the back office (60 stores) They appear in front_office when I switch to simple display w/o map. However, there are several warnings from storescontroller.php because of missing opening times (expects array, receives value in line 124). But this issue exists since I set up the stores and the map display worked perfect for weeks. I checked apache / php logs - nothing worth to mention... I checked php/css/js for cr/lf (unix/windows conversion) - nothing... I recreated the store_icon (gif 30x30 transparent) - if I seach for "marchtrenk,austria" the main shop appears no matter which icon I use but no one else... I switched off all caches, no success - it happens with all browsers, on both VPS/XAMPP, with both themes (default 1.5.5. + WarehouseTheme)... I get crazy with this.... Best regards, Christian Link to comment Share on other sites More sharing options...
cong2013 Posted October 22, 2013 Author Share Posted October 22, 2013 (edited) However, there are several warnings from storescontroller.php because of missing opening times (expects array, receives value in line 124).But this issue exists since I set up the stores and the map display worked perfect for weeks. ... and this lead to the solution ... It seems that (at least if the database is copied to a new server) the opening hours (with stores where no opening hours are set) stored at table ""[prefix]_store" > hours are set to "NULL" This confuses the StoreController. I set all values in the field "hours" (with shops where I have no openings hours yet) to a:7:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";} right within phpmyadmin. At least with on VPS-testserver the storelocator is working now. Best regards, Christian Edited October 22, 2013 by cong2013 (see edit history) Link to comment Share on other sites More sharing options...
rbester Posted December 16, 2013 Share Posted December 16, 2013 The js error console in the browser showed this message in the stores page: "xml or text declaration not at start" After a long investigation I found that the cause for this problem in my case was having extra spaces in one of the modules that I had installed. It is the same as the problem in WordPress: http://validator.w3.org/feed/docs/error/WPBlankLine.html Once clearing the extra spaces in the culprit module, the stores XML data could be parsed again, and they could be seen in the stores locator page. Link to comment Share on other sites More sharing options...
Miguel Bambo Posted December 31, 2015 Share Posted December 31, 2015 Prestashop 1.6.0.14 Disabled Google Maps Store Locator On Home Page I get this error on my site: SignatureNotRequired Warning The signature parameter is not required for the Google Maps JavaScript API. It won't prevent the Google Maps JavaScript API from working correctly, but it may introduce security risks. Please remove it from your script element. How to solve this? I dont know where the javascrit is located. Might the script <script src="http://maps.google.c.../js?sensor=true"></script> be self removed from stores.tpl? Link to comment Share on other sites More sharing options...
Szkudi Posted June 7, 2016 Share Posted June 7, 2016 (edited) HI, I have similar problem... On my store (Ballarini.pl) I have about 30 stores added and a while ago everything worked just fine. Now there is a map centered on Pacific Ocean near Papua New Guinea (??) and no stores can be found (in Warsaw there are about 9). What's interesting, when I turn on simplified store locator they are all listed, so I guess there's something wrong with Google maps. Can anyone help, please? Regards, Marcin Edited June 7, 2016 by Szkudi (see edit history) Link to comment Share on other sites More sharing options...
Dan1 Posted November 16, 2016 Share Posted November 16, 2016 (edited) I have exactly the same problem as Szkudi, in my case whatever is input in the your location field, there is a popup saying "... not found". The store does show in simplified store locator. I initially perhaps formatted the operating hours incorrectly. But I fixed it to this format 10:00AM - 7:00PM, and even deleted and added the store again. Same problem. Can someone please look into this. PS 1.6.1 BTW. EDIT: I found the solution here https://www.prestashop.com/forums/topic/539319-store-map-error-missing-api-key/?p=2427223 Edited November 16, 2016 by Dan1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts