Rhobur Posted April 22, 2011 Share Posted April 22, 2011 Google Map is not displayed anymore in stores, only the texts and all my carousel modules are not displaying correctly aswell on the stores page. Can you help ?See the page hereSOLVED: By upgrading to 1.4.20 :-) Link to comment Share on other sites More sharing options...
Ago Posted April 26, 2011 Share Posted April 26, 2011 Hello, I also can not see Google map. Upgrading from 1.4 to 1.41. On your site no longer works, please advice how to fix it. Thank you. Link to comment Share on other sites More sharing options...
Rhobur Posted April 26, 2011 Author Share Posted April 26, 2011 It doesn't work yet I have just reverted back to 1.4.0.17 for the moment; I will switch to 1.4.1 after I will find a solution to this problem. Link to comment Share on other sites More sharing options...
webjive Posted April 26, 2011 Share Posted April 26, 2011 We are evaluating PrestaShop along with others and I was wondering if it was our site or the feature isn't working right. Now I know the search feature for stores isn't working. You just get the spinning icon. Link to comment Share on other sites More sharing options...
fcmdiana Posted April 27, 2011 Share Posted April 27, 2011 Hi was wondering if anyone find a solution to this yet? Link to comment Share on other sites More sharing options...
gcacace Posted April 27, 2011 Share Posted April 27, 2011 I found the error: is inside classes/Tools.phpThe function addJS() doesn't like to load external javascript files (in stores case, the google API js from google website).There are 2 temporary alternative solutions:1.Open classes/Tools.php and comment lines from 1340 to 1344 (from $url_data = parse_url($file); to unset($js_uri[$key]);)2.Download Google API js from this link and save it to themes/prestashop/js/googlemaps.js, then open controllers/StoresController.php and change line 201 from Tools::addJS('http://maps.google.com/maps/api/js?sensor=true'); to Tools::addJS(_THEME_JS_DIR_.'googlemaps.js'); Link to comment Share on other sites More sharing options...
gcacace Posted April 27, 2011 Share Posted April 27, 2011 If someone find a better solution, please answer!!! Link to comment Share on other sites More sharing options...
webjive Posted April 28, 2011 Share Posted April 28, 2011 I found the error: is inside classes/Tools.phpThe function addJS() doesn't like to load external javascript files (in stores case, the google API js from google website).There are 2 temporary alternative solutions:1.Open classes/Tools.php and comment lines from 1340 to 1344 (from $url_data = parse_url($file); to unset($js_uri[$key]);)2.Download Google API js from this link and save it to themes/prestashop/js/googlemaps.js, then open controllers/StoresController.php and change line 201 from Tools::addJS('http://maps.google.com/maps/api/js?sensor=true'); to Tools::addJS(_THEME_JS_DIR_.'googlemaps.js'); Good job! Easy fix.. #1 would probably be the better long term fix IMHO. Could be wrong though since I'm not that good at JS. Link to comment Share on other sites More sharing options...
Saimons Posted April 28, 2011 Share Posted April 28, 2011 I made this changes, but I can't see my shop on the map? What's wrong? Link to comment Share on other sites More sharing options...
webjive Posted April 28, 2011 Share Posted April 28, 2011 Saimons, I believe this fix was for the store locator? Link to comment Share on other sites More sharing options...
fcmdiana Posted April 28, 2011 Share Posted April 28, 2011 Hi guys I found the fix - in Tools.php comment out the 2 lines after //check if js files exists // check if js files exists // if (!file_exists($file_uri)) // unset($js_uri[$key]); Lines 1342-1343, google maps seems to work again.Also remember to delete the compiled files in smarty folderPlease looks at this site for more info:http://forge.prestashop.com/browse/PSCFI-1602Hope that works Link to comment Share on other sites More sharing options...
bonbontamura Posted April 28, 2011 Share Posted April 28, 2011 @fcmdiana: you are great!EDIT: SORRY. I was too happy.It shows the map but it doesn't work. Link to comment Share on other sites More sharing options...
justouletdk Posted May 1, 2011 Share Posted May 1, 2011 The map is now showing and the category links are in place.However, I am still missing the stores just like Saimons. Any solutions to this? Link to comment Share on other sites More sharing options...
palombokevin Posted May 9, 2011 Share Posted May 9, 2011 Hi guys!I followed the different steps of this thread about google maps.I had no maps on my page, that's why i followed those steps, but now have nothing anymore. Blank page with store.php !!What do I have to do? please help me because I really don't now what happens :sPrestashop version 1.4.1regards Link to comment Share on other sites More sharing options...
palombokevin Posted May 9, 2011 Share Posted May 9, 2011 It's ok now it works... Now can someone tell any solution to fix google maps on last version Prestashop 1.4.1 ?cheers Link to comment Share on other sites More sharing options...
maniot Posted May 23, 2011 Share Posted May 23, 2011 While following the solutions offered here in this thread i managed to get the google map show up in version 1.4.1, but the shop doesn't show up on trhe map. I downloaded the svn version of tools.php as suggested to solve the problem but that didn't work.Anyone found a solution? Link to comment Share on other sites More sharing options...
bonbontamura Posted May 23, 2011 Share Posted May 23, 2011 It's ok now it works... Now can someone tell any solution to fix google maps on last version Prestashop 1.4.1 ?cheers there is no solution to fix this bug in the latest version. (IMHO)you may downgrade your shop to 1.4.0.17 or wait for the next version 1.4.2.0I think it will rolling out soon. Link to comment Share on other sites More sharing options...
Rhobur Posted May 24, 2011 Author Share Posted May 24, 2011 Already upgraded to 1.4.2 and working fine :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now