Page 2 of 4

Re: Maps not showing in backend or in articles

Posted: 14 Mar 2015, 19:42
by Jan
Hi, when it is enabled in options, it gets the "https" there.

Is your Phoca Maps somehow edited or customized? Becasue testing it now, without any problems, I get normally the https there :idea:

Jan

Re: Maps not showing in backend or in articles

Posted: 16 Mar 2015, 00:50
by a2zcs
No there is no customization.

Re: Maps not showing in backend or in articles

Posted: 20 Mar 2015, 22:16
by a2zcs
What else can it be?

I found where another extension had a similar problem and it was solved, if this helps : bowthemes.com/forums/topic/4141-solved-4r-after-switching-to-ssl-no-map-is-showing/

Re: Maps not showing in backend or in articles

Posted: 21 Mar 2015, 23:10
by Jan
Hi, the solution is to remove protocol so it will be not in conflict with ssl but this was solved in Phoca Maps some years ago with adding both protocols: http:// and https://

:idea:

Jan

Re: Maps not showing in backend or in articles

Posted: 22 Mar 2015, 04:00
by a2zcs
Ok, So how do I remove the protocols?

Re: Maps not showing in backend or in articles

Posted: 23 Mar 2015, 23:46
by Jan
You can change the url here:
administrator\components\com_phocamaps\helpers\phocamapsmap.php
function loadAPI
Jan

Re: Maps not showing in backend or in articles

Posted: 24 Mar 2015, 14:28
by a2zcs
I changed it to the following and it made no difference:

function loadAPI( $src = 'jsapi', $ssl = 0) {
$document = JFactory::getDocument();
if ($ssl == 1) {
$scriptLink = 'www.google.com/'.$src;
} else {
$scriptLink = 'www.google.com/'.$src;
}

$document->addScript($scriptLink);

}

I was able to find a script that controls the SSL redirection and installed it on one site that was having this problem. Then removed the SSL from the map extension. This works, but I'd rather keep the whole thing under SSL

Re: Maps not showing in backend or in articles

Posted: 25 Mar 2015, 00:20
by Jan
To be sure, maybe I am lost in the posts, does it work for you in frontend?

For the backend, I think, this needs to be set on other place?

Jan

Re: Maps not showing in backend or in articles

Posted: 25 Mar 2015, 13:39
by a2zcs
Jan,
This is happening in both the Front End and The Back End. The maps do not show in either. This is also happening on multiple sites and multiple servers where SSL has been installed and forced on entire joomla site through the configuration.

Re: Maps not showing in backend or in articles

Posted: 26 Mar 2015, 22:58
by Jan
Hi, the frontend should work, we have tested it with some users who run SSL, the adding of https:// should do the trick - so when selected in Options, in frontend the http:// will be changed to https:// and this works on SSL sites :idea:

Jan