Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Google map api (again)

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Google map api (again)

More
8 years 1 month ago - 8 years 1 month ago #24389 by Klusek1978
Google map api (again) was created by Klusek1978
Hello
I want to ask about google map api key. I have api key, i paste it in field Google Key in ad_gmap and it work ok on front end until user wants to post an ad.
When user want to add gmap field then it comes to this "Ooops..." error. In console i saw an MissingKeyMapError. Why this error apears when i paste google api key in google map field? How can I fix it? The google map api key is in 3 version.

And one more thing, I install ads clarity template with ads manager on different domain and on that other domain it works ok, when i change domain it falls. Wheres the problem?
Attachments:
Last edit: 8 years 1 month ago by Klusek1978.
More
8 years 1 month ago #24400 by loic
Replied by loic on topic Google map api (again)
Hello,

For the gmap issue, what version of AdsManager are you using ? That issue was fixed in the version 3.1.8.

For the adsclarity template, I don't understand the issue, could you give me more details ? Do you have an error message displayed ?

Best regards.
More
8 years 1 month ago #24401 by Klusek1978
Replied by Klusek1978 on topic Google map api (again)
Its the same site - I install ads clarity template quick start - latest version with ADS manager 3.1.8. I install it under my domain and everything works perfect. Trouble begins when I add another domain to this site - maps where shown error "Ooops... " (see Attachments). On first domain it works great, on second domain not - google maps api is the same.
More
8 years 1 month ago - 8 years 1 month ago #24413 by Klusek1978
Replied by Klusek1978 on topic Google map api (again)
I've tried all day to work this put but no success. On frontend map works great, but when user tries to post an ad google map crashes. Same thing on backend when admin tries to post an add - google map crashes. Please help me with fix this problems ;)
Maybe I can paste google api key in some file but which file is it - index.php?

I find this topic on forum and Your answer:
"The file you need is in 'adsmanagerfields/gmap/plug.php' in the archive.
And the one you need to replace in in 'images/com_adsmanager/plugins/gmap/plug.php'."

it seems when I replace this file from ads-manager-quickstart_3.1.8 the maps begin to work correctly but there still one problem.
When I try to edit te ad_gmap field and save changes the message is shown: Duplicate column name 'list_map_width' SQL=ALTER IGNORE TABLE `#__adsmanager_fieldgmap_conf` ADD `list_map_width` int(10) unsigned default '200';

can You tell me where I can fix this?
Attachments:
Last edit: 8 years 1 month ago by Klusek1978.
More
8 years 1 month ago #24419 by loic
Replied by loic on topic Google map api (again)
Hello,

If it works on one domain but not the other and you are using the same website, then it is normal, the API of GoogleMap only works for one website only.
If you wish to have the map on two website, you need to create another key.

Best regards.
More
8 years 1 month ago #24424 by Klusek1978
Replied by Klusek1978 on topic Google map api (again)
Funny thing is that maps work on domain that has no api key configured, but for the one that I generate api key and paste it in configuration field maps crashes.
Does not matter. At the moment the problem is solved because it overwrite the file images/com_adsmanager/plugins/gmap/plug.php . But a new problem arose which I mentioned earlier. When I try to edit te ad_gmap field and save changes the message is shown: Duplicate column name 'list_map_width' SQL=ALTER IGNORE TABLE `#__adsmanager_fieldgmap_conf` ADD `list_map_width` int(10) unsigned default '200';
What does it mean?
best regards
Mariusz
Time to create page: 0.123 seconds
Powered by Kunena Forum