What are the most common errors and how do I deal with them?

One of the most common errors is "500 Internal Error". The chances are that you will experience it many times. The worst thing about it is that it doesn't actually tell you what's wrong with the script. It only tells you that something isn't right. There are several possibilities that make up 99% of this error. They are:

  • Incorrect path to PERL. See the next question for more information
  • Syntax error. Check and see if you didn't accidentally deleted a command or a word that the instructions didn't tell you to.
  • Incorrect CHMOD command. Make sure that you chmod the file exactly as the instructions say. Most of the times it will be either 755 or 777 (not always!). You can also get an "Access Denied" error, if you didn't chmod the file or a directory correctly.

Basically, 500 Internal Error and Access Denied are 99% of errors you'll experience. And 99% of the time, the cause of the error will be one of the above.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is CGI and how is it going to help me?

CGI is translated as Common Gateway Interface. It's used to provide interactivity and turn static...

How am I supposed to install a script?

95% of scripts have complete instructions and a special ReadMe file with everything you need to...

What does "chmod" mean?

To chmod a file means to set a certain permission. Few of the most common chmod commands are...

What is the path to PERL (interpreter)?

The PERL path is the very first line in every .cgi or .pl file. Usually it looks something like...