If you encounter problems importing data during the CS-Cart installation, you may need to adjust the connection time limit to your MySQL server.

Log in to your HostPapa Dashboard and click My cPanel, then click File Manager.

CS-Cart installation, Web Hosting Guides, Web Hosting Learning

Now you need to update your config.php file with the new connection time limit. In the cPanel File manager directory tree, click the root directory of your CS-Cart installation. In the file list, locate config.php. Right-click the file and select Edit.

CS-Cart installation, Web Hosting Guides, Web Hosting Learning

In the confirmation dialog box, click Edit to open the file in the editor.

In the file, locate the following line:


Replace SECONDS_IN_HOUR with 29. You can also change the comment // 1 hour to // 29 seconds. Because text that begins with a double slash (//) is a comment, making this change doesn’t affect how the configuration file functions, but it keeps the comment accurate. The line should now look like this:

define('INSTALL_DB_EXECUTION', 29); // 29 seconds

Click Save Changes and then click Close.

The connection time limit to the MySQL server is now 29 seconds. Try the CS-Cart installation again. If you have any questions or need help, contact HostPapa Support by opening a support ticket. 


Post a Comment


Popular Posts

Blog Archive

Total Pageviews