Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    Wimberley, TX
    Posts
    49
    Plugin Contributions
    0

    Default Problem moving folder from sub-root to root

    I'm confused. When I installed Zen Cart, I followed directions (I thought) from the ZC tutorials and the host, and installed in a folder I called /estore . Have figured out that's actually a sub-directory - no problem while I learned the basics. I have customized the layout, and am still working on it. Everything appears to be working great, and having no problems adding cats or products. However, I'm trying to move the /estore folders and files (not the parent folder itself) into the root folder so that the site opens with the actual URL.

    I have followed the steps contained in https://www.zen-cart.com/tutorials/index.php?print=122:

    1. admin>configuration>sessions - shows D:Hosting#######htmlestore/cache - removed the word estore

    2. moved all folders and files within the /estore folder to the root folder MYDOMAIN.com/

    3. removed the word "estore" from the following in /includes/configure.php file, leaving a blank between the two slashes:
    DIR_WS_CATALOG
    DIR_WS_HTTPS_CATALOG
    DIR_FS_CATALOG
    DIR_FS_SQL_CACHE

    4. removed the word "estore" from the above "defines" in /admin/includes/configure.php file, leaving a blank between the two slashes, plus the additional:
    DIR_WS_ADMIN
    DIR_WS_HTTPS_ADMIN
    DIR_FS_ADMIN

    I reviewed eveything in those two files, and made sure the word "estore" didn't appear anywhere. These changes were done in my offline editor.

    I then uploaded with my FTP client (inside my host's cpanel) these two files into the folders I had moved in to MYDOMAIN.com/ root folder. When I tried to open my site, I got an error code 500, I think it was. I then put everything back to where it was, and was still able to open my site with /estore attached to the URL.

    I've tried it twice - what the heck am I leaving out? Any help would be appreciated - got two different answers from the host's techies.

    Have a great evening!

    Cowboy

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Problem moving folder from sub-root to root

    The first two should look like this:

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

 

 

Similar Threads

  1. Replies: 23
    Last Post: 8 Oct 2014, 05:32 AM
  2. Moving a store to the root directory from a sub-folder
    By Hell Guapo in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2011, 05:51 PM
  3. Moving Site from Sub-folder to Root
    By willchen88 in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 7 Aug 2011, 06:47 AM
  4. Moving upgrade to root folder
    By peedeefish in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 13 Jan 2011, 02:48 AM
  5. Moving Zen Cart to root folder
    By trialsmom in forum General Questions
    Replies: 2
    Last Post: 2 Oct 2008, 10:12 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