Zen Cart Logo
Forums / General Questions / Admin links return to login page when SSL enabled

Admin links return to login page when SSL enabled

Views: 871

Results 1 to 5 of 5
20 Nov 2012, 10:46 PM
#1
kromak avatar

kromak

New Zenner

Join Date:
Feb 2011
Posts:
15
Plugin Contributions:
0

Admin links return to login page when SSL enabled

Hi,

I have just migrated servers and I am having a problem with my SSL admin. When enabled, after I log in I get to the main admin screen, but if I click anything I just end up at the log in screen again. I have no errors showing up.

I have read through various topics for this and have found no answer. I have checked all my configure.php files and used the fix_cache_key.

I have a feeling it is something to do with a cached session but I could be wrong,

Btw, everything else works fine on the site and the admin works with SSL disabled.

Help is much appreciated

Thanks

20 Nov 2012, 11:12 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin links return to login page when SSL enabled

Post the contents of your admin configure.php file here, without the DB password

Use the "code" tags

20 Nov 2012, 11:26 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Admin links return to login page when SSL enabled

Have you cleared your browser's cache and cookies? Is this "shared SSL" or "dedicated SSL"?

21 Nov 2012, 4:58 PM
#4
kromak avatar

kromak

New Zenner

Join Date:
Feb 2011
Posts:
15
Plugin Contributions:
0

Re: Admin links return to login page when SSL enabled

Problem resolved now.

Turns out some of the configure files in the secure subdomain folder needed to have the folders reconfigured to point to the secure folder. I thought only the references to the SSL would need to be changed but it turns out not so. Strange as this worked fine on the other server and this was a direct cpanel migration.

Anyway, my new host got this sorted.

Thanks for the help

21 Nov 2012, 5:48 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Admin links return to login page when SSL enabled

Kromak:

I thought only the references to the SSL would need to be changed but it turns out not so.Under normal circumstances only the URL needs changing, and only in the configure.php file. And in a server move also the paths need to be set correctly, also in the configure.php file.
But from what you said your resolution was, it sounds like your new host has a more (and probably unnecessarily) complicated setup.

If you have any more problems with odd behavior with your site, make sure you get your host involved early, because the problem could very well be theirs.