Results 1 to 10 of 40

Hybrid View

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

    Default Re: Rename Admin folder

    Alright, I disabled SSL and now its working.

  2. #2
    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

  3. #3
    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.

  4. #4
    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

  5. #5

    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.

  6. #6

    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 /

  7. #7
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Rename Admin folder

    Could some one please tell me what to change in the /includes/configure.php file so I can log on admin again. I can't for the life of me figure it out. I have the one in admin/includes/configure.php changed Thank you

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Rename Admin folder

    Quote Originally Posted by countrycharm View Post
    Could some one please tell me what to change in the /includes/configure.php file so I can log on admin again. I can't for the life of me figure it out. I have the one in admin/includes/configure.php changed Thank you
    You don't touch the /includes/configure.php file if you're only renaming your admin folder.

    Only the /YOURADMINFOLDER/includes/configure.php file needs to be edited.

    What changes did you make?


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

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Rename Admin folder

    Hello DrByte, thank you for the reply. This is all I have change, except the admin . I change the name to the same below
    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://www.thegoodshepherdstore.com');
    define('HTTPS_SERVER', 'https://www.thegoodshepherdstore.com');
    define('HTTP_CATALOG_SERVER', 'http://www.thegoodshepherdstore.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.thegoodshepherdstore.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/XYZABC/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/XYZABC/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/content/d/a/r/darlenemolden/html/XYZABC/');
    define('DIR_FS_CATALOG', '/home/content/d/a/r/darlenemolden/html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');


    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/content/d/a/r/darlenemolden/html/cache');

    ?>
    Last edited by DrByte; 6 Sep 2007 at 10:32 PM. Reason: hide real admin folder name

 

 

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