Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default 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

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: New Server Adnin keeps redirecting to old server Admin

    Quote Originally Posted by Ajeh View Post
    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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 Mar 2014, 12:46 PM
  2. redirecting to new domain on same server
    By nigelt74 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 13 Jun 2011, 12:00 AM
  3. server migration - can't access admin on new server (APC problem)
    By nathanscrivener in forum General Questions
    Replies: 8
    Last Post: 16 Nov 2010, 07:09 AM
  4. Replies: 2
    Last Post: 24 Feb 2009, 09:43 AM
  5. admin reverts back to old server
    By R-Lo in forum General Questions
    Replies: 2
    Last Post: 17 Oct 2006, 12:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg