Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2015
    Location
    Mumbai
    Posts
    3
    Plugin Contributions
    0

    red flag Moving store from one server to another

    I have zencart for one of my website i.e. vspbridal.com and previously it was on reseller plan of hostgator, now i moved it to baby plan by taking full backup and asking hostgator to restore it.

    on reseller plan it was /home3/vspbrida/public_html/(zencart files) now it is home3/harsoayr/public_html/vspbridal.com/(zencart files) after moving database name and user name also changed so i updated them in both /public_html/vspbridal.com//includes/configure.php and /public_html/vspbridal.com//admin/includes/configure.php

    but now its showing me this error

    Hello. Thank you for loading Zen Cart®.
    You are seeing this page for one or more reasons:

    This is your first time using Zen Cart® and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart® website for assistance.
    Additional Details: includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set
    my current configure.php contains

    <?php
    /**
    * @package Configuration Settings circa 1.5.0
    * @copyright Copyright 2003-2011 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2014-05-16 11:13:35
    */


    /*************** 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://vspbridal.com');
    define('HTTPS_SERVER', 'https://vspbridal.com');

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

    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', '/home3/vspbrida/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_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '#');
    define('DB_SERVER_PASSWORD', '#');
    define('DB_DATABASE', '#');

    // 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', '/home3/vspbrida/public_html/cache');

    // EOF

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Moving zencart from one server to another

    If the home path has changed from:
    /home3/vspbrida/public_html/

    to the new path:
    /home3/harsoayr/public_html/

    You need to change those in your configure.php files as well ...
    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!

  3. #3
    Join Date
    Jun 2015
    Location
    Mumbai
    Posts
    3
    Plugin Contributions
    0

    red flag Re: Moving zencart from one server to another

    Quote Originally Posted by Ajeh View Post
    If the home path has changed from:
    /home3/vspbrida/public_html/

    to the new path:
    /home3/harsoayr/public_html/

    You need to change those in your configure.php files as well ...
    yes i changed that but now its showing this error

    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Moving zencart from one server to another

    Your store works correct?

    If so, can you post the two files. from the server, without your database password information for:
    /includes/configure.php
    /your_secret_admin/includes/configure.php
    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!

  5. #5
    Join Date
    Jul 2012
    Posts
    16,738
    Plugin Contributions
    17

    Default Re: Moving zencart from one server to another

    Also, what version of PHP is being used on this new server? What version was on the old?
    Any mydebug logs in the logs directory? What are the contents?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jun 2015
    Location
    Mumbai
    Posts
    3
    Plugin Contributions
    0

    Idea or Suggestion Re: Moving zencart from one server to another

    Solved using this manual tutorial

    https://www.zen-cart.com/content.php...fferent-server

    Thanks everyone for your valuable time

 

 

Similar Threads

  1. Moving DB from one domain to another on same server
    By donzi in forum General Questions
    Replies: 10
    Last Post: 23 Mar 2013, 01:31 AM
  2. Transfering store from one hosting server to another
    By bigdog in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 13 Aug 2012, 06:00 PM
  3. Moving store from one domain to another
    By mferrari in forum Basic Configuration
    Replies: 12
    Last Post: 15 Nov 2010, 07:21 PM
  4. Error after moving from one server to another
    By OregonBum in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 11 Apr 2007, 06:28 PM
  5. Moving from one server to another
    By kimhuff in forum General Questions
    Replies: 24
    Last Post: 18 Feb 2007, 10:27 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