Results 1 to 10 of 40

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Rename Admin folder

    Quote Originally Posted by axip View Post
    I did, I even took over the path of the tutorial and searched in the config file.

    Tried different names everything.

    But my host already has a default folder named admin for my site configuration(MySQL Db, Users etc), maybe this is causing problems?

    Can I try changing the names before install and see how that works?
    No, the fact that your host already has a folder called "admin" does not matter. I have numerous sites running on hosts that have an "admin" folder and it makes no difference when you rename as long as you set your paths in the config file correctly (make sure you have included all the trailing slashes, and you do not need to actually reference the file in the url ... just the path to the directories will do).

    The process is:

    1) Rename the admin folder
    2) Change the proper lines in the admin config file.
    3) Change the proper lines in the catalog config file.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #2
    Join Date
    Apr 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Rename Admin folder

    Wait a minute, the tutorial doesn't say anything about a catalog config file,
    only a admin config file, maybe that's the issue? Could you give me details on how to edit the catalog config file?

  3. #3
    Join Date
    Apr 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Rename Admin folder

    Here I posted everything I changed here. This is obvioulsy the changes done in the admin/includes/configure.php file

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

    define('DIR_FS_ADMIN', '/var/www/html/admin/');
    define('DIR_FS_CATALOG', '/var/www/html/');


    I changed this into this:


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

    define('DIR_FS_ADMIN', '/var/www/html/axcd2/');
    define('DIR_FS_CATALOG', '/var/www/html/');


    But I still get the error?

  4. #4
    Join Date
    Apr 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Rename Admin folder

    Alright, I disabled SSL and now its working.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Rename Admin folder

    Quote Originally Posted by axip View Post
    Alright, I disabled SSL and now its working.
    Glad to hear that.

    For future reference to your question about the "Catalog config" file, open that file up /includes/configure.php and look for the SSL switches as well as the Admin switches. It looks identical (for the most part) to the one found in the Admin.

    Simply make sure your paths there match to those (where applicable of course) in the Admin config file.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #6
    Join Date
    Jul 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Rename Admin folder

    Perhaps the tutorial should be updated to include this?

    For future reference to your question about the "Catalog config" file, open that file up /includes/configure.php and look for the SSL switches as well as the Admin switches. It looks identical (for the most part) to the one found in the Admin.

    Simply make sure your paths there match to those (where applicable of course) in the Admin config file.




    One more hour of frustration here.

  7. #7
    Join Date
    May 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Rename Admin folder

    Dr Byte, you have saved my bacon! I removed the paths that Dreamweaver added with the marvelous WinMerge and am back up and running! I can't thank you enough

  8. #8

    Default Re: Rename Admin folder

    Quote Originally Posted by econcepts View Post
    Glad to hear that.

    For future reference to your question about the "Catalog config" file, open that file up /includes/configure.php and look for the SSL switches as well as the Admin switches. It looks identical (for the most part) to the one found in the Admin.

    Simply make sure your paths there match to those (where applicable of course) in the Admin config file.
    Hi, I am having this problem, I have changed every instance of admin to a new name in admin/includes/configure.php but can only log in when SSL is off.

    In the other configure.php file there are no references to admin and I can't see anything else I could change.

    Any help appreciated.

  9. #9

    Default Re: Rename Admin folder

    Quote Originally Posted by EyefulTower View Post
    Hi, I am having this problem, I have changed every instance of admin to a new name in admin/includes/configure.php but can only log in when SSL is off.

    In the other configure.php file there are no references to admin and I can't see anything else I could change.

    Any help appreciated.
    D'oh!

    There was a glaring error, isn't there always.

    I was using a shared SSL and was using

    https:/www.sitewithssl.co.uk/subdirectorywheremysiteis/

    and it works without the trailing /

 

 

Similar Threads

  1. Log in after rename Rename "admin" folder does not work
    By flashmxfreak in forum General Questions
    Replies: 3
    Last Post: 3 Sep 2011, 12:38 PM
  2. Admin Pages Broken After Rename of Store Admin Folder
    By sarshmeh in forum Basic Configuration
    Replies: 4
    Last Post: 26 Mar 2010, 02:41 AM
  3. Rename Admin folder
    By alimtlai in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 4 Jan 2010, 12:27 PM
  4. Is it ok to Rename the admin folder?
    By nickbowers in forum General Questions
    Replies: 6
    Last Post: 21 Mar 2008, 06:18 AM
  5. Links in Admin area don't work after admin folder rename
    By bhfruitcakeco in forum General Questions
    Replies: 8
    Last Post: 27 Dec 2007, 06:55 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