Forums / General Questions / New Server Adnin keeps redirecting to old server Admin

New Server Adnin keeps redirecting to old server Admin

Locked

Views: 1,577

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Jun 2010, 4:20 AM
#1
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

New Server Adnin keeps redirecting to old server Admin

We are upgrading to 1.3.9d and moving hosting at the same time.

We are keeping the existing site live on the current hosting until switchover

I have transferred the existing site to the new server where it is using an alias domain temporarily, i have upgraded it to 1.3.9d and that seemed to go OK, the only issue I am having is i can't access admin

everytime I try to go to the admin link it redirects me to the current sites admin login

i have set

define('HTTP_SERVER', 'http://domainalias.hostingcomp.net');
define('HTTP_CATALOG_SERVER', 'http://domainalias.hostingcomp.net');

in both the config files (this was necessary to make the shop work),

But the admin will not work and i need to get in there to test, its not a massive issue if I can't, its just i can't see why it redirects

Anyhelp would be appreciated

Webzings Design
Semi retired from Web Design

18 Jun 2010, 4:22 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: New Server Adnin keeps redirecting to old server Admin

Check your .htaccess file(s) for rewrites that might be affecting things ...

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!

18 Jun 2010, 4:47 AM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: New Server Adnin keeps redirecting to old server Admin

Ajeh:

Check your .htaccess file(s) for rewrites that might be affecting things ...

nope just my idiocy,
I changed the admin directorys name on the remote server,
but kept uploading my amended config file to admin/includes on the remote server,
so in effect had the 2 "admin" folders on the server and was uploading the file to the wrong one

Cheers for the help as you made me actually check the server folders rather than relying on my local folders

Webzings Design
Semi retired from Web Design

18 Jun 2010, 1:36 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: New Server Adnin keeps redirecting to old server Admin

Thanks for the update that you have this working and for posting the importance of checking what's really on the server vs what we think is on the server ... I have that T-shirt too ... :cool:

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!