I am new to working with ExpressionEngine, so this may be an easy answer. I am getting 500 errors and can't seem to find any ExpressionEngine log files. How can I log errors in ExpressionEngine?
Hi @Andrew error 500s are server errors. To my knowledge EE does not log such errors. You would need to request/access the logs from your host provider. Here's some info on where to access the logs if you're hosting locally using MAMP.
The specific server logs you'd want to look at would be the Apache logs, Access and Error which can ofter be located in the (/var/log/httpd/access or /var/log/httpd/error) directories. You may also want to check /var/log/messages as well.
A common reason for 500 errors is the PHP memory_limit set too low. Here's how you might fix that.
Another idea might be to run the server wizard to rule out any incompatibilities there.
Finally, if only parts of the site are throwing 500s you might want to try turning on debugging. You can do so in the CP under Admin -> System Administration - > Output and debugging or manually by adding the following to your system/expressionengine/config/config.php file:
$config['debug'] = "1";