Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default Moving a store within the same host

    Hi,

    While I was waiting for a client to transfer his domain name to the hosting company that I use, I set up his zencart store in a subdomain of my own site (only about 2 weeks ago). Everything is correctly set up and working fine.

    Now we've transferred his domain name, and I've copied all files from the subdomain down to my local machine and then up to his webspace.

    I've updated everything in both configuration files (includes/configure.php and admin/includes/configure.php) to point to the new paths. I've checked and double-checked - all paths are correct.

    Access to the db hasn't changed in any way - same db name, same password, etc.

    Yet when I browse to the new site I get the zc-install message. I know I could go through the process of doing a new install, etc. as per tutorial 100, but I'm really curious as to why the current set-up isn't working. (I'd rather spend twice as long figuring this out this out than do a new install )

    Can anyone think of anything I might have missed?


    Many thanks,

    WP.

  2. #2
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default Re: Moving a store within the same host

    Just to confirm the lines I've changed in each of the configuration files:

    From admin/includes/configure.php

    define('HTTP_SERVER', 'http://www.newsite.com');
    define('HTTPS_SERVER', 'https://www.newsite.com');
    define('HTTP_CATALOG_SERVER', 'http://www.newsite.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.newsite.com');

    define('DIR_FS_SQL_CACHE', '/new path/cache');


    From includes/configure.php

    define('HTTP_SERVER', 'http://www.newsite.com');
    define('HTTPS_SERVER', 'https://www.newsite.com');

    define('DIR_FS_CATALOG', '/new path/');
    define('DIR_FS_LOGS', '/new path/logs');

    define('DIR_FS_SQL_CACHE', '/new path/cache');

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: Moving a store within the same host

    Database credentials? A database you created under your account most likely isn't accessible under your client's.

  4. #4
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default Re: Moving a store within the same host

    Thanks lat9,

    Both sites are in my account - I own the subscription and have multiple sites set up under that subscription. I'm thinking that would make the db accessible from both sites, but I'm open to correction on that.

    Forgot to say, I also went into the db and corrected the entries in the Configuration table for STORE_PAGE_PARSE_TIME_LOG and SESSION_WRITE_DIRECTORY as they had the old values.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: Moving a store within the same host

    The zc_install "message" contains some broad hints to identify why the message was displayed (paths in configure.php or database credentials). What hints does the message you're receiving contain?

  6. #6
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default Re: Moving a store within the same host

    The zc_install message is as follows - it seems to be quite generic, rather than giving any specific reasons why this particular installation is giving problems.

    I've checked everything in the config files, and the db connection info hasn't changed in any way.

    I've also one through everything here: http://www.zen-cart.com/content.php?160 but it all seems to check out correctly.

    Name:  zc_install.jpg
Views: 150
Size:  67.9 KB
    Last edited by WhitePhantom; 31 Mar 2015 at 02:04 PM.

 

 

Similar Threads

  1. v138a Upgrading server within same host
    By heygretchen in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 23 Feb 2012, 04:17 AM
  2. More store in the same host with CEON URI Mapping?
    By shades12345 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Sep 2011, 09:00 PM
  3. Changing domain to another name within same host
    By jackryan in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 3 Dec 2009, 04:52 PM
  4. Moving site contents to different host, but keeping the same database?
    By yelow in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Feb 2009, 05:10 PM
  5. Moving files within same server
    By ellisn in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 10 Aug 2008, 11:27 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