Zen Cart Logo
Forums / Customization from the Admin / Cannot log into admin after changing directory name

Cannot log into admin after changing directory name

Locked

Views: 2,097

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Aug 2009, 12:50 PM
#1
brennen avatar

brennen

New Zenner

Join Date:
Aug 2008
Posts:
11
Plugin Contributions:
0

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?

18 Aug 2009, 1:11 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

18 Aug 2009, 1:31 PM
#3
brennen avatar

brennen

New Zenner

Join Date:
Aug 2008
Posts:
11
Plugin Contributions:
0

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.

12 Sep 2010, 4:45 PM
#4
mejohnnyv avatar

mejohnnyv

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

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.

13 Sep 2010, 4:11 PM
#5
fragageddon avatar

fragageddon

New Zenner

Join Date:
Jul 2010
Posts:
79
Plugin Contributions:
0

Re: Cannot log into admin after changing directory name

I always keep a backup up those 2 files especially.