500 Internal Server Error during CS-Cart installation or after it.

  1. The problem can be caused by the incorrect file/directory permissions. Some webservers do not allow to execute PHP scripts with permissions higher than 755 or 644. Change the permissions for your files and directories to 755 in order to solve this issue.
    To set up the permissions:
    • On a Unix-based server with terminal access to it use the following command:
      chmod 755 install.php (set the permissions for the install.php file if you get the 500 Internal Server Error during installation)
      chmod 755 index.php (set the 755 permissions for all CS-Cart scripts (at least, for index.php, admin.php and image.php, that are located in the CS-Cart root directory) if you get the mentioned error after installation)
    • If you do not have terminal access to your server change file access permissions using an FTP client. Most of them have the Change permissions or Change mode functions. With the help of these functions you are able to set the necessary permissions. The chmod 755 index.php command means that you must set 755 permissions (in other words, read, write and execute permissions for the file user and read and write ones for the user group and others). Refer to your FTP client documentation for more detailed instructions on setting file permissions.
      NOTE: Contact your hosting support team for the information about proper permissions for PHP files and directories.
    • On a WINDOWS-based server give readable permissions for the files and directories to the user with the IUSER_ComputerName account.
  2. The second possible reason for Internal Server Error is that some directives of the CS-Cart .htaccess file are not supported by your web server.
    1. Try to rename the .htaccess file located in the root directory of your CS-Cart installation to something else. If CS-Cart pages are displayed properly after that, contact your server administrator, provide him with the content of the CS-Cart .htaccess file and ask him to let you know what directives are not supported on your server.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.