This Zen Cart article is the third and final installment in a series which discusses the ‘500 internal server error’ message. In this segment, we will take a look at the last few things that can trigger this message, and how you can fix them.
Some servers are set up so that there are some directives you are forbidden from using in .htaccess files. The ‘500 Internal Server Error’ message will pop up if you attempt to use one of these directives. If this is the issue, all you need to do is find out what directive is causing the problem, and remove it. The exact statement will be recorded in your server logs.
This message can also be triggered if a PHP script syntax problem, or worse still, a logic problem. If this is what has happened, review your Zen Cart debug logs, and keep an eye out for php errors.
Another common cause of many weird problems in zen cart, including the 500 internal server error message, is incorrect paths/urls in your configure.php files. To avoid this issue, always be sure that when moving your zen cart store from one server to another, you do not copy your configure.php file from one server to another.
The problem could also stem from the ‘php’ setting found in Admin–> Configuration–> Email Options–> Email Transport Protocol. Some webhosts will have configured your server with stricter permissions requirements for this mode, so if you are encountering the 500 internal server error message, you should speak with your web hosting company to see if this is the case. This is especially true if you get blank-screen or 500 errors simultaneously while trying to send emails from your zen cart store(Like newsletters, account creation emails, etc.).