Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Moving Site to New Server Using Temp Url

    Sorry I posted this in wrong place - can someone move it please or tell me how I can move it.

    I have made a copy of my zencart site and moved it to a different server. I also transferred across the sql database.

    It now says my paths are incorrect and I am not sure what to change. I tried to change the configure.php file but I couldn't see any paths in configuration.php file to change - is that correct?. The thing is the site is still on a temp url so this is confusing me a bit. I dont want to change nameservers for domain until shop is working. Can anyone point me in the right direction and see if my paths are correct please.

    Currently shop displays this page: http://79.170.44.118/cecitokyo.com/ but this was not a new install so no need to install it again, its a copy of this working site http://www.yukitokyo.com/ which I want working on another server which is currently using a temp url.

    Please can someone help. Zencart Version info & configure file below

    Thanks so so so so much.

    BTW - I know guidelines say to do a new Zencart Install and import database but I do not want to do this as the shop is heavily customized with lots of addons.

    Thanks

    Server Information
    Server Host: web32.extendcp.co.uk (127.0.0.1) Database Host: localhost (127.0.0.1)
    Server OS: Linux 2.6.9-89.0.16.ELsmp Database: MySQL 5.0.88-community
    Server Date: 04/12/2009 18:19:52 Database Date: 04/12/2009 18:19:52
    Server Up Time: 18:19:52 up 21 days, 9:07, 2 users, load average: 3.69, 3.61, 3.63 HTTP Server: Apache/2
    PHP Version: 5.2.11 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
    PHP File Uploads: On Max Size: 2M POST Max Size: 8M
    Database Data Size: 3,259 kB Database Index Size: 743 kB

    Zen Cart
    Zen Cart 1.3.8a
    Patch: 1::
    Database Patch Level: 1.3.8
    v1.3.8 [2009-08-07 01:51:07] (Fresh Installation)
    v1.3.8 [2009-08-07 01:51:07] (Fresh Installation)

    Configure file

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://79.170.44.118/cecitokyo.com/');
    define('HTTPS_SERVER', 'https://web32.secure-secure.co.uk');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // 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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/79.170.44.118/cecitokyo.com/');

    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', '/');

    // * 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', '/home/sites/79.170.44.118/cecitokyo.com/public_html/');

    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/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'web118-ceci_09');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', 'web118-ceci_09');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/sites/79.170.44.118/cecitokyo.com/public_html/cache');

    // EOF

    Configuration file attached
    Last edited by kaiz; 4 Dec 2009 at 07:24 PM. Reason: I posted this in wrong forum by mistake sorry

  2. #2
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Moving Site to New Server Using Temp Url

    My host just told me that a Zencart Shop cannot work on a temp URL - is that correct?

  3. #3
    Join Date
    Jul 2008
    Location
    Bangalore India
    Posts
    14
    Plugin Contributions
    0

    Default Re: Moving Site to New Server Using Temp Url

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/79.170.44.118/cecitokyo.com/');

    Change the define('DIR_WS_CATALOG', '/'); to define('DIR_WS_CATALOG', '/79.170.44.118/cecitokyo.com/');
    Vipin Shetty
    Cleon Technologies

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moving Site to New Server Using Temp Url

    I'm pretty sure cleontech's post above is giving you the wrong answer.

    Quote Originally Posted by kaiz View Post
    My host just told me that a Zencart Shop cannot work on a temp URL - is that correct?
    No, that's not correct.

    Follow this FAQ for all the steps for moving to another server and building the corresponding correct configure.php settings: https://www.zen-cart.com/tutorials/i...hp?article=100
    Quote Originally Posted by kaiz View Post
    I tried to change the configure.php file but I couldn't see any paths in configuration.php file to change - is that correct?.
    Right. No changes to an files named "configuration.php". Only to "configure.php".
    .

    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.

 

 

Similar Threads

  1. Moving site to a new URL
    By robpiat in forum General Questions
    Replies: 10
    Last Post: 13 Feb 2010, 02:34 PM
  2. moving site to different URL on same server
    By JohnBoyCR in forum General Questions
    Replies: 2
    Last Post: 12 Mar 2009, 08:08 PM
  3. Replies: 2
    Last Post: 24 Feb 2009, 09:43 AM
  4. moving site to a new server
    By creo ingero in forum General Questions
    Replies: 4
    Last Post: 3 Nov 2006, 08:17 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