Maps Not diaplying in article or as a menu componet

Phoca Maps - displaying maps in Joomla! CMS
mickenss
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Jul 2012, 20:31

Maps Not diaplying in article or as a menu componet

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

HI, can I see the site with the map displayed by component? (without SEF enabled)
If you find Phoca extensions useful, please support the project
mickenss
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Jul 2012, 20:31

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
mickenss
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Jul 2012, 20:31

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
Post Reply