Forum Replies Created
-
AuthorPosts
-
Raymond Dunegan
ParticipantReally couldn’t find referrer entry, until I pasted the keys on my reply above.
I went to get fresh ones and found it in the process of generating new key.
I set up as you instructed brett, and all is good.but yes, this is gonna f alot of folks up.
may want to sticky this one.Raymond Dunegan
Participantstill getting the same error
Raymond Dunegan
ParticipantI see the refferer and your comments, so I scampered off to google to play in the console.
I had already verified te site through ISP verification.
I had enabled a couple of map APIs , not sure which one you want, GEOcode I assume.
Then I put in the exaxt url they had in the error as my allowd site.Now I atleast get the OOPS page instead of a blank,
Let me see if I can get the right config now.Raymond Dunegan
ParticipantVersion 8.5.18 ? is this current?
Raymond Dunegan
Participantjs?libraries=geometry&key=AIzaSyCxMONqZKwnnSlEdAI2x6IIGJw6zdgfSWU&ver=8.5.18:32 Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error Your site URL to be authorized: http://leavemycard.com/_.ab @ js?libraries=geometry&key=AIzaSyCxMONqZKwnnSlEdAI2x6IIGJw6zdgfSWU&ver=8.5.18:32 js?libraries=geometry&key=AIzaSyCxMONqZKwnnSlEdAI2x6IIGJw6zdgfSWU&ver=8.5.18:93 Uncaught TypeError: Cannot read property 'addEventListener' of undefinedTHis is th error from no script call in head. and the tic was checked in the advance settings api option. The Server and Browser keeys are fresh
The editor for this forum bugs out on Chrome. The Submit button goes away after edit is started
Raymond Dunegan
ParticipantDon’t have time to edit this morning, didn’t know you were troubleshooting the problem with my sight. Maybe you can use Brett’s site today I’ll be on the road
Raymond Dunegan
ParticipantThe script never makes it to the head on the source page if I remember which is why it didn’t work
Raymond Dunegan
ParticipantI tried your recommendation and it did not work I get the oops message.
And without the check mark I got a blank boxRaymond Dunegan
ParticipantBeta didn’t work without the head tag
-
This reply was modified 10 years, 1 month ago by
Raymond Dunegan.
Raymond Dunegan
ParticipantOk, I figged it out.
Get a google server key
make sure it is associated with your website in the google console.
ENABLE the javascript api as well as the geocode api, do this in the google console.
paste this into /wp-content/themes/yourtheme/header.php before the /head> tag
<script async defer src=”https://maps.googleapis.com/maps/api/js?key=YOURSERVERKEY&callback=initMap”
type=”text/javascript”></script>REFRESH AND IT WORKS.
YOU CAN take a short cut by opening developer tools java console and click on the dev.google link at the error, scroll down and you can click on the link to get your snippet with your api, if logged in, just make sure itls the right one.
-
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
