If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Login Issues With Subdomain after installing SSL

Login Issues With Subdomain after installing SSL

Started by ckelley on 11 Apr 2013, 5:00 PM · Views: 1,713

Results 1 to 10 of 10
11 Apr 2013, 5:00 PM
#1
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #1 by ckelley

Our main store had SSL already at https://www.syntheticmotorsports.com. But we wanted to install SSL on our sub domains as well. One of them is working without issues at all at https://fordraptor.syntheticmotorsports.com. However, at our other sub domain https://dealers.syntheticmotorsports.com. "Customers" can login normally using firefox and IE but not with Chrome. I have gone through the configure.php files and everything "LOOKS" ok, but I can't figure out why the login isn't working in Chrome for just the one subdomain. Can someone point me in the general direction of what could be causing this issue?

Thank you in advance for the assistance...

11 Apr 2013, 6:01 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

I have accounts on both sites, and appear to be able to login with FireFox and Chrome ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Apr 2013, 6:11 PM
#3
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #3 by ckelley

Ok, so that was you that I got the notification for the new account. Thank you. I don't understand what is going on. The hosting company (URLJET) began working on the SSL installation for us a couple of days ago. We originally asked for separate SSL certs for the main domain and one each for the sub domains. But while I wasn't available for consultation they talked my business partner into a shared SSL cert and ever since then we have been plagued with oone programming issue after another. In the beginning, the CSS disappeared, but I figured that out with the Configure.php settings.

But, now, for example. The login is now working again, but if you go to https://syntheticmotorsports.com it works, but if you go to either https://www.syntheticmotorsports.com or https://www.syntheticmotorsports.com, both of those urls revert to the CSS and layout of https://dealers.syntheticmotorsports.com without changing the url in the address bar to match. This is TRULY confusing me. especially since these issues are changing without me making changes in the databases to make the changes happen. Could it be the shared SSL installation itself that is causing these issues?

11 Apr 2013, 6:13 PM
#4
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #4 by ckelley

WOW, in the time it took me to write that last post, https://www.syntheticmotorsports.com began working as normal.

This is SO confusing.

But I want to thank you for attempting to help us out on this.

11 Apr 2013, 6:17 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Bad hair day on the web ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Apr 2013, 6:22 PM
#6
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #6 by ckelley

I guess. Man this is frustrating...lol

30 Apr 2013, 11:16 PM
#7
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #7 by ckelley

Ok, I have since moved some of my stuff to a new host, new domain name, new ssl, etc. But believe it or not I am having the same login issues again. I am not using the main domain name at this point, only redirecting it to the sub domain. All ssl, ht.access, etc is presumably set up correctly because everything else works fine, including logging into the admin area. But customers can neither login or register. Can anyone help me with this please?

1 May 2013, 1:41 AM
#9
ckelley avatar

ckelley

New Zenner

Join Date:
Jul 2012
Posts:
53
Plugin Contributions:
0

Post #9 by ckelley

I DID figure out that everything with the login is working fine in Internet Explorer and FireFox, but Chrome won't allow login. Anyone have any ideas?

1 May 2013, 1:55 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #10 by drbyte

Chrome does things differently with cookies.
If you're brave and don't mind risking getting completely locked out of both your store and your admin, you can adjust these two settings:

(NOTE: I've never personally had problems with Chrome when using the defaults for these settings)

**WARNING: Messing with ANY of these sessions settings exposes you to security risks and potentially broken sites!!!!!!!
The defaults are the best and most universally suitable settings, and should rarely be changed!
**

Admin->Configuration->Sessions->Use root path for cookie path
Admin->Configuration->Sessions->Add period prefix to cookie domain

In case you missed it the first time:
**WARNING: Messing with ANY of these sessions settings exposes you to security risks and potentially broken sites!!!!!!!
The defaults are the best and most universally suitable settings, and should rarely be changed!
**

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.