Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Cannot log into admin after changing directory name

    I am using ZC version 1.3.8, and I just updated my security patch (http://www.zen-cart.com/forum/showthread.php?t=130161). I then proceeded to change the name of my admin folder (https://www.zen-cart.com/tutorials/index.php?article=33). Now, when I try to access my admin page, it shows this text:

    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:
    This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).


    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.


    To begin installation ...
    The Installation Documentation can be read by clicking here: Documentation
    You will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).
    The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.
    Does anybody have an idea what I've messed up?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Cannot log into admin after changing directory name

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

    Probably a typo when you changed the path information in admin/includes/configure.php

    Remember you have to leave the trailing slashes in the path.

    If that wasn't it, post the contents of that file after blanking out user name and password info.

  3. #3
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Cannot log into admin after changing directory name

    stevesh - Thanks for the help. I went back and re-edited my configure.php file and it works now.

  4. #4
    Join Date
    Sep 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Cannot log into admin after changing directory name

    I resolved the same problem I was having. I had the problem because I am a dumb _ _ _.

    In the directions it says:
    Change this section:

    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    And this section:

    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

    I misread this And this section:
    and thought it said Add this section:

    Hope this helps some else so I want feel stupid all alone.

  5. #5
    Join Date
    Jul 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Cannot log into admin after changing directory name

    I always keep a backup up those 2 files especially.

 

 

Similar Threads

  1. v155 cannot log into admin after install
    By earmsby in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 26 Apr 2016, 08:26 PM
  2. v139h Cannot log in into admin after changing host
    By ekele in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2012, 09:17 PM
  3. Cannot log into admin, or user login after moving servers
    By andyase in forum General Questions
    Replies: 2
    Last Post: 4 Apr 2010, 06:59 PM
  4. Problem with Admin after changing directory name for Admin
    By cnymike in forum Basic Configuration
    Replies: 10
    Last Post: 6 Jul 2009, 02:15 PM
  5. error when trying to log into admin after changing admin name
    By pcrcanada in forum General Questions
    Replies: 8
    Last Post: 29 Jun 2009, 08:51 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR