Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2006
    Posts
    358
    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
    9,106
    Plugin Contributions
    11

    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

  3. #3
    Join Date
    Jun 2003
    Posts
    33,715
    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
    320
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    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

  7. #7
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    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
    320
    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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

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

  10. #10
    Join Date
    Feb 2006
    Posts
    326
    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. v153 Copying Store to another directory 2014
    By msbfrnj in forum General Questions
    Replies: 5
    Last Post: 5 Oct 2014, 05:06 AM
  2. I have installed to a directory. How do I rename or move that directory?
    By nelly7 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 18 Dec 2011, 11:15 PM
  3. Move my ZC store to another directory
    By wilsonshen in forum General Questions
    Replies: 2
    Last Post: 6 Mar 2011, 05:12 PM
  4. 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
  5. 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

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