Menu

Internal Server Error

Help
YaMik
2008-04-24
2013-06-03
  • YaMik

    YaMik - 2008-04-24

    Hi-

    I am getting the internal server error like others have gotten when I either try to submit the form as well as trying to access the /installDIR/use/FormName/admin/ through the web (I can access it through FTP).  To make sure its not a read/write problem, I have given full (777) permission to all files/folders throughout all directories just to make sure. 

    Any other ideas why I would still be getting the internal server error?

    Thanks,
    Mike

     
    • TNTEverett

      TNTEverett - 2008-04-25

      Both submit on the form page and accessing the admin page result in the attempt to run a PHP script.  Contact your host to be sure PHP is supported.  You can also try something simple like
      <?php
      echo "<h2>Hello World!</h2>";
      ?>

      Name the file something simple and then point your browser to the file.  It should just print the "Hello World!" text to the screen. 

       
      • YaMik

        YaMik - 2008-04-25

        Thanks for the reply but still no luck.  PHP is installed and I did a test and the test works (www.scholarshipforgranada.com/test.php)

        I still get the Internal Server Error.  You can see for yourself: http://www.scholarshipforgranada.com/application/use/Test2/   if that helps at all.

        Any other ideas would be greatly appreciated again.

        Thanks,
        Mike

         
        • TNTEverett

          TNTEverett - 2008-04-25

          I'd be happy to help but this still seems to be some type of server error.  What happens if you put the test file in the form folder? 

           
    • Biscuit

      Biscuit - 2008-04-27

      No, highly doubtful it's a server error...more likely a permissions error. First off, few if any hosts these days will allow any script to use 777 permissions. It's a security risk, and in most cases not needed. See http://www.unix.com/unix-dummies-questions-answers/33137-chmod-777-security-risks.html for further explanation.

      If you look in your error log, you'll likely see "error: file is writable by others:", etc.

      What you need to do is CHMOD the entire directory to 755 (easier than doing the files one at a time). That should take care of the server error.

       
      • TNTEverett

        TNTEverett - 2008-04-27

        Some people don't even bother reading what they are writing. 

        "highly doubtful it's a server error"...
        ......
        "CHMOD the entire directory"
        ......
        "That should take care of the server error"

        I have posted more times than I can remember that I believe the recommendation to set permissions to 777 is not a good idea.  I have recommended 755 for folders and PHP files then 644 for everything else. 
        I have to add though that for some reason setting 777 has solved some issues.  I don't even want to know why this works.  All I can say is that it is a security risk. 

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.