Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 26 guests online

Affiliates



Community Forums

NOTE: Subscribers, please post in the SUBSCRIBER FORUMS - NOT IN THE COMMUNITY FORUMS

homepost replythreaded viewruleshelp
 
georges
Fresh Boarder
 
https for gmaps - 2008/09/17 17:40
I need help with this one guys, I don't know if i'm missing something or not...

I have my website set on regular non-secure http:, but when I have a member log in the site goes into secure https:. However, when using Gmaps I get the

_GM_ERROR_201(mosConfig_live_site = http://www.mysite.com)
_GM_ERROR_201a

because I am using https: instead of http:.

Is there a fix for this or any suggestion on how to fix this issue. Thanks in advance...
GS
The administrator has disabled public write access.

support
Admin
 
Re:https for gmaps - 2008/09/19 20:45
Good question. I haven't never tested anything with HTTPS. However, that particular error means it can't locate a configuration for the site. It is based on the mosCOnfig_live_site variable in Joomla. One way to override is to edit your configdao.class.file and change the first funciton in there. Change the SQL to pull whatever your URL is within the gmaps config.

sorry for slow response. I've been wrapping up a project.

Email me if this doesn't make sense or if you have issues.

Chris
The administrator has disabled public write access.

ksorbo
Fresh Boarder
 
Re:https for gmaps - 2008/10/19 16:17
I had the same problem.

I replaced line 50
Code:

 $query 'SELECT * from #__gmaps_config where site = "' $mosConfig_live_site '"';


with
Code:

 $query 'SELECT * from #__gmaps_config limit 1';            



Is there any problem with this approach? I.e., is there a possibility that there are more than one row in this config file?
The administrator has disabled public write access.

support
Admin
 
Re:https for gmaps - 2008/10/21 18:51
Great idea! Never thought of that. The only issue is if you run two sites off of one Joomla instance. I've never done it but it can be done. I think you'll be good.

Chris
The administrator has disabled public write access.

georges
Fresh Boarder
 
Re:https for gmaps - 2008/10/24 14:21
Perfect........

It works like a charm and I can't thank you enough for that tip. I only have one site for now so well see what happens later on but for right now it works like a charm.
The administrator has disabled public write access.