How to troubleshoot 500 Internal Server errors in CS-Cart

If you see a 500 Internal Server error during or after CS-Cart installation, there are two common causes: 1) Wrong file or directory permissions; 2) Unsupported .htaccess code.

Wrong file or directory permissions

This is the more common cause of the error, so check this first. Check the permissions on index.php and admin.php in the root of your CS-Cart installation and install/index.php. Each of these files should have 644 permissions.

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

In the cPanel File Manager directory tree, click root directory of your CS-Cart installation. In the Permissions column, check that all files have 644 permissions and folders have 755 permissions. Specifically check the permissions for index.php and admin.php. They should be 644. Move to the install directory and check the permissions for index.php. It should be 644.

For each of these files that does not have 644 permissions, right-click it and select Change Permissions. In the Change Permissions dialog box, select the appropriate check boxes to apply 644 permissions. That is, the User has Read and Write permissions, and Group and World both have Read permissions. Click Change Permissions.

For more information about file and directory permissions, see How to set file and directory permissions for CS-Cart.

Unsupported .htaccess code

It’s possible that an .htaccess file in your CS-Cart installation contains some code that isn’t supported on HostPapa servers. To check this, rename the .htaccess file located in the root directory of your CS-Cart installation with any other name.

To rename the file, right-click the file in File Manager and select Rename.

Enter a new name for the file and click Rename File.

If renaming .htaccess resolves the error, contact HostPapa Support for more information about what you can include in .htaccess files.

If you continue to have errors or have any questions, contact HostPapa Support by opening a support ticket. Details about how to open a support ticket are here.


Was this article helpful?


Related Articles

Leave A Comment?