PhocaMaps not displayed

Phoca Maps - displaying maps in Joomla! CMS
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

PhocaMaps not displayed

Post by svlausitz »

Hello everyone,

i have a problem with the phocamap component.

the component will not be displayed (http://svl-forst.de/svl_neu/index.php/s ... ortplaetze) because something goes wrong. When you turn off the rt-hidden class, then you can see, that the component doesnt fit in the template. i think theres is a </div>-tag missing, but thats only a prediction. maybe it is possible that someone can help me? :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaMaps not displayed

Post by Jan »

Hi, hmm, there is no javascript error in javascript console on that site. What happens when you try to test it with another template (only for test)?

Jan
If you find Phoca extensions useful, please support the project
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

oh sorry, i forgot, i have tested it already and with the standard template, it works
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaMaps not displayed

Post by Jan »

Hmm, so the error must be found in the template javascript :idea:

Jan
If you find Phoca extensions useful, please support the project
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

hmmm, but it is the only component which makes an error

what can i do, i mean, in my opinion, there is only a </div>-tag missing, but i dont know where
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

now, i get this error:

Code: Select all

Source-Map-Fehler: request failed with status 404
Ressourcen-Adresse: http://svl-forst.de/svl_neu/media/com_phocamaps/js/leaflet-control-locate/L.Control.Locate.min.js
Source-Map-Adresse: L.Control.Locate.min.js.map
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

no one who can help me? :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaMaps not displayed

Post by Jan »

Hi, the above message is not an error, it is development message for developers made by browser console.

Are you able to localize where the div is missing?

Jan
If you find Phoca extensions useful, please support the project
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

<div id="phocamaps" class="phocamaps"><div class="phocamaps-box phocamaps-box-border-greyrc" align="center" style="margin:0;padding:0;margin-top:10px;"><div id="phocaMap5b6c0c3614e2a" class="phocamaps-map" style="width:100%;height:400px"></div><div class="phocamaps-box" align="center" style="margin:0;padding:0;margin-top:10px;"></div><div style="text-align: right; color: rgb(211, 211, 211); clear: both; margin-top: 10px;margin-bottom:10px;">Powered by <a href="https://www.phoca.cz" style="text-decoration: none;" target="_blank" title="Phoca.cz">Phoca</a> <a href="https://www.phoca.cz/phocamaps" style="text-decoration: none;" target="_blank" title="Phoca Maps">Maps</a></div></div>
this is the code of the site. if i count all <div>-tags and all </div>-tags, then there is one </div>-tag missing, but where it should be, i have no idea (i would place it at the end)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaMaps not displayed

Post by Jan »

Is the div missing in other template too?

Jan
If you find Phoca extensions useful, please support the project
Post Reply