Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default Problems making a clone site

    Hi all,

    I have a highly customised shop running 1.3.7 which is working perfectly. I have a second business running a CMS on a ASP system and I want to move it to the same host as my Zen shop and also run it on zen.

    For testing I would like to make a copy of my existing zen site and install a new applezen template and get it working on a sub directory of the existing web space.

    I want it to be a clone so that all the functionality mods are kept and both sites are the same version, rather than starting from scratch.

    I have done most of this including a copy of the database and the admin works OK but only the home page seems to work in the catalogue. When I click any link other than home, it takes me to the existing site and switches databases.

    Existing shop is in the root directory (waycool.com.au/) and the test copy is underneath (waycool.com.au/testtc/)

    I've change both of the configure files to the location of the subdirectory. Is there some other file that needs changing to make the test cart work in the subdirectory??

    Is ther some reason this won't work??
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

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

    Default Re: Problems making a clone site

    Make sure BOTH configure.php files point to the new location AND the new database.
    20 years a Zencart User

  3. #3
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default Re: Problems making a clone site

    As far as I can tell I have already done that.
    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://www.waycool.com.au');
      define('HTTPS_SERVER', 'https://www.waycool.com.au');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/testtc/');
      define('DIR_WS_HTTPS_CATALOG', '/testtc/');
    
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
      define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    
      define('DIR_WS_PHPBB', '/hsphere/local/home/waycool/waycool.com.au/forum/');
    
    // * DIR_FS_* = Filesystem directories (local/physical)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', '/hsphere/local/home/waycool/waycool.com.au/testtc/');
    
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

  4. #4
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default Re: Problems making a clone site

    Found the problem to be SEO URL. When this was turned off all the links started working.

    No idea why though.
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

 

 

Similar Threads

  1. v139d clone my site
    By kitcorsa in forum General Questions
    Replies: 3
    Last Post: 24 Feb 2012, 01:56 PM
  2. Making a clone
    By redrob in forum General Questions
    Replies: 3
    Last Post: 22 Feb 2009, 09:50 AM
  3. Problems making duplicate of my site
    By Bered in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 4 Jan 2008, 05:30 PM
  4. Clone PerUnitWeight Shipping problems?
    By jc_armor in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 3 Dec 2007, 01:55 PM
  5. Clone site - not working ?
    By james b in forum Installing on a Windows Server
    Replies: 6
    Last Post: 4 Oct 2007, 01:52 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