Set coordinates button doesn't work

Phoca Maps - displaying maps in Joomla! CMS
EllenR
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 19 Jul 2013, 15:09

Set coordinates button doesn't work

Post by EllenR »

On 2 of my new sites, after installing Phoca Maps, the "set coordinates" button doesn't work (it opens a new window but that stays empty) and no map can be made. I do have other similar websites (same structure, same Joomla version, same Phoca Maps version) which do function normally. What can be the problem?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set coordinates button doesn't work

Post by Jan »

Hi, blank page mostly means php error, try to enable php error reporting to see which error you get there.
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
thomas666
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Aug 2013, 10:04

Re: Set coordinates button doesn't work

Post by thomas666 »

Hi all,
I have got the some issue on my joomla 2.5.14 with Phoca Maps component v. 2.0.6

The problem for me was:
- My site use HTTPS protocol, and "google.com/jsapi" from /Administration folder is called from http://
so all my browsers continue to block library downloading

The solution: :twisted:
In file /administrator/components/com_phocamaps/helpers/phocamapsmap.php

Code: Select all

line 69         $scriptLink	= 'http://www.google.com/'.$src;
change to

Code: Select all

line 69         $scriptLink	= 'https://www.google.com/'.$src;
so just add the final "S" to http

cheers :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set coordinates button doesn't work

Post by Jan »

Hi, thank you for the info, in version 3, this can be set in Options.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jheroen
Phoca Member
Phoca Member
Posts: 36
Joined: 23 May 2011, 13:36

Re: Set coordinates button doesn't work

Post by Jheroen »

Great! This fixed my problem :D
Post Reply