Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 SSL problem on contact us link
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayceew
VP-CART New User

USA
114 Posts

Posted - May 20 2010 :  19:14:35  Show Profile  Reply with Quote
Hi All,
Anyone having problems with the google map on the contact us page ( shopcustcontact.asp )breaking your SSL link? I'm using BYZ domain tools but it even happens when I turn it off.
Jack

support
Administrator

4679 Posts

Posted - May 26 2010 :  02:13:01  Show Profile  Visit support's Homepage  Reply with Quote
Hi Jack,

If you like i could fix up some code to hide the Google Map if on SSL mode?

Let me know if this is the approach you would like to take.

Thanks
Cam

VPASP Support
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - June 02 2010 :  21:43:17  Show Profile  Reply with Quote
Hi Cam,
That would be really great, or if it's easier tell me what bits to take out to remove the google map. I have to leave the map on in admin because I use it for a directions page. but I really don't need it on the contact us page.
Thanks
Jack
Go to Top of Page

support
Administrator

4679 Posts

Posted - June 03 2010 :  04:14:31  Show Profile  Visit support's Homepage  Reply with Quote
Hi Jack,

We have actually implemented these changes into Service Pac 1 as well.

1. Open root\shopgooglemap.asp

Locate the following:

Sub Displaygooglemap

On the line below Sub Displaygooglemap add

'700 - 2010.05.21 - Enhancement: Hide Google Map is in SSL mode
if lcase(request.ServerVariables("HTTPS")) = "on" then exit sub

Try this and see how it goes.

Thanks
Cam

VPASP Support
Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 03 2010 :  08:29:20  Show Profile  Visit devshb's Homepage  Reply with Quote
we've just found the following lines on shopcustcontact.asp which were breaking the page on ssl when the page wasn't in the root browsable folder.

if lcase(request.ServerVariables("HTTPS")) = "on" then
response.Redirect "http://"& request.ServerVariables("SERVER_NAME") & xmysite2 &""& request.ServerVariables("SCRIPT_NAME") &""
end if

it was doubling-up the folder part of the url to a format like:
https://www.mysite.com/shop/shop/shopcustcontact.asp
instead of:
https://www.mysite.com/shop/shopcustcontact.asp

Our solution was to comment-out those lines in shopcustcontact.asp and use the domain tools options/configuration instead (BYZ044).

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
www.BigYellowKey.com
Follow us on Twitter: http://twitter.com/bigyellowzone
Web Design, Online Marketing and VPASP addons
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - June 05 2010 :  10:31:42  Show Profile  Reply with Quote
Thank you Cam and Simon. Fantastic support from both VPASP and BYZ as always.
Thanks again
Jack
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - July 17 2010 :  16:44:48  Show Profile  Reply with Quote
Hi All,
I ended up taking the google map code out of the page.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00