after applying the fix #141 the map doesn't render because the maps.google scripts are referenced by http:// not https://
Mixed Content: The page at 'https://www.domain.uk/mappage.html' was loaded over HTTPS, but requested an insecure script 'http://maps.google.com/maps/api/js?sensor=false'. This request has been blocked; the content must be served over HTTPS.
I updated core/components/mxcalendars/model/mxcalendars/google_geoloc.class.inc.php
changing
$fullurl = 'http://maps.googleapis.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=true'. (!empty($this->region) ? '®ion='.$this->region : '');
to
$fullurl = 'https://maps.googleapis.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=true'. (!empty($this->region) ? '®ion='.$this->region : '');
and core/components/mxcalendars/model/mxcalendars/mxcalendars.class.php
changing
private function _getMap($address=null,$gmapRegion='',$width='500px',$height='500px', $gmapLib='http://maps.google.com/maps/api/js?sensor=false'){
to
private function _getMap($address=null,$gmapRegion='',$width='500px',$height='500px', $gmapLib='https://maps.google.com/maps/api/js?sensor=false'){
and change
return $googleMap.'<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
to
return $googleMap.'<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
Regards
Keith
after applying the fix #141 the map doesn't render because the maps.google scripts are referenced by http:// not https://
Mixed Content: The page at 'https://www.domain.uk/mappage.html' was loaded over HTTPS, but requested an insecure script 'http://maps.google.com/maps/api/js?sensor=false'. This request has been blocked; the content must be served over HTTPS.
I updated core/components/mxcalendars/model/mxcalendars/google_geoloc.class.inc.php
changing
$fullurl = 'http://maps.googleapis.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=true'. (!empty($this->region) ? '®ion='.$this->region : '');to
$fullurl = 'https://maps.googleapis.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=true'. (!empty($this->region) ? '®ion='.$this->region : '');and core/components/mxcalendars/model/mxcalendars/mxcalendars.class.php
changing
private function _getMap($address=null,$gmapRegion='',$width='500px',$height='500px', $gmapLib='http://maps.google.com/maps/api/js?sensor=false'){to
private function _getMap($address=null,$gmapRegion='',$width='500px',$height='500px', $gmapLib='https://maps.google.com/maps/api/js?sensor=false'){and change
return $googleMap.'<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>to
return $googleMap.'<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>Regards
Keith