Menu

500 Server Error then Parse Error

Help
KDushinski
2006-02-20
2013-06-03
  • KDushinski

    KDushinski - 2006-02-20

    Hi:

    I have uploaded the software using Fantastico and then just plain downloaded it. With both versions I get this error the first time I submit a form. With the Fantastico install it goes just fine after that. But obviously I cannot have users getting this error.

    500 Server Error
    A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
    ________________________________________
    URL: http://www.moneyanswers.com/moneytypequiz/phpform/use/WhatIsYourMoneyType/process.php
    Dangerously writable: [/home/moneyans/public_html/moneytypequiz/phpform/use/WhatIsYourMoneyType/process.php]
    FIXED

    Then when I am using the non-Fantastico installed software I get this error:

    Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/moneyans/public_html/moneytypequiz/phpform/use/WhatIsYourMoneyType/process.php on line 31

    If there anyone who can help me figure this out I would greatly appreciate it. It seems this will be very cool once it is working.

     
    • TNTEverett

      TNTEverett - 2006-02-21

      I think the parse error you see is bacause you have a variable name starting with a number.

      You can not use $1N as a variable.  It must be $oneN.  Note that the name starts with a letter "o" instead of a number "1". 

       
    • KDushinski

      KDushinski - 2006-02-21

      Yes, that is right. I had created a list of questions and put numbers in to keep track of them. I will take out the numbers to see if this error disappears. Thank you.

      Any ideas about the 500 Server error? What does "dangerously writable" mean? And if this is FIXED does that mean it is fixed for everyone else who would use the form? Or would everyone get that same error?

       
      • TNTEverett

        TNTEverett - 2006-02-21

        Dangerously writable is probably due to permissions of 777.  Change to 755 and this will probably solve this issue.  The 777 allows anyone to overwrite your file. 

         

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.