[solved] Map not loading - RefererNotAllowedMapError

More
6 years 9 months ago - 6 years 9 months ago #38815 by ettiennec3
I get the following errors on my profile page in easysocial with the Geommunity module activated on bottom location. See Below:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
js:35 Google Maps API error: RefererNotAllowedMapError
developers.google.com/maps/documentation...ot-allowed-map-error

I added my ip address to the API Key, However, it still gives me this issue. Even when I completely remove all restriction on the API key it still doesn't work.

Any ideas what the problem could be?

This message contains confidential information


Please let me know.

Thanks.
Ettienne
Last edit: 6 years 9 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #38816 by nordmograph
it requires you provide the domain as an allowed domain for the key if it's restricted for instance:

*.theoilpress.co.za/*

But the 500 might be a different problem.
Please post the exact url of the map.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #38830 by ettiennec3
I added the *.theoilpress.co.za/* to google api.

For the link you can use: (with the login provided - Frontend)
theoilpress.co.za/community-dashboard/472-stackideas

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #38831 by nordmograph
it works if you use
www.theoilpress.co.za
instead of
theoilpress.co.za

Also you should only allow one of these 2, but not both. Google doesn't like duplicate content.
Once chosen set, your .htaccess file to redirect the wrong one to the good one.
As you can see with nordmograph.com

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
The following user(s) said Thank You: ettiennec3

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #38883 by ettiennec3
Thanks works now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.333 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.