Phoca Maps and SSL with Chrome
Posted: 11 Apr 2013, 12:23
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:
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
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);
}
edit:
Versions: Phoca Maps 3 with Joomla 3