Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009
    Posts
    27
    Plugin Contributions
    0

    Default admin folder name change problem

    http://localhost/mystore/Catalog/zen...ndex.php/admin
    Site not upgraded
    No add ons
    Looked at FAQS and Forum
    Last Frday

    I renamed my admin folder for security purposes and now I cannot open it. I attempted to replace all of the changes back to their original state, but I must have missed something. The attachments show the error dialog. There are some text attachments that show the paths and the upper portion of my configuration file. I am running this on localhost until I perfect my configuration. Then I will move it to a regular server. I hope someone can take a look and provide me some guidance.

    The password is not a problem. It is the changes that I made that now affect the path to the Admin configuration. I can open the regular store.

  2. #2
    Join Date
    May 2008
    Posts
    250
    Plugin Contributions
    1

    Default Re: admin folder name change problem

    Did you change the admin folder name in BOTH of the required sections of the admin/includes/configure.php file?

    Your attachments did not show up and the link is not working so can't look at the exact situation of your site at the moment. Did you take a copy of the file before making the changes? If yes, reload it and make the changes again.

  3. #3
    Join Date
    Oct 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: admin folder name change problem

    Quote Originally Posted by kdays View Post
    Did you change the admin folder name in BOTH of the required sections of the admin/includes/configure.php file?

    Your attachments did not show up and the link is not working so can't look at the exact situation of your site at the moment. Did you take a copy of the file before making the changes? If yes, reload it and make the changes again.
    I checked the attachments. The sizes were too large. These attachments should work better.

    Yes, I made changes in both places. This is a copy of the configuration file after I tried to return it to its original condition:


    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.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
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://localhost');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');

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

    // 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', '/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/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', 'C:/Users/Luther/Documents/catalog/admin/');
    define('DIR_FS_CATALOG', 'C:/Users/Luther/Documents/catalog/');

    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/');
    ##############################################################################################################__
    End of Config file.

    This is the url that I use for the main page:
    For the store: http://localhost/mystore/Catalog/zen...2007/index.php

    For the Admin Page:
    http://localhost/mystore/catalog/zen...min/login.php?

    This brings up the Admin Login page. When I fill out the admin Login dialog box, and click on Login; I am taken to http://localhostdir_ws_adminlogin.php/. The page that comes up now has the error message: "DNS error"-"cannot find the server localhost dir admin login php." It also states, "Oops! This link appears to be broken."

    For clarity I am attaching the jpegs that show all of this.
    Last edited by luther; 27 Feb 2010 at 06:52 AM.

  4. #4
    Join Date
    Oct 2009
    Location
    Columbus, Ohio
    Posts
    38
    Plugin Contributions
    0

    Default Re: admin folder name change problem

    Is your admin directory in root or should the path have /catalog/ in front of it? Like this:
    define('DIR_WS_ADMIN', '/catalog/admin/

 

 

Similar Threads

  1. v150 change main host folder name and admin folder name after install?
    By Johnnycopilot in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Aug 2012, 08:25 PM
  2. Change admin folder name issues
    By i2obert in forum General Questions
    Replies: 5
    Last Post: 24 May 2011, 03:51 AM
  3. Admin folder name change, crashed entire site
    By stefanl in forum Basic Configuration
    Replies: 2
    Last Post: 24 Nov 2009, 05:34 PM
  4. Double checking before I change /admin folder name...
    By bensmumma in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jul 2007, 05:49 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