Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Google maps connection problem

11 years 1 month ago
Licenses:
JomSocial Active

our server.. in wich is installed our website.. has outgoing connection disabled....
We see that when a user edit the profile.. the system try to reach google maps... ( Dont know why)
We have in our firewall disabled that the server can connect to other servers that are not authorized...

How can we disable this connection to google maps? (we think is useless for the our website) we dont need anything for google maps

see attachment

Attachments:
11 years 1 month ago
Licenses:

Hi Victor,

we use google map to retrieving geo location coordinate for each users, and stored it at database.
seem your server block that connection to google map. I suggest you to allow google map connection at your server.

if you want turn off it, you need to changing it at jomsocial core file. and you need to re-apply the changes every upgrade process.
here the steps:
edit /components/com_community/libraries/mapping.php

around line 35, find this functions

static public function getAddressData($address)
and replace this code
$content = CRemoteHelper::getContent($url);
to
$content = '';

Regards

11 years 1 month ago
Licenses:
JomSocial Active

Do you know what are the IP adresses that I have to allow in my firewall

11 years 1 month ago
Licenses:

Hi,

here the IP for maps.google.com/maps/api/geocode/json

216.58.220.142

Regards

11 years 1 month ago
Licenses:
JomSocial Active

There is only one IP? google doesnt has multiple IP adresses or multiple IP servers?
could change that IP in the future?

11 years 1 month ago
Licenses:

Hi,

mostly, IP for domain always dedicated. I suggest you to asking your hosting support. why the google map always block at they server.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW