Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Trying to Move ZenCart to new folder... Unsuccessful

    Hey everyone.
    I have been trying to figure out how to move my Zen-Cart to a new directory/folder and have been VERY unsuccessful at it.
    I have followed the tutorial's outline but it doesn't work
    I have gone into the configure.php for both admin and the includes/configure.php
    then moved my cart from:
    cart.lifewaynutrition.com to this...

    http://www.lifewaynutrition.com/shop

    only to find out it does not work and i get a blank screen or something else.
    since then I have moved the cart back to its default directory of installation:
    cart.lifewaynutrition.com and it's working fine.

    can someone please explain to me in simple terms how to make this transfer?
    I am REALLY confused. Im not stupid, I just need someone that won't mind taking the time to help me understand whats going on so i can get this resolved.

    the reason I want to move the shopping cart is for the SSL reasons, my server has my certificates under lifewaynutrition.com not under the sub-domains.

    Any help will be GREATLY appreciated as always.
    Sorry to be so long winded.
    _/\_/\_Swelter

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

    Default Re: Trying to Move ZenCart to new folder... Unsuccessful

    The tutorial is pretty straightforward.
    https://www.zen-cart.com/tutorials/i...hp?article=122

    Basically, you just alter the paths that are listed in the configure.php files to match the new paths you're moving your files to.

    In your case, it sounds like you're really only renaming from public_html/cart to public_html/shop and changing the URLs to www instead of cart.

    So, you'd follow the pattern of finding all '/cart' references in the files and replacing them with '/shop'.

    Since you're changing from a subdomain to not a subdomain, you'll have to add the foldername to the DIR_WS_CATALOG and DIR_WS_ADMIN and related entries ... ie: '/' becomes '/shop/' and '/admin/' becomes '/shop/admin'
    .

    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.

  3. #3
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Trying to Move ZenCart to new folder... Unsuccessful

    Nice looking site, you did a great job with the graphics and the ambiance of the site.

    Really, the places to make your changes are in the two configure.php files. Make sure that you don't mix them up, the admin and general files have slight differences.

    Make sure you change
    define('HTTP_SERVER', 'http://cart.lifewaynutrition.com');
    to
    define('HTTP_SERVER', 'http://www.lifewaynutrition.com/shop');
    and
    define('HTTPS_SERVER', 'https://cart.lifewaynutrition.com');
    to
    define('HTTPS_SERVER', 'https://www.lifewaynutrition.com/shop');

    AND these to
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    AND
    the physical path needs to be set too!
    define('DIR_FS_CATALOG', '/physical/path/to/your/sites/shop/');
    As Well As
    define('DIR_FS_SQL_CACHE', '/physical/path/to/your/sites/shop/cache');

    Did I miss anything?
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  4. #4
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Trying to Move ZenCart to new folder... Unsuccessful

    THanks for the complement John! :)
    If you would like to see the actual full working site (which is sorta hidden) send me a PM and I can send you the actual address to the main page.

    I R a Web Developer. This is my first Shopping Cart though!
    and thanks for the info on what all to change fellas! :)
    _/\_/\_Swelter

  5. #5
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Trying to Move ZenCart to new folder... Unsuccessful

    lol i hope you didn't miss anything im gonna be trying that move soon... sometime tonight! ;)
    hope it all works!
    _/\_/\_Swelter

  6. #6
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: Trying to Move ZenCart to new folder... Unsuccessful

    Per your PM
    I don't want to quote line numbers because you may have made changes to the files that changed the line numbers.

    Just make those changes in the includes/configure.php and the admin/includes/configure.php and you should be good to go.

    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  7. #7
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Trying to Move ZenCart to new folder... Unsuccessful

    okay thats exactly what i was looking for actually :)
    thanks!
    _/\_/\_Swelter

 

 

Similar Threads

  1. v151 Trying to move cart folder on same server
    By Brett in forum General Questions
    Replies: 6
    Last Post: 16 Aug 2014, 05:36 PM
  2. Replies: 1
    Last Post: 31 Oct 2011, 07:28 PM
  3. Serious Zenner help needed: trying to move to new server
    By paulsschwarz in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 9 Aug 2008, 11:21 AM
  4. How do I move images to a new folder?
    By mcpisik in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Jul 2007, 05:12 AM
  5. How to move product images to new folder
    By Dralion in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Jun 2007, 05:14 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