Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    2
    Plugin Contributions
    0

    Default Moving ZC from root to subfolder

    I'm moving my zencart site from the root directory to a subfolder to password protect the entire store at a folder level in my cpanel. (don't care about seo)

    So here's my prob... the configure.php files.. can you tell me whats wrong here and why i keep getting a blank page??? Subfolder is called "pass"

    (Also realize theres 2 config files and made sure i'm not overwriting the wrong one or anything... help!)

    define('HTTP_SERVER', 'http://www.a1aresort.com');
    define('HTTPS_SERVER', 'https://www.a1aresort.com');
    define('HTTP_CATALOG_SERVER', 'http://www.a1aresort.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.a1aresort.com');

    // 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', '/pass/admin/');
    define('DIR_WS_CATALOG', '/pass/');
    define('DIR_WS_HTTPS_ADMIN', '/pass/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/pass/');

    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', '/var/www/vhosts/a1aresort.com/httpdocs/pass/admin/');
    define('DIR_FS_CATALOG', '/var/www/vhosts/a1aresort.com/httpdocs/pass/');

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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    database error Re: Moving ZC from root to subfolder

    .

    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.

 

 

Similar Threads

  1. Problems moving from subfolder to root
    By innovcap in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 23 Jul 2012, 04:51 PM
  2. Index page is blank after moving from subfolder to root
    By joe051864 in forum General Questions
    Replies: 5
    Last Post: 15 Dec 2009, 09:45 PM
  3. Having trouble moving site from subfolder up to root of domain
    By Tom_Ace in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Oct 2008, 05:03 AM
  4. Moving zencart from subfolder to root
    By vito in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 3 Oct 2008, 06:24 AM
  5. Moving Cart from Root to Subfolder - Not Working!!
    By routineisforrobots in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 26 Aug 2008, 08:45 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