Troubleshooting a 500 Internal Server Error after installation
On some hosting environments you can face a Internal Error 500 after installation. There could be different reasons of this issue, but all of them are caused by the non-conformity between the hosting settings and LemonStand requirements. Here are some hints:
- Check whether the mod_rewrite Apache module is enabled on your hosting server. Usually the module is enabled on all modern paid hosting servers.
- Check whether the AllowOverride All option is enabled in the httpd.conf file for the LemonStand directory. Usually the option is enabled on CPanel-based hostings for all directories.
- Try to uncomment the following line in the .htaccess file in the LemonStand root directory: If this will not help, please comment the line again.
# RewriteBase /
- Look into the Apache error log. If you use a CPanel-based hosting, you can access the error log via the CPanel Logs/Error Log page. Find errors which refer to the LemonStand installation directory. They can help you to find the problem.
- If the error log contains the following message "SoftException in Application.cpp:252: File "your_lemonstand_dir/index.php" is writeable by group", change permissions on the index.php file to 755. Also please change the FILE_PERMISSIONS parameter value in the config.php file to 0755:
$CONFIG['FILE_PERMISSIONS'] = 0755;
- Try chmod 755 on your index.php. If that doesn't work try 775.
- If nothing helps, contact our support team. Please send us the Apache error messages if it is possible.
Want to Learn More?
This knowledge base is dedicated to helping you build successful eCommerce projects. To get the most value for your time, you'll want to download the free trial of LemonStand's eCommerce platform. If you're not ready, you can also browse our features and live demo.