Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Where is the Zen Cart™ /admin/ directory?

    Hello--i'm trying to make my site secure by changing "admin" to something else. i've been following this tutorial line by line:

    https://www.zen-cart.com/tutorials/index.php?article=73

    but I'm stuck at Step 2B:

    "B - Find your Zen Cart™ /admin/ directory, using your FTP software or your webhost File Manager. Rename the directory to match the settings you just made in step A."

    what's driving me crazy is, i can't find the "Zen Cart™ /admin/ " directory anywhere. the step refers to a step A--that's the admin for the site--but where's the zencart admin directory? I can't even find a directory called zencart.

    Please help as I can't move forward (I can't even get back into my /admin until i complete the job completely).

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Where is the Zen Cart™ /admin/ directory?

    Where did you install Zen Cart?

    At the root? or /public_html/

    In a folder? /public_html/your_folder_name

    Or????

    Try posting from your configure.php file the following line that you have
    Code:
      define('DIR_WS_CATALOG', '/');

  3. #3
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Where is the Zen Cart™ /admin/ directory?

    I already changed "admin" in admin/includes/configure.php

    but the instructions say to do it in the zencart admin as well.

    i installed zencart on the root or the "/'.

    this:

    define('DIR_WS_CATALOG', '/');

    i see in

    admin/includes/configure.php

    and that where i changed admin already. but does

    define('DIR_WS_CATALOG', '/');

    also exist somewhere else other than

    admin/includes/configure.php?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Where is the Zen Cart™ /admin/ directory?

    i installed zencart on the root or the "/'.
    Then your current non-renamed admin folder exists at the root or at /admin and you should see it with your FTP client - might have to refresh your FTP view???
    I already changed "admin" in admin/includes/configure.php
    If you changed this then you already know where your admin is!!
    in admin/includes/configure.php

  5. #5
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Where is the Zen Cart™ /admin/ directory?

    >If you changed this then you already know where your admin is!!
    in admin/includes/configure.php

    that's ONE admin--according to the instructions, there a whole other set....this is driving me crazy--cause the instructions make it sound so simple---just find the admin in your zencart (and not the admin in the site itself...) here's what the instructions say---I did Part A no problem, now i'm stuck on B:

    2. Rename your /admin folder

    It is recommended for additional security that you rename your admin directory after installation. This way, it will be significantly harder for hackers to find your admin area or attempt any attack on breaking into it.


    (Before making the following changes, make sure to have a current backup of your files and your database.)


    A - Open your admin/includes/configure.php, using a simple text editor like notepad. Change all instances of admin to your chosen new admin folder-name. For maximum security, you may want to consider that new folder name should include numbers and a combination of upper and lower case letters. The longer you make this folder's name the more secure it will be. Make sure you leave all the / intact.


    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/');


    You will end up with something that looks like this:

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


    And:

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



    B - Find your Zen Cart™ /admin/ directory, using your FTP software or your webhost File Manager. Rename the directory to match the settings you just made in step A.


    Please help (and thanks for your help thus far!)

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Where is the Zen Cart™ /admin/ directory?

    just find the admin in your zencart (and not the admin in the site itself...
    There is only one!!!

    Rename the dir/folder "/admin/" to what you entered in your configure.php files( you did edit both - correct?)

  7. #7
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Where is the Zen Cart™ /admin/ directory?

    hmmm...i figured out why i couldn't get into it---it seems that the changes i made to the configure.php file did not take. when i went to make them again and hit save on my webftp (that's the only php editor i have), it said, 'file could not be saved'. hence it didn't match the name of the folder i made---i changed the dir back to admin and it works fine again....

    so--two questions--

    1. how do change the php file so that i'm allowed to make the change OR
    2. is all this necessary anyway????

    Thanks!

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Where is the Zen Cart™ /admin/ directory?

    1. how do change the php file so that i'm allowed to make the change
    You have to be able to upload changed files...might get filezilla FTP client

    2. is all this necessary anyway????
    Only if you want to be more secure...

    To alter other things the first item must be addressed

  9. #9
    Join Date
    Feb 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Where is the Zen Cart™ /admin/ directory?

    HTML Code:
    Only if you want to be more secure...
    
    To alter other things the first item must be addressed
    do most people do this, do you know? i have pretty small store and plan to charge cc numbers manually.

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Where is the Zen Cart™ /admin/ directory?

    do most people do this, do you know?
    Only if they are smart!!

    But

    You have to be able to upload changed files

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. where is admin log in when zen cart installed at root?
    By osso12 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 14 Jun 2011, 09:25 AM
  2. How do I rename the zen cart directory?
    By trevorwood in forum Installing on a Windows Server
    Replies: 9
    Last Post: 20 Dec 2010, 01:07 PM
  3. On Shared Server and cannot see directory where zen cart is installed
    By thss.consultant in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 21 Feb 2010, 01:14 AM
  4. Should I install Zen Cart in the root of my site? or in a directory? What about SEO?
    By Berserker in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 8 Oct 2009, 02:26 AM
  5. Replies: 1
    Last Post: 28 Sep 2007, 03:43 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