PhocaMaps not displayed

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

Re: PhocaMaps not displayed

Post 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?
svlausitz
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Aug 2018, 08:25

Re: PhocaMaps not displayed

Post by svlausitz »

i found the problem:

in the default_osm.php on line 59: it should be

Code: Select all

echo '</div></div>';
, not

Code: Select all

echo '</div>';
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, it seems you are right, I will test it and fix it in next version.

Thank you very much for the info.

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 »

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
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 »

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 :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 »

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 :(
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 »

The problem for me is understanding which javascript can somehow influence load-transtion.js :idea:

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 :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 »

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
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, "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
If you find Phoca extensions useful, please support the project
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, missing </div> should be OK in version 3.0.6

https://www.phoca.cz/news/1019-phoca-ma ... 6-released

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