Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Used this package quite a few times before, this time using 2.0.3 on a 22.214.171.124 installation.
When using the data type 'Google Maps', all the control renders apart from the map itself. When I enter a post code or search term and click 'Search' the following error is thrown:
Uncaught ReferenceError: UmbracoGoogleMapMapDataType is not defined
I've tried removing and re-installing the package, and manually switching the DLL too in the BIN folder, just to make sure.
No luck though. Any ideas?
Let me know of any errors, we'll see if it's fixable.
I've just re-tested v2.0.3 on a fresh Umbraco v126.96.36.199 install, which works fine - curious what it might causing the error for you.
Already had a look for any other JS errors (and just checked again) - but the only error showing is for UmbracoGoogleMapMapDataType.
Tried creating a new data type instance in the CMS based on the Google Map data type and using that instead - but no luck.
Restarted IIS, tried using a new page/node (just in case) and also checked it in Chrome/FF and IE - same error though.
Just killed the ClientDependency files and refreshed, when the back-end loads, theres a single error:
"k[l] is undefined"
Although, jQuery appears to be working just fine..
Actually, ignore that - that error shows up on another 188.8.131.52 site too (which doesn't use this package)
Got it working!
So, working on the basis that it was probably another package causing the issue, I compared the packages installed on this site against 2 other sites that use this package OK without issue.
The "diff" list I had, which only this installation used, was:
Thanks Drew, good detective work!
When I get chance, I'll install the Examine Dashboard, see what the conflicts are ... hopefully we can iron out the issue for a future release.
I'm experiencing the same issue as you have experienced above, and your description of the error and solution seems to be exactly what I'm looking for. But I haven't been able to solve the issue yet though.
After having installed the Google Maps package I have tried the following:
The above has not resulted in me being able to get it to work. Can you please elaborate further on what you did to make it work?
Thanks a lot in advance
Have you got any working installations of Umbraco that don't suffer from this issue?
If so, what packages are you using this time which aren't on your other (working) installs?
Otherwise - have you tried uninstalling various packages to see if its a conflice?(maybe on a clone/copy of your site)
Thank you for your quick answer. I actually haven't installed any other packages on my site, and it is the first time I have tried this package, so unfortunately I don't have any other references.
I'm thinking it does have something to do with the ClientDependency but I'm not quite sure. What are your thoughts?
Once again thanks a lot in advance :)
There's an option in the web.config appSettings to disable the Google Map from using ClientDependency. (I *think* it was in v2.0.4)
<add key="GoogleMaps:DisableClientDependency" value="true"/>
Worth a try.
Thank you very much. That last thing actually seem to have solved my problem :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted