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
Maps Not diaplying in article or as a menu componet
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Jul 2012, 20:31
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps Not diaplying in article or as a menu componet
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
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Jul 2012, 20:31
Re: Maps Not diaplying in article or as a menu componet
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
[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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps Not diaplying in article or as a menu componet
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.
Jan
Check the site with Firefox and see Javascript console, mabe you get there some javascript error which prevents from displaying the map.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Jul 2012, 20:31
Re: Maps Not diaplying in article or as a menu componet
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps Not diaplying in article or as a menu componet
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
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Maps Not diaplying in article or as a menu componet
Hi, which version of Phoca Maps you are using, seems like the utf-8 characters in the title make the problem on that site
Jan
Jan
If you find Phoca extensions useful, please support the project