Error with Placemarks

  • moose999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #10544 by moose999
Error with Placemarks was created by moose999
Hi,

When I have any placemarks published, my map will not show. I can see an error in the console "Uncaught SyntaxError: Unexpected token var".

I am using J3.5.0 and Zh 8.1.2.0.

I have tried enabling compatibility mode in the component options.

Many thanks,
Justin

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

More
7 years 9 months ago #10547 by Dima
Replied by Dima on topic Error with Placemarks
Hi Justin.
Without direct link to your map or page source I can't explain what problem is.
Probably you enter email into placemark body, or enter HTML text with errors.
I need to analyze your page with error.

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

  • moose999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #10548 by moose999
Replied by moose999 on topic Error with Placemarks
Hi,

Thanks for your reply!

I created a new map with no text, and a new placemark, with no text, and it is the same.

That test page is here: www.womersleyfoods.com/testmap

Thanks again :)
Justin

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

More
7 years 9 months ago - 7 years 9 months ago #10549 by Dima
Replied by Dima on topic Error with Placemarks
Very strange.
Lets do this:
1 - set in map details in advanced option load map objects by JQuery (or load infowin content by JQuery)
- I think the map will be displayed
2 - in my code I checked all cases, and everywhere there is ; before var. I think it can caused by some plugin. I suggest to step by step find out what plugin can cause this. Set map to previous state (when it is not displayed). Open in admin panel plugin list, set filter to enabled. And one by one: disable > check map > enable
This can help to find out plugin with error.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 7 years 9 months ago by Dima.

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

  • moose999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #10550 by moose999
Replied by moose999 on topic Error with Placemarks
Hi,

I have set "Loading map objects dynamically" to jQuery, and "Loading content data dynamically" to jQuery, but it is still the same.

It will take me a long time to be able to disable every plugin, so I will try tomorrow.

Thanks for your time,
Justin

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

More
7 years 9 months ago #10551 by Dima
Replied by Dima on topic Error with Placemarks
I can see the other error in your page.
Do you install component from JED?

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

Time to create page: 0.137 seconds

Donate


Go to top