GoogleMap display of specific maps not working

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 10 months ago - 2 years 10 months ago #14548 by Ulrich
GoogleMaps worked fine for very long time, but today I found a severe problem with two specific maps:
  • The article should contain 5 maps.
  • With maps 1, 4,and 5 these are shown.
  • If I add map 2 or 3 or both, no maps are shown, but full screen maps 1, 4, and 5 are shown (Click für "Grosse Karte")
  • That maps 2 and 3 are shown correctly on my test site.
Both productive and test site are same up-to-date Joomla end extensions.
"Problem" maps on production system: familie-abderhalden.ch/index.php/reisen/...adeferien/rueckreise
Test system with working map 2: joomlatest31.familie-abderhalden.ch/inde...-around-zh-googlemap
Map 2 KML file attached a TXT-file. 

File Attachment:

File Name: 2021-10-13-a-GR.txt
File Size:95 KB


Have copied article to test site, works fine here: joomlatest31.familie-abderhalden.ch/inde...1-gr-rueckreise-test

Just cannot find he difference between the two Joomla-Servers....... except that test site has more extensions....?
Regards Ulrich
 

Regards Ulrich
  • Last edit: 2 years 10 months ago by Ulrich. Reason: Added link to additional test article

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

    More
    2 years 10 months ago - 2 years 10 months ago #14549 by Dima
    Hi Ulrich
    As for first map
    Your map has title "Port Sant'Elpidio"
    And when placemark for map created, your PHP doesn't process apostrophe and it breaks code.
    Just change it to other (`) or find out why your php stop process it by call by
    Code:
    htmlspecialchars(map_title, ENT_QUOTES, 'UTF-8')

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

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

    • Ulrich
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    2 years 10 months ago #14550 by Ulrich
    Thank you for that fast help. I'm so sorry having disturbed you with that error I already made some years ago.... I hope I will remember in the future.
    Wish you a happy new year
    Ulrich

    Regards Ulrich

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

    More
    2 years 10 months ago #14551 by Dima
    Thanks Ulrich

    And for donation thank you very much.

    Probably, I'll try to find out this PHP case, and I think if it will appears many times, I'll rewrite my code to escape apostrophe if it will not be escaped by PHP function

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