Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default move store to a different sub-domain

    hello!

    I want to move my zen cart shop to a different sub domain, that I created.
    how do I do that? Do I just move all the folders or is there a different procedure to do??

    thanks!

  2. #2
    Join Date
    Feb 2007
    Location
    Leicester UK
    Posts
    219
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    Theres instruction in the tutorials section

  3. #3
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    Yes, I found this instructions:

    Moving your site to another folder on your server

    1. Determine the new foldername where your Zen Cart™ files will be running from

    2. 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.

    3. Move/Rename the folder. You may need to use your FTP program to do this.

    4. Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart™ to the right folders. In those files, you need to update several entries to match the new path information:
    DIR_WS_CATALOG
    DIR_WS_HTTPS_CATALOG
    DIR_FS_CATALOG
    DIR_FS_SQL_CACHE
    DIR_WS_ADMIN (in admin)
    DIR_WS_HTTPS_ADMIN (in admin)
    DIR_FS_ADMIN (in admin)

    5. If you could not set the Session Write Directory in step 1 above, you can use a utility to do it for you. The goal is to make sure that the new path information (specifically the DIR_FS_SQL_CACHE setting in your new configure.php file) matches the Session Write Directory setting. If it doesn't, you may end up with difficulties logging in to the Admin area or maintaining login sessions in the store. The Fix Cache Key Utility from the Downloads > Troubleshooting Tools area on the main Zen Cart™ site will help you to do this if you need assistance. There is no harm running it to have it check that things are set properly. Be sure to delete the file from your server when done.



    Determine the new foldername where your Zen Cart™ files will be running from

    is this valid for a subdomain too???

    I'm not sure if I have to change FIRST the Session Directory , and then move the files????

    what happens if I cannot enter the admin panel???

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: move zen cart to a different sub-domain

    Quote Originally Posted by marinela View Post
    Determine the new foldername where your Zen Cart™ files will be running from

    is this valid for a subdomain too???
    Yes ... if the physical path is changing, you need to apply the edits.
    Quote Originally Posted by marinela View Post
    I'm not sure if I have to change FIRST the Session Directory , and then move the files????

    what happens if I cannot enter the admin panel???
    Step 5 is a catch-all for folks that don't do step 2.
    .

    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.

  5. #5
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    one more question,

    is fen cart is in the root directory, what do I write in the next line instead of shop ?

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

  6. #6
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    all right, the thing is not working.

    I would like to change the setting by myself, so this is the inludes/configure.php


    define('HTTP_SERVER', 'http://www.nutricionizam.com');
    define('HTTPS_SERVER', 'https://www.nutricionizam.com');
    ...
    do I have to change the subdomain here? the sudomain name is www.subdomain.nutricionizam.com

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

    this is the old position, now it is located in the root folder od the subdomain, so I was tinking of leaving this empty //

    ...

    define('DIR_FS_CATALOG', '/home/login/public_html/shop/')
    this is the old position, now it is located in the root folder od the subdomain, so I was tinking of renaming to '/home/login/public_html/nutricionist/

    ...

    define('DIR_FS_SQL_CACHE', '/home/login/public_html/shop/cache');
    should this be: '/home/login/public_html/nutricionist/cache' ???
    Last edited by marinela; 14 Oct 2007 at 05:12 PM.

  7. #7
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    all right, I did it!!!!


    now I just have to change permissions to configure.php..... I did it sometine before....but i do not rememeber how i did it!!!!

  8. #8
    Join Date
    Feb 2007
    Location
    Leicester UK
    Posts
    219
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    file manager in your hosting control panel or use your ftp program

  9. #9
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    thanks, it did not work throug the ftp program, but it did through cpanel.

  10. #10
    Join Date
    Feb 2007
    Location
    Leicester UK
    Posts
    219
    Plugin Contributions
    0

    Default Re: move zen cart to a different sub-domain

    Some FTP programs really seem to struggle with changing permissions, CuteFTP won't work on my hosting account but Coffee Cup will???

    Glad to hear you're all set now

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Remove sub-domain access from Addon Domain
    By spawnie69 in forum General Questions
    Replies: 5
    Last Post: 17 Apr 2012, 09:45 PM
  2. Password protected store: how to move new customer sign up to different page?
    By AdaLovelace in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Apr 2011, 11:26 AM
  3. Replies: 1
    Last Post: 2 Jan 2011, 06:28 PM
  4. Replies: 3
    Last Post: 13 Dec 2010, 05:28 PM
  5. Help? Move shop to sub-domain
    By aly22 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 22 Jul 2009, 04:45 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