Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Gateway Time-out error when importing database

    Hi there I'm working on a 1.54 new demo site.

    I was trying to import my 1.39h database to a newly named database file and received a 'Gateway Time-out error' on blue host.
    I checked the database at My Sql Databases and it appears to be there as far as I can tell.
    So I went ahead to perform my database upgrade using zc_install.

    I then clicked on the 'Click here to go to the store' button and received the following message.

    WARNING: An Error occurred, please refresh the page and try again.

    my demo site is at www.gelcandlecompany.com/demo2

    What can be wrong here?
    I appreciate anyone's help.

  2. #2
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database

    I checked the configure.php file and login info to new database looks good. Strange cause I was able to login to the admin and for some reason it's displaying the default zen cart products from the wrong database, not the new one.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Gateway Time-out error when importing database

    Post the configure.php contents here xxing out DB details
    Please use the code # tag in the tool bar
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database

    Hi
    Never mind :).
    Last edited by lruskauff; 28 Oct 2015 at 07:11 AM.

  5. #5
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database

    Quote Originally Posted by kobra View Post
    Post the configure.php contents here xxing out DB details
    Please use the code # tag in the tool bar
    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.5.4
     * @copyright Copyright 2003-2014 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 2015-10-06 08:02:27
     */
    
    
    /*************** 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://www.gelcandlecompany.com');
      define('HTTPS_SERVER', 'https://www.gelcandlecompany.com');
    
      // 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', '/demo2/');
      define('DIR_WS_HTTPS_CATALOG', '/demo2/');
    
      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', '/xxxxx/xxxxxxx/public_html/demo2/');
    
      //the following path is a COMPLETE path to the /logs/ folder  eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
      define('DIR_FS_LOGS', '/XXXXX/XXXXXX/public_html/demo2/logs');
    
      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', 'XXXXXX');
      define('DB_SERVER_PASSWORD', 'XXXXXXX');
      define('DB_DATABASE', 'XXXXXXX');
    
      // 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', '/XXXXX/XXXXX/public_html/demo2/cache');
    
    // EOF
    Thanks kobra!
    Last edited by spawnie69; 28 Oct 2015 at 01:46 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Gateway Time-out error when importing database

    Check your demo2 /logs folder for my debug files
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database

    Quote Originally Posted by kobra View Post
    Check your demo2 /logs folder for my debug files
    Code:
    [28-Oct-2015 01:19:21 America/Denver] PHP Fatal error:  1146:Table 'XXXXX.template_configuration_group' doesn't exist :: SELECT * FROM template_configuration_group ==> (as called by) /xxxxx/xxxxx/public_html/demo2/includes/init_includes/init_template_config.php on line 10 <== in /xxxxx/xxxxx/public_html/demo2/includes/classes/db/mysql/query_factory.php on line 155

  8. #8
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database


  9. #9
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Gateway Time-out error when importing database

    I attempted 3 more times to import my zipped 1.39h database and I still get a Gatewateway error in my php admin. I talked to bluehost they said try sql. I will give that a try.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Gateway Time-out error when importing database

    When installing the 154 version, did you include the ZC default product as part of the installation?

    Prior to importing/uploading the old database to populate the store with *YOUR* product, did you drop the tables of the above default product?

    When you "logged into the admin" where in this process of uploading/importing was it possible with this setup?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Error 1044 when importing DATABASE
    By Mthirty5 in forum Installing on a Windows Server
    Replies: 11
    Last Post: 9 Jan 2016, 04:27 PM
  2. v151 Time Out Error Message when Adding Products to Cart
    By thoughtsanddesigns in forum Managing Customers and Orders
    Replies: 5
    Last Post: 16 May 2014, 03:52 AM
  3. SQL Error When Importing Database
    By acreativepage in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Nov 2010, 01:49 AM
  4. Replies: 2
    Last Post: 27 Jun 2008, 05:00 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