Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Switched hosts, everything works but admin login

    I just switched hosts and reinstalled on the new server, replaced the database with the old on and maintained the new configure.php files. Everything works and looks great except when I try to login to the admin.
    It takes me to the admin login but once I put in my username and password, which is correct, it redirects me to the customer login.
    Thanks in advance for any help you can give!

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Switched hosts, everything works but admin login

    It sounds like a problem with your admin/includes/configure.php file.

    Vger

  3. #3
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Switched hosts, everything works but admin login

    I have checked and rechecked this and compared it to a fresh install and the old install. All of the settings seem right. I can get to the admin login panel but when I login it redirects me to the customer login.

    It seems like it isn't pointing to the admin but instead the customer. I have seen this problem a lot on the board but no solution.

  4. #4
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Switched hosts, everything works but admin login

    Also...it is pointing to the shop/index.php when I go to shop/admin instead of shop/admin/index.php Any clue what file points it there...maybe it needs to be corrected?

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Switched hosts, everything works but admin login

    All of the settings seem right
    These 3 settings in your adminfoldername/includes/configure.php file need to contain the name of the 'admin' folder as part of the pathway. These are posted as an example only and will not match the settings of your own website:

    define('DIR_WS_ADMIN', '/zencart/admin/');
    define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
    define('DIR_FS_ADMIN', '/your/path/to/root/goes/here/zencart/admin/');

    Vger

 

 

Similar Threads

  1. Replies: 6
    Last Post: 16 Feb 2015, 07:16 PM
  2. v151 V151 Admin login works but takes me to a blank page HELP
    By ckfs1 in forum General Questions
    Replies: 2
    Last Post: 16 Nov 2014, 12:42 PM
  3. Switched hosts- Now how do I transfer my customers/orders?
    By bhensarl in forum General Questions
    Replies: 1
    Last Post: 16 Nov 2010, 04:56 PM
  4. Everything works on purchase, but shows 0 bytes and no DL button?
    By OrcaSoul in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Apr 2010, 11:21 AM
  5. Switched hosts and Paypal Express still does not work
    By Sheehan in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 14 Jun 2007, 09:02 PM

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