Problem with Importing Data during Installation
The problem is most likely caused by the connection time limit to your MySQL server.
If the connection time limit to your MySQL server is 30 seconds, follow these steps:
- Go to the root directory of your CS-Cart installation.
- Open the config.php file.
- Find the following line of the code:
define('INSTALL_DB_EXECUTION', SECONDS_IN_HOUR); // 1 hour
- Replace SECONDS_IN_HOUR with 29.
- Save the file. This change makes the connection to MySQL to be established every 29 seconds.
- Try to install CS-Cart.