Page 1 of 1

Maps Not diaplying in article or as a menu componet

Posted: 16 Jul 2012, 20:48
by mickenss
I've installed phoca Maps component version 2.0.5 and the plugin version 2.0.5 on Joomla 2.5.6. While they both install successfully I'm unable to get the maps to display as either an article or a menu item component. The from address and the list of markers display fine under the "gray box/frame" where the map data is suppose to appear. I've copied and pasted the code as well as entered it in by hand with the same results.

Below is the code I'm using in my article
{phocamaps view=map|id=2}

Please Help

Re: Maps Not diaplying in article or as a menu componet

Posted: 17 Jul 2012, 22:48
by Jan
HI, can I see the site with the map displayed by component? (without SEF enabled)

Re: Maps Not diaplying in article or as a menu componet

Posted: 18 Jul 2012, 15:43
by mickenss
Below is the url from my development server with SEF turned off

[removed - site does not appear]

Below are the queries that refer to phoca maps (I copied those from debugging out put)

SELECT a.*
FROM rap2z_phocamaps_map AS a
WHERE a.id = 2

SELECT a.*, i.id as iconid, i.url as iurl, i.urls as iurls, i.object as iobject, i.objects as iobjects, i.objectshape as iobjectshape
FROM rap2z_phocamaps_marker AS a
LEFT JOIN rap2z_phocamaps_map AS c
ON c.id = a.catid
LEFT JOIN rap2z_phocamaps_icon AS i
ON i.id = a.iconext
WHERE c.id = 2
AND a.published = 1
ORDER BY a.ordering ASC

1 × SELECT a.*, i.id as iconid, i.url as iurl, i.urls as iurls, i.object as iobject, i.objects as iobjects, i.objectshape as iobjectshape
FROM rap2z_phocamaps_marker AS a
LEFT JOIN rap2z_phocamaps_map AS c
ON c.id = a.catid
LEFT JOIN rap2z_phocamaps_icon AS i
ON i.id = a.iconext
1 × SELECT a.*
FROM rap2z_phocamaps_map AS a

Here is a link to the screen shot of the gray screen

http://grps.org/phoca_map.png

Re: Maps Not diaplying in article or as a menu componet

Posted: 18 Jul 2012, 15:54
by Jan
Hi, I see error on that site.

Check the site with Firefox and see Javascript console, mabe you get there some javascript error which prevents from displaying the map. :idea:

Jan

Re: Maps Not diaplying in article or as a menu componet

Posted: 18 Jul 2012, 16:06
by mickenss
here are 2 errors I see from the JavaScript console. I turned on SEF just fro ease.

Timestamp: 7/18/2012 10:03:59 AM
Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead.
Source File: [removed - site does not appear]
Line: 0

Timestamp: 7/18/2012 10:04:00 AM
Error: JCaption is not defined
Source File: [removed - site does not appear]
Line: 1

Re: Maps Not diaplying in article or as a menu componet

Posted: 18 Jul 2012, 16:25
by Jan
Hi, such errors should be not related to the Phoca Maps, so try to check the javascript output of the libraries which produces such errors - you should get more info in the javascript console or e.g. firebug.

Jan

Re: Maps Not diaplying in article or as a menu componet

Posted: 25 Jul 2012, 17:17
by Jan
Hi, which version of Phoca Maps you are using, seems like the utf-8 characters in the title make the problem on that site :idea:

Jan