Frequently Asked Question
There are a couple of main reasons this happen, firstly, CGI scripts must be run with certain permissions due to server security restrictions.
You must own the files - FTP should take care of that when you upload any content, and CGI scripts require permissions of 710 to run, else they will also error out.
710 reflects
7 owner +rwx
1 group +x-rw
0 world -rwx
Secondly, invalid or non-closed sub processes, in the code. This also includes trying to reference a system directory or file you will not have access to.
Check error logs if problems arise for narrowing down the actual reason.