Empty maps if more than one map in aricle

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #11964 by Ulrich
Problem with maps and articles created after July 2018:
- if article contains only one map: is displayed as expected
- if article contains more than one map:: empty map spaces, but pop-up of large map workes for first two maps!

Firefox console shows these messages:

JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542
SyntaxError: unexpected token: identifier[Weitere Informationen] zh-travel-map-problem:498:72

See
joomlatest31.familie-abderhalden.ch/inde...p-problem-single-map
and
joomlatest31.familie-abderhalden.ch/inde...h-travel-map-problem

Articles with more than one map created in July 2018 still work as expected

Regards Ulrich

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

More
6 years 3 weeks ago #11965 by Dima
Hi.
The second link - there is an error on page for placemark with title
"2018 GR Melano - Porto Sant'Elpidio" and it breaks all output.
it contains ' symbol, but I can't understand why it is not converted.
I call htmlspecialchars php function to convert quotes.

PS I checked your line in my test site - all works correctly.

What version of php do you have on your site?

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.

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #11966 by Ulrich
Replied by Ulrich on topic Empty maps if more than one map in aricle
Thank you for looking at my problem.

PHP Version: 5.6.19
Joomla! Version: Joomla! 3.9.0 Stable [ Amani ] 30-October-2018 14:00 GMT
Joomla! Platform Version: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Regards Ulrich

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

More
6 years 3 weeks ago #11969 by Dima
I think you have some troubles in php settings
For example this article
www.saotn.org/php-56-default_charset-cha...y-break-html-output/
I think problem in charset, because call function passes data without changes

I use php 7.2 (due to 5.6 is end of support php.net/supported-versions.php ), but before I use 5.6 and all was OK, because all my developments was started on 5.6

If you can - check php settings. Or, if it is development site - try to move to other php version

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.

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #11970 by Ulrich
Replied by Ulrich on topic Empty maps if more than one map in aricle
have now switched PHP to Version 7.1.1
Sorry, problem still exists..
...

Regards Ulrich

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

More
6 years 3 weeks ago #11971 by Dima
What MySQL encoding (collation...)

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.192 seconds
Powered by Kunena Forum