Open Street Map loads for whole database but not for separate listing
This topic contains 50 replies, has 4 voices, and was last updated by Alex Rollin 6 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Expiration of listings
-
AuthorPosts
-
July 29, 2019 at 5:15 pm #500168
GD,
I have gone into Geo Directory under maps and have deslected Google Maps, thus far this is what I have done:
1. Got a new API Key from Google, set the settings per your instructions in the threads.
2. Google maps consistently comes up with This page didn’t load Google Maps correctly. See the JavaScript console for technical details.Fix-so far but is not working completely
1. Deleted Google API key, selected open street maps instead
2. Open street maps loads for the database , however when the specific post is clicked on, the maps do no load (for the single entry) and I still get a message saying This page didn’t load Google Maps correctly. See the JavaScript console for technical details.
Even though Google API has been deleted
3. Installed a Clear Cache plugin and have cleared the cache – still not map per each listingJuly 29, 2019 at 6:38 pm #500194Hi Steve Shire,
Thanks for your post. If you’re using Google Map API key, you need to set up billing as explained here https://developers.google.com/maps/documentation/javascript/get-api-key .
Ref :https://wpgeodirectory.com/docs-v2/integrations/google/
July 29, 2019 at 10:55 pm #500236I already have a billing acct for this, the issue is still there. I did chat online with Google and they said there is something else going on? My question to you since I am a user but do understand code a little bit, does your plugin already have the java code script written? In other words all we have to do as users is insert the API key? I have the map come up on the database, however the same error comes up for individual entries- it won’t load.
July 30, 2019 at 4:13 am #500274You can use the chrome console to see the error that is being thrown by the Google API.
We can take a look if you can share the URL to that page here in a private reply.
July 30, 2019 at 3:14 pm #500357This reply has been marked as private.July 30, 2019 at 5:26 pm #500393This reply has been marked as private.July 30, 2019 at 6:24 pm #500426There are two errors on the page:
ou have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors. Gh @ js?key=AIzaSyCEwvpVU_EiDKxiwZnHU1zdVQtY4&callback=initMap:124 js?key=AIzaSyCEwvpVU_EiDKxiwZnHU1zdPFY4&callback=initMap:55 Google Maps JavaScript API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error Your site URL to be authorized: http://crematchup.com/haves/texas/austin/office-condo-for-sale-round-rock-tx/ _.Uc @ js?key=AIzaSyCEwvpVULVQtY4&callback=initMap:55
Try deactivating other plugins that may be loading google maps tp see if you can get the map working by eliminating plugin conflicts.
The referrer error can be addressed by first removing the referrer rules to make sure the API key works correctly and then adding in a simple rule like https://mysite.com/*
About the date, the date field is set automatically with the package purchase or renewal. Yes, that date is used to calculate when renewal listings are sent out. Do you have additional notifications setup? You can turn those off in the email settings. Did I misunderstand?
If we need to check the settings please share WP Admin credentials in aprivate reply.
July 30, 2019 at 6:38 pm #500437This reply has been marked as private.July 30, 2019 at 6:43 pm #500442PS: don’t update GD plugin to V2, it will crash my site.. the site has been customized by my webdesigner and if you update the plugin it will mess up the whole site- FYI thanks.
July 30, 2019 at 6:45 pm #500444I am getting invalid username or password.
July 30, 2019 at 6:45 pm #500445From Google the error on the Detailed Map not loading is as follows:
Yes, so far I see that you’re using two API keys in your code. One that is yours, and one that isn’t. The key that is causing issues, isn’t yours. Do you know where the other key might be coming from?
so the API keys are conflicting
July 30, 2019 at 6:47 pm #500447I am getting invalid username or password. Please validate the login details and repost them here if we need to check the settings.
July 30, 2019 at 7:19 pm #500453This reply has been marked as private.July 30, 2019 at 8:13 pm #500464This reply has been marked as private.July 30, 2019 at 10:46 pm #500478This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket