Zen Cart Logo
Forums / General Questions / admin site not working after SSL install

admin site not working after SSL install

Views: 1,562

Results 1 to 10 of 10
6 Mar 2012, 5:49 PM
#1
kathi_s avatar

kathi_s

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

admin site not working after SSL install

Hi,

We recently switched hosting sites from GoDaddy to InMotionHosting. Site has been working fine until we had the SSL installed. We originally purchased SSL certificate through GoDaddy but had it moved to InMotion yesterday. Now, when logging in to admin site, it takes to admin page, but when I click on anything it takes me back to log in page.

I did change configure files to say "true" for SSL for both catalog and admin. I had to change them back to false in order to be able to use admin area.

Any ideas?

Using 1.3.9h
kathiskrystals.com is the url of site

6 Mar 2012, 8:04 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: admin site not working after SSL install

Did you also change the define server statements to add the s at the end of http?

6 Mar 2012, 11:44 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: admin site not working after SSL install

Clear your browser cache and cookies, and restart the browser.

7 Mar 2012, 2:09 AM
#4
kathi_s avatar

kathi_s

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: admin site not working after SSL install

Thanks for the suggestions.

I did add the s to the define server lines. (I double-checked again to make sure that I didn't miss anything).

I also tried clearing cache and cookies, restarted computer, and then re-opened browser, but it still does not work. Once logged in to the admin page, if I click on anything it takes me back to sign in page.

Any other ideas?

7 Mar 2012, 2:19 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: admin site not working after SSL install

Those symptoms suggest you've got incorrect settings in your configure.php file.

7 Mar 2012, 2:28 AM
#6
kathi_s avatar

kathi_s

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: admin site not working after SSL install

the admin configure.php file?

This is what I have:

define('HTTP_SERVER', 'http://kathiskrystals.com/');
define('HTTPS_SERVER', 'https://kathiskrystals.com');
define('HTTP_CATALOG_SERVER', 'http://kathiskrystals.com');
define('HTTPS_CATALOG_SERVER', 'https://kathiskrystals.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

I could not see any other lines that would have needed to be changed with adding the SSL? Am I missing something?

7 Mar 2012, 4:20 AM
#7
kathi_s avatar

kathi_s

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: admin site not working after SSL install

Firefox, IE and Safari all give me the same result.

7 Mar 2012, 1:46 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: admin site not working after SSL install

At a minimum you need to fix:
define('HTTP_SERVER', 'http://kathiskrystals.com/');

and remove the trailing / on the end whether this is http or https ...

7 Mar 2012, 4:25 PM
#9
kathi_s avatar

kathi_s

New Zenner

Join Date:
Jun 2008
Posts:
17
Plugin Contributions:
0

Re: admin site not working after SSL install

you were right, I had a trailing / in the admin configure file, took it out and all is well!

Thank you!

7 Mar 2012, 5:17 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: admin site not working after SSL install

You are most welcome ... glad this is now working for you ... :smile: