Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2006
    Posts
    328
    Plugin Contributions
    0

    Default How to move my store to another directory?

    I have been trying to locate the documentation on moving my store (version 1.3) to a new directory within my site but I cannot seem to find it, even in the archives... Could someone let me know where I can see it or let me know the procedure?

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,430
    Plugin Contributions
    6

    Default Re: How to move my store to another directory?

    Basically, it's a standard copy.

    You'll just need to edit the two configure files (admin/includes/ and includes/) to change the effected links.

    HTH
    Did you read the posting tips?!?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,823
    Plugin Contributions
    0

    Default Re: How to move my store to another directory?

    [moderator: Updated link to Wiki for this FAQ]:

    http://www.zen-cart.com/wiki/index.p...Change_Folders
    Last edited by DrByte; 13 Jun 2006 at 05:07 AM. Reason: redirected to wiki

  4. #4
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    321
    Plugin Contributions
    0

    Default Help! Re: How to move my store to another directory?

    I followed the directions here and in the FAQ - easy enough,

    However, it still breaks. I can get a top page, but all the photo links are broken, and all the links on the sidebars are broken.

    It was originally under public_html/public_html, and I wanted to move it to root (public_html).

    I moved it back, restored the 2 config files and its working again, however, I would like to shift it to the root dir.

    Thanks,
    Laura

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,390
    Plugin Contributions
    6

    Default Re: How to move my store to another directory?

    You had it where?

    /public_html/public_html sounds like a mis-configured site ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,430
    Plugin Contributions
    6

    Default Re: How to move my store to another directory?

    Sounds like you didn't change the links in the two configure files after moving the files to the root.

    Make sure you have the proper settings in admin/includes/configure.php AND includes/configure.php

    HTH
    Did you read the posting tips?!?

  7. #7
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    321
    Plugin Contributions
    0

    Default Re: How to move my store to another directory?

    Thanks for the reply,

    Upon initial installation, it said that public_html already existed (which it does, my hosting company has all our visible files under that dir). So I put your public_html under that already existing dir, as I was not ready to migrate yet.

    So - 96 hours later (and no sleep ), I've migrated completely, using redirects . I'd like to get it in the root pubic_html, but even after configuring the 2 files (easy enough), weirdness abounds.

    So I moved everything back, restored my 2 config files and now its working again.

    Any help would be enormously appreciated.

    ~Laura

  8. #8
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    321
    Plugin Contributions
    0

    Idea or Suggestion Success moving directory, but had to do some extra steps...

    Success. Thanks for everyone's input, however I did find that there were a couple of interesting things I ran into:

    In both the /includes/configure.php and admin/includes/configure.php, in addition to modifying the 2 and 3 lines as directed by the documentation, respectively, I also had to modify

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

    as these are relative paths and they were pointing to the former subdirectory that it was in.

    Additionally, I found that it worked better for me to change the session path first in the admin module, then do the other two files. When I tried it the other way, the program kept looping an error message every time i hit "save", by looking for the former subdirectory, and would not save it.

    Don't know if I was doing this bass ackwards, but it's definately been an education

  9. #9
    Join Date
    Jan 2004
    Posts
    60,322
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: How to move my store to another directory?

    Your observations are correct. Will make a note to update the FAQ.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



  10. #10
    Join Date
    Feb 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: How to move my store to another directory?

    thanks for posting about this. I followed the FAQ and got the same weirdness. I too had to revert. I will try it as you suggest.
    Suzanne
    Give us your best shot!
    http://www.photoimprints.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Clean install in sub-directory and move
    By enquirer66 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 6 May 2010, 03:19 AM
  2. how do I move zencart to another directory?
    By MandoThrasher in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 14 Sep 2008, 11:54 PM
  3. Can't figure out how to move from one directory to another
    By weartmc in forum General Questions
    Replies: 9
    Last Post: 2 Jul 2008, 09:00 PM
  4. How to move ZENCART to the parent Directory
    By soultrain99 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Jun 2008, 12:19 AM

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
  •