Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2014
    Location
    Santa Fe, TX
    Posts
    5
    Plugin Contributions
    0

    Default Trying to move cart folder on same server

    I am trying to move my cart from the public_html/cart_name folder to a different folder which would be public_html/new_folder/cart_name

    When I did I followed this thread for assistance http://www.zen-cart.com/wiki/index.p...Change_Folders

    I did the changes it stated and tried to log into the cart and got a 500 INTERNAL SERVER ERROR message. I finally had to reload the cart to the original location so I would not lose business, but I need to move the cart.

    If I load new cart files (being the same version of ZenCart) what files would I need to bring over to keep my customer base and the orders that have already been made....I would like to move it to avoid this long way around though....Pulling whats left of my hair out....

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Trying to move cart folder on same server

    Quote Originally Posted by Brett View Post
    I am trying to move my cart from the public_html/cart_name folder to a different folder which would be public_html/new_folder/cart_name

    When I did I followed this thread for assistance http://www.zen-cart.com/wiki/index.p...Change_Folders

    I did the changes it stated and tried to log into the cart and got a 500 INTERNAL SERVER ERROR message. I finally had to reload the cart to the original location so I would not lose business, but I need to move the cart.
    That Wiki is OLD and the information out dated.. You don't say what version of Zen Cart you are running.. (Makes a HUGE difference) this is pretty easy though.. find all the defines in your configure.php file with a file path, and update them to match the new path..

    Quote Originally Posted by Brett View Post
    If I load new cart files (being the same version of ZenCart) what files would I need to bring over to keep my customer base and the orders that have already been made....I would like to move it to avoid this long way around though....Pulling whats left of my hair out....
    Long way.. so you're looking for a shortcut eh??

    there is no shortcut..

    If you want to move your store to a new folder, you move ALL the files, and update the configure.php with the new path location..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Trying to move cart folder on same server

    Quote Originally Posted by DivaVocals View Post
    That Wiki is OLD and the information out dated.. You don't say what version of Zen Cart you are running.. (Makes a HUGE difference) this is pretty easy though.. find all the defines in your configure.php file with a file path, and update them to match the new path..

    Long way.. so you're looking for a shortcut eh??

    there is no shortcut..

    If you want to move your store to a new folder, you move ALL the files, and update the configure.php with the new path location..
    My recommendation to not miss a beat would be to copy all of the files over to the new location, make the changes that Diva said to make then after testing the site using the new uri, make whatever other changes you need to redirect customers to that location whether it is to update where your domain points (the new sub-folder) or whatever. Between the time of copying and setting the new location as live, don't load any new files or products. (If a new product with an image is loaded in one store, the file for the image would need to be loaded into the other.). Once the new location is active, you will have all of the data present in both store locations and can remove the files from the previous location or in some way keep it to create a development location, but will need a new database so as not to interfere with your active store.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Aug 2014
    Location
    Santa Fe, TX
    Posts
    5
    Plugin Contributions
    0

    Default Re: Trying to move cart folder on same server

    I am using 1.5.1

  5. #5
    Join Date
    Aug 2014
    Location
    Santa Fe, TX
    Posts
    5
    Plugin Contributions
    0

    Default Re: Trying to move cart folder on same server

    Quote Originally Posted by DivaVocals View Post
    That Wiki is OLD and the information out dated.. You don't say what version of Zen Cart you are running.. (Makes a HUGE difference) this is pretty easy though.. find all the defines in your configure.php file with a file path, and update them to match the new path..

    Long way.. so you're looking for a shortcut eh??

    there is no shortcut..

    If you want to move your store to a new folder, you move ALL the files, and update the configure.php with the new path location..

    I am using 1.5.1

    Are these the files I am supposed to change: Moving your site to another folder on your server

    Determine the new foldername where your Zen CartŪ files will be running from
    Go into Admin > Configuration > Sessions and change the Session Directory to reflect the new folder name. If you cannot do this, see the alternate approach in step 5 below.
    Move/Rename the folder. You may need to use your FTP program to do this.
    Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen CartŪ to the right folders. In that file, you need to update several entries to match the new path information:
    DIR_WS_CATALOG
    DIR_WS_HTTPS_CATALOG
    DIR_FS_CATALOG
    DIR_FS_LOGS (since v1.5.0)
    DIR_FS_SQL_CACHE

  6. #6
    Join Date
    Aug 2014
    Location
    Santa Fe, TX
    Posts
    5
    Plugin Contributions
    0

    Default Re: Trying to move cart folder on same server

    Quote Originally Posted by Brett View Post
    I am using 1.5.1

    Are these the files I am supposed to change: Moving your site to another folder on your server

    Determine the new foldername where your Zen CartŪ files will be running from
    Go into Admin > Configuration > Sessions and change the Session Directory to reflect the new folder name. If you cannot do this, see the alternate approach in step 5 below.
    Move/Rename the folder. You may need to use your FTP program to do this.
    Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen CartŪ to the right folders. In that file, you need to update several entries to match the new path information:
    DIR_WS_CATALOG
    DIR_WS_HTTPS_CATALOG
    DIR_FS_CATALOG
    DIR_FS_LOGS (since v1.5.0)
    DIR_FS_SQL_CACHE
    I made these changes after I moved the files as opposed to prior to moving them and that seems to have worked....thanks for all the help.

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Trying to move cart folder on same server

    Quote Originally Posted by Brett View Post
    I made these changes after I moved the files as opposed to prior to moving them and that seems to have worked....thanks for all the help.
    Not for nothing but the instructions are meant to guide on what you need to do AFTER you copy the files over.. You don't make these changes to your live site and THEN copy them over..

    Again.. the instructions you are using are OLD.. and OUTDATED and not based on v1.5.1

    In particular these defines DO NOT require changes in the configure.php file when moving your site..
    DIR_FS_LOGS (since v1.5.0)
    DIR_FS_SQL_CACHE

    These SHOULD look like this:
    define('DIR_FS_LOGS', DIR_FS_CATALOG . 'logs');
    define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG . 'cache');
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. Moving zencart to a new folder on the same server
    By amplexus in forum General Questions
    Replies: 1
    Last Post: 13 Jun 2012, 05:19 PM
  2. Replies: 10
    Last Post: 2 Dec 2009, 12:57 PM
  3. Replies: 2
    Last Post: 24 Feb 2009, 09:43 AM
  4. Trying to Move ZenCart to new folder... Unsuccessful
    By swelter83 in forum General Questions
    Replies: 6
    Last Post: 19 May 2008, 05:18 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