Hi,
I realized today that the map doesn't work anymore so I installed the new version of the component and the plugin 3.0.4. I set the api key but still it doesn't work.
It worked a few weeks before. The only thing that has changed since that was that I installed JCC. I deactivated JCC and other Plugins but this doesn't helped.
I checked the errors and found the lines:
function CancelEventPhocaMapPlgPM1(event) <!-- START: Snippets --><!-- Snippets Message: Das Snippet kann nicht eingefügt werden, weil es nicht existiert. --><!-- END: Snippets -->
function CheckPhocaMapPlgPM1() <!-- START: Snippets --><!-- Snippets Message: Das Snippet kann nicht eingefügt werden, weil es nicht existiert. --><!-- END: Snippets -->
}
I have no idea what I can try. I hope you can help me.
Map will not displayed and Error "initMaps is not a function"
-
- Phoca Newbie
- Posts: 5
- Joined: 04 Jan 2012, 20:47
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map will not displayed and Error "initMaps is not a function"
Hi, can I see the site where this occurs? Did you try to disable specific system plugins (if installed) and disable the modules (for test only to see, if they do not influence the Javascript of the map)?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 04 Jan 2012, 20:47
Re: Map will not displayed and Error "initMaps is not a function"
Hi,
sorry I thought I send the URL: der-fusschirurg.de/praxis-berlin.html
Best Regards
Jules
sorry I thought I send the URL: der-fusschirurg.de/praxis-berlin.html
Best Regards
Jules
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map will not displayed and Error "initMaps is not a function"
Hi, I don't see any map on the site?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 04 Jan 2012, 20:47
Re: Map will not displayed and Error "initMaps is not a function"
Yes, that's exactly the problem.
On the left side should be the map (I use the Plugin). And the only thing you can see is the form with from address and so on
On the left side should be the map (I use the Plugin). And the only thing you can see is the form with from address and so on
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map will not displayed and Error "initMaps is not a function"
Ok, I see now, yes, this is not standard:
Do you use some specific system plugin (Snippets), which can influence the output of the site? This seems like such exists and it changes the output of the site.
Anyway there are more javascript errors which need to be solved first:
Code: Select all
//<![CDATA[
function initMapsText() <!-- START: Snippets --><!-- Snippets Message: Das Snippet kann nicht eingefügt werden, weil es nicht existiert. --><!-- END: Snippets -->
//]]>
Anyway there are more javascript errors which need to be solved first:
Code: Select all
praxis-berlin.html:22 Uncaught SyntaxError: Unexpected identifier
praxis-berlin.html:42 Uncaught SyntaxError: Unexpected identifier
praxis-berlin.html:114 Uncaught SyntaxError: Unexpected token function
praxis-berlin.html:167 Uncaught SyntaxError: Unexpected end of input
js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:98 Uncaught kc {message: "initMapsText is not a function", name: "InvalidValueError", stack: "Error↵ at new kc (https://maps.googleapis.com/m…ey=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:135:73"}
Yg @ js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:98
(anonymous) @ js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:135
google.maps.Load @ js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:21
(anonymous) @ js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:134
(anonymous) @ js?callback=initMapsText&key=AIzaSyAHPE8tv770pA-DgrOh2KET4-0XycdSEig:135
If you find Phoca extensions useful, please support the project