motou / magento2-store-locator-stockists-extension

Stockists store locator extension for magento2 using google maps
MIT License
67 stars 44 forks source link

GET method http://localhostlimesharp/ajax/stores?_=* net::ERR_NAME_NOT_RESOLVED, while loading stockist page of limesharp extension in my project of Magento2. #10

Closed vishalpawar-tudip closed 7 years ago

vishalpawar-tudip commented 7 years ago

Above problem shows json response null while ajax call and showing error at xhr.send() method. Any help is really apprecible.

ClaudiuCreanga commented 7 years ago

http://localhostlimesharp/ajax/ is wrong url. how did you arrive at this value?

parnanzio commented 7 years ago

The problem is in view/frontend/web/js/limesharp_stockists.js, you need to put a / before config.moduleUrl

vishalpawar-tudip commented 7 years ago

@ClaudiuCreanga While loading this page url 'http://localhost/magento2/stockists', it only shows 'find a stockist' panel but not showing google map. Also I have added google map api key through admin panel of Magento2.

vishalpawar-tudip commented 7 years ago

Yes, I did it. But not working and giving error as "Failed to load resource: the server responded with a status of 404 (Not Found)".