Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2011
    Location
    Vancouver, BC
    Posts
    40
    Plugin Contributions
    0

    help question Moving Installation

    How difficult is it to move a working installation of zencart from

    domain.com/store/
    to
    domain.com/

    I assume just moving all the files from /store/ up a level will break the hell out of everything.

    I assume setting up some kind of redirect will probably be bad for SEO too.

    Insights?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Moving Installation

    Hi Jason

    It is relatively quick (and easy), and fundamentally, requires changes to the configure.php files only.

    There is also a setting that needs changing in the database (sessions directory path) but this can be done after the move.

    There is a TUTORIAL on moving up a level... look under TUTORIALS
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2011
    Location
    Vancouver, BC
    Posts
    40
    Plugin Contributions
    0

    Default Re: Moving Installation

    Quote Originally Posted by schoolboy View Post
    There is a TUTORIAL on moving up a level...
    Here's the link if anyone else is looking/comes across this thread.

    Tutorial

  4. #4
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation

    Hi: I am running ZC 1.3.9 fresh install modified/configured as I want it with no addons.
    I want to move the the site to another folder on the same server however, the directions at https://www.zen-cart.com/tutorials/i...hp?article=122 read:
    "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."
    The ZC 1.3.9 installation that I am running has an Admin > configuration.php file but no such Admin > Configuration directory.
    My site does show basic info but no background color or boxes.
    Where is the file(s) that need to be rewritten / reconfigured in 1.3.9?

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

    Default Re: Moving Installation

    That point has nothing to do with configure.php files or configuration.php files. It's referring to menu options, not directories. Admin has a "Configuration" menu, and in that menu is a "Sessions" option.
    .

    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.

  6. #6
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation


  7. #7
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation

    Quote Originally Posted by DrByte View Post
    That point has nothing to do with configure.php files or configuration.php files. It's referring to menu options, not directories. Admin has a "Configuration" menu, and in that menu is a "Sessions" option.
    Thank you. when I go there I get a page not found error.
    "The requested URL /mysite/admin/configuration.php was not found on this server."
    even though I can see the file there in the directory.
    all of the menu items in the admin area return a page not found error.
    Last edited by davebeing; 14 Oct 2011 at 12:48 AM.

  8. #8
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation

    Now nothing of admin will load. the url returns a page not found error.

  9. #9
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation

    Quote Originally Posted by davebeing View Post
    Now nothing of admin will load. the url returns a page not found error.
    OK so I found that the store/admin/configure.php file was incorrectly modified as:
    define('DIR_WS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    a change to:
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    solved the problem for the admin functionality;
    but the public site still does not load correctly.

    Changing the session directory did not help.
    Last edited by davebeing; 14 Oct 2011 at 01:28 AM.

  10. #10
    Join Date
    Aug 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Moving Installation

    OK I fixed it!!

    the zencart ebook directs the reader to write the configure.php file as:
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    which did not work for me. Instead I wrote it as:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    and it works!!

    Thank you for your time!

 

 

Similar Threads

  1. Moving a test installation
    By HeleneWallis in forum General Questions
    Replies: 4
    Last Post: 27 Jun 2016, 02:38 PM
  2. Moving Basic Installation of Zencart w/ Template
    By nskelley in forum Basic Configuration
    Replies: 7
    Last Post: 17 Feb 2011, 09:18 AM
  3. Moving a zencart installation
    By Cal in forum General Questions
    Replies: 1
    Last Post: 16 Oct 2007, 02:56 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