Forums / General Questions / admin site not working after SSL install

admin site not working after SSL install

Started by kathi_s on 6 Mar 2012, 5:49 PM · Views: 1,661

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?

The best way to learn is to try stuff. But, back it up first.

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

drbyte

Sensei

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

Re: admin site not working after SSL install

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

.
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.

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,511
Plugin Contributions:
176

Re: admin site not working after SSL install

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

.
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.

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 ...

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!

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:

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!