Page 1 of 1

Phoca Maps and SSL with Chrome

Posted: 11 Apr 2013, 12:23
by wittiko
I tried different Bowsers and saw that Google Chrome was blocking a non secure script.
The result is that the maps are not displayed.
After i looked a bit in the code i found the problem:

In the file helpers/phocamapsmap.php:

Code: Select all

function loadAPI( $src = 'jsapi') {
		$document	= & JFactory::getDocument();
		$scriptLink	= 'http://www.google.com/'.$src;
		$document->addScript($scriptLink);
	}
This fixed coded http link to the script is causing that the map is not displayed. I changed it to https on my server and it is working now. Can someone update the package that it is working with https? I think i'm not the only one who has problems like this.

edit:
Versions: Phoca Maps 3 with Joomla 3

Re: Phoca Maps and SSL with Chrome

Posted: 15 Apr 2013, 23:41
by Jan
Hi, thank you for the info, I will add there new parameter.

Jan

Re: Phoca Maps and SSL with Chrome

Posted: 11 Jun 2013, 18:48
by Jan
Added in 3.0.0 Beta