Jump to content

How to view errors for website


openflex

Recommended Posts

Are 500 server errors supposed to show something in stats/errlog.html for your website?

No matter what I do, I can't seem to get anything to show up there.

Is there an error file I can check to see the errors, or some other way I can see server errors and scripting language, like Python, errors?

 

Link to comment
Share on other sites

No they do not. There is actually no way to see what caused one of these, you have to solve it by process of elimination. Invalid .htaccess files will cause an entire site to show one.

 

For PHP scripts, the most common issue is permissions not being set to 644. For Python and other languages, there's far too many reasons to list (incorrect permissions, not using the cgi-bin folder, bad shebang line, using Windows line endings, bad syntax, or scripts getting stuck in infinite loops are just a few examples).

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...