how do i get the page that caused the internet server error 500
I have been told by a few people that my site is showing every now and then the internal server 500 error page.
I have checked the logs and access-logs and errors page in cpanel but can not seem to find anything wrong with the site.
I do have a script in my footer of all pages that stores and emails every error that is found once the page is almost completely finished being setup before it is sent to the browser. But this does not show anything that answers what the 500 error actually is.
How else can I get these internal server errors so I can find out if it is a local (user) problem or if it is something that is wrong with my code.