Page 3 of 3

Re: Map not showing

Posted: 01 Nov 2010, 17:07
by Wanderfalke
Due to user command I had to downgrade phocamaps to version 1.0.5.
Now it's working fine.

Re: Map not showing

Posted: 19 May 2011, 13:23
by 1303i
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 script

Code: Select all

<script src="http://www.google.com/jsapi" type="text/javascript"></script>
So I put

Code: Select all

function startJScData() {

		return '<script src="http://www.google.com/jsapi" type="text/javascript"></script><br /><script type="text/javascript">//<![CDATA['."\n";

	}
instead of

Code: Select all

function startJScData() {

		return '<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.

Re: Map not showing

Posted: 07 Jun 2011, 18:26
by Alex_Faerber
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

Re: Map not showing

Posted: 13 Jun 2011, 08:44
by codeless
Same here. No map. Just a box where it should be. Plugin is enabled. Using PHP 5+. Tried replacing code mentioned above. No luck :x

Re: Map not showing

Posted: 20 Jun 2011, 20:04
by bkleine
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
Hi, 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

Re: Map not showing

Posted: 20 Jun 2011, 22:53
by bkleine
I looked that I had a similar problem and therefore I tried to follow these steps.
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)

Code: Select all

function startJScData() {

      return '<script type="text/javascript">//<![CDATA['."\n";

   }
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")


This method worked for me, I hope it can help you too
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.

Cheers
Bernhard

Re: Map not showing

Posted: 26 Jul 2011, 20:16
by Jan
Ok