Due to user command I had to downgrade phocamaps to version 1.0.5.
Now it's working fine.
Map not showing
-
- Phoca Newbie
- Posts: 7
- Joined: 11 Mar 2010, 14:32
Re: Map not showing
Thank you! I had the same problem and this code has resolved it!
senza wrote:I have installed component and plugin and all seems ok but the maps are not displayed, after some search I found that in my joomla page there is not the code to the google scriptSo I putCode: Select all
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
instead ofCode: Select all
function startJScData() { return '<script src="http://www.google.com/jsapi" type="text/javascript"></script><br /><script type="text/javascript">//<![CDATA['."\n"; }
in file administrator/components/com_pochamaps/helpers/phocamapsmap.php at line 95 and now the maps are ok, I hope that this help.Code: Select all
function startJScData() { return '<script type="text/javascript">//<![CDATA['."\n"; }
-
- Phoca Newbie
- Posts: 1
- Joined: 07 Jun 2011, 12:47
Re: Map not showing
Hi,
I have a similar Problem - the Map is not showing in the article - surprisingly the Popup is working and displaying the map!
I have tried the procedure replacing the code in phocamapsmap.php but without success.
Any other idea how I can bring the component to work??
The site is www.wutach.org
Thanks!
Alexander
I have a similar Problem - the Map is not showing in the article - surprisingly the Popup is working and displaying the map!
I have tried the procedure replacing the code in phocamapsmap.php but without success.
Any other idea how I can bring the component to work??
The site is www.wutach.org
Thanks!
Alexander
-
- Phoca Newbie
- Posts: 1
- Joined: 02 Mar 2011, 13:34
Re: Map not showing
Same here. No map. Just a box where it should be. Plugin is enabled. Using PHP 5+. Tried replacing code mentioned above. No luck
-
- Phoca Member
- Posts: 14
- Joined: 18 Feb 2011, 09:33
Re: Map not showing
Hi, Alexander!Alex_Faerber wrote:Hi,
I have a similar Problem - the Map is not showing in the article - surprisingly the Popup is working and displaying the map!
I have tried the procedure replacing the code in phocamapsmap.php but without success.
Any other idea how I can bring the component to work??
The site is http://www.wutach.org
Thanks!
Alexander
I opened your site and I got an error indicating that your api-key is probably not correct, that is it may be generated for another website. I suggest that you try to get another key for www.wutach.org.
Greetings from your neighbourhood!
Bernhard
-
- Phoca Member
- Posts: 14
- Joined: 18 Feb 2011, 09:33
Re: Map not showing
I looked that I had a similar problem and therefore I tried to follow these steps.
Cheers
Bernhard
To my surprise I could not find the file phocamapsmap.php at the place, which helped to solve my problem. I had copied the whole joomla installation to a another folder and my links still pointed to the old installation. When I renamed the older folder, I could see the problem and reinstall phocamaps component and plugin as well as googlemap plugin. Thus I would like to thank here for pointing me to the correction of my errors.senza wrote: 2)download from your site this file "administrator/components/com_pochamaps/helpers/phocamapsmap.php", open it and search this code (around line 95)
3) replace this code with the code that you have copied before, save and upload the file (in "administrator/components/com_pochamaps/helpers/phocamapsmap.php")Code: Select all
function startJScData() { return '<script type="text/javascript">//<![CDATA['."\n"; }
This method worked for me, I hope it can help you too
Cheers
Bernhard
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: