Phoca Maps collide with SEO Glossary Plugin

Phoca Maps - displaying maps in Joomla! CMS
toolbin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Aug 2014, 13:26

Phoca Maps collide with SEO Glossary Plugin

Post by toolbin »

Hi,

I'm using Joomla 2.5.24, PHP 5.4.4
if i deactivate the SEO Glossary Plugin, Phoca Maps work fine, but if it is activated, only the Map in articles dont work - the map over link is working properly.
I tested with another Glossary, but there is the same problem. The problem is not vacant, if the map has no markers....
the error message on frontend:

'; phocaDirDisplayPlgPM2.setDirections(responsePlgPM2); } else if (google.maps.DirectionsStatus.NOT_FOND) { alert("Einer der in der Abfrage benannten Wegpunkte konnte nicht Geocodiert werden."); } else if (google.maps.DirectionsStatus.ZERO_RESULTS) { alert("Es konnte zwischen Start- und Zielpunkt keine Route gefunden werden."); } else if (google.maps.DirectionsStatus.MAX_WAYPOINTS_EXCEEDED) { alert("Es wurden zuviele Wegpunkte in der Abfrage benannt."); } else if (google.maps.DirectionsStatus.OVER_QUERY_LIMIT) { alert("Die Webseite hat zu viele Zugriffe innerhalb der erlaubten Zeit gesendet."); } else if (google.maps.DirectionsStatus.INVALID_REQUEST) { alert("Die Routenabfrage war ungültig."); } else if (google.maps.DirectionsStatus.REQUEST_DENIED) { alert("Dieser Webseite wurde nicht erlaubt den 'Route berechnen' Dienst zu nutzen."); } else if (google.maps.DirectionsStatus.UNKNOWN_ERROR) { alert("Der 'Route berechnen' Dienst kann wegen eines Serverfehlers nicht ausgeführt werden. Versuchen Sie es noch einmal."); } else { alert("Der 'Route berechnen' Dienst kann wegen eines Serverfehlers nicht ausgeführt werden. Versuchen Sie es noch einmal."); } }); } function initializePlgPM2() { tstPhocaMapPlgPM2.setAttribute("oldValuePlgPM2",0); tstPhocaMapPlgPM2.setAttribute("refreshMapPlgPM2",0); tstIntPhocaMapPlgPM2 = setInterval("CheckPhocaMapPlgPM2()",500); } google.setOnLoadCallback(initializePlgPM2); //]]>

thx in advance ...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Maps collide with SEO Glossary Plugin

Post by Jan »

Hi, check if the plugin does not render some javascript error which then prevent from displaying other javascript parts on the site:
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
toolbin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Aug 2014, 13:26

Re: Phoca Maps collide with SEO Glossary Plugin

Post by toolbin »

Hi Jan,

thx for your quick answer,
I checked with firebug and become this SyntaxError:

unterminated string literalerrors: content: '<div style="width: 150px;height: 80px;"><div style="font-si

and for each Marker:
TypeError: google.maps.LatLng is not a constructor
var phocaLatLngPlgPM4 = new google.maps.LatLng(48.85837009999999, 2.294481300000...
toolbin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Aug 2014, 13:26

Re: Phoca Maps collide with SEO Glossary Plugin

Post by toolbin »

Hi Jan,
any idea? I have posted before two days....

Message from Firebug console:
SyntaxError: unterminated string literal
content: '<div style="width: 150px;height: 80px;"><div style="font-si

TypeError: google.maps.LatLng is not a constructor
var phocaLatLngPlgPM3 = new google.maps.LatLng(48.6873.......
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Maps collide with SEO Glossary Plugin

Post by Jan »

Hi,
testing now, Joomla 2.5.22 and Phoca Maps component and plugin and get no such problem there :idea:

See image:
Image

If you try to disable all the modules and you switch to standard template, do you get the same problem?

Jan
If you find Phoca extensions useful, please support the project
toolbin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Aug 2014, 13:26

Re: Phoca Maps collide with SEO Glossary Plugin

Post by toolbin »

Hi Jan,

I switched to Beez2, but there was the same problem. The printer icon is shown, but a klick on button an error occurs with error 404 (object not found).
After that I disabled the Content-SEOglossary Plugin than it works.
Interestingly the LINK to the map works and shows the map with the markers.

I don't think there is a problem with the template or another module..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Maps collide with SEO Glossary Plugin

Post by Jan »

Hi, yes, some system plugins can change output include links, etc. on the website, so this needs to be solved in options of such plugins :idea:

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