Page 2 of 2
Re: PhocaMaps not displayed
Posted: 13 Aug 2018, 10:43
by svlausitz
because of the fact, that nothing goes wrong if i use the other template. i would say no
you also have no idea what the problem is?
Re: PhocaMaps not displayed
Posted: 13 Aug 2018, 11:19
by svlausitz
i found the problem:
in the default_osm.php on line 59: it should be
, not
Re: PhocaMaps not displayed
Posted: 13 Aug 2018, 20:46
by Jan
Hi, it seems you are right, I will test it and fix it in next version.
Thank you very much for the info.
Jan
Re: PhocaMaps not displayed
Posted: 14 Aug 2018, 13:03
by svlausitz
no problem. but my initial problem still exists:
the phoca map component dont fit with die load-transistion.js of the template. these javascript removes with an animation the "rt-hidden" class (opacity: 0) an adds the "rt-visible" class (opacity: 1)
if i debug this function then i can see that the "body"-variable dont fit with the "body"-variable of the other pages of my site, but i dont know why. the user of the rockettheme forum (template) told me that the component disturb the script.
ja, maybe you can help me and give me a solution? :(
edit: here you can see the problem:
http://svl-forst.de/svl_neu/index.php/s ... ortplaetze
Re: PhocaMaps not displayed
Posted: 14 Aug 2018, 13:27
by Jan
the user of the rockettheme forum (template) told me that the component disturb the script.
Will be great to get info which component part disturbed which script so I can take a look at it.
Mostly Phoca extensions use the libraries loaded by Joomla! so there should not be any conflict and if it works with another standard template then there will be some conflict between libraries - but will be great to get info which library is in conflict with other library
Jan
Re: PhocaMaps not displayed
Posted: 14 Aug 2018, 14:00
by svlausitz
sorry, but i'm not very skilled in coding javascript.
in my last post is everything what i found out. it seems to be, that the element rt-transition (which ist set on variable body) in the function load-transition.js (you can see it on my page under the link given in my last post) not the same as in other (e.g. menu Service -> Downloads which represents the component jDownloads)
Edit: the only additional javascripts are these ones in com_phocamaps/js
Edit2: maybe the rt-transition ist not seen as a div-element but something else :(
Re: PhocaMaps not displayed
Posted: 14 Aug 2018, 14:51
by Jan
The problem for me is understanding which javascript can somehow influence load-transtion.js
In javascript console I don't see any javascript error.
You can try to test to display the map with google maps, so you will know if the leaflet (osm maps) javascript libraries can be somehow in conflict with the template
Jan
Re: PhocaMaps not displayed
Posted: 14 Aug 2018, 14:57
by svlausitz
when i try with google maps than comes an other error ...
0 - Call to a member function get() on null
Die Seite kann nicht angezeigt werden, weil:
Sie ein veraltetes Lesezeichen aufgerufen haben.
Sie über eine Suchmaschine einen veralteten Index dieser Webseite aufgerufen haben.
Sie eine falsche Adresse aufgerufen haben.
Sie keinen Zugriff auf diese Seite haben.
Die angefragte Quelle wurde nicht gefunden!
Während der Anfrage ist ein Fehler aufgetreten!
Bitte eine der folgenden Seiten ausprobieren:
Startseite
Bei Problemen ist der Administrator dieser Website zuständig.
Call to a member function get() on null
one week ago, google maps worked with the same problem (hidden class), but now, i get this error
Re: PhocaMaps not displayed
Posted: 18 Aug 2018, 14:11
by Jan
Hi, "0 - Call to a member function get() on null" is only base info, can you enable error reporting to maxium and debug mode so you get complete error message?
Jan
Re: PhocaMaps not displayed
Posted: 03 Mar 2019, 23:03
by Jan