500 internal server error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unknown
    Junior Member
    • May 2004
    • 12

    #1

    500 internal server error

    Hey guys

    I am trying to install modernbill on cpanel30, to no avail.
    I keep getting 500 error.

    It must be something with the server, for I installed the script in question on non-DIS server with an ease.

    any ideas whats going on here at DIS?

    tnx

  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    Is there a .htaccess file that comes with the script?
    If so what is inside it, like commands/code?

    Have you CHMOD'd a file to an incorrect level. Bear in min PHPSuExec is in force so you only need to use 755 as the max level.

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • unknown
      Junior Member
      • May 2004
      • 12

      #3
      Originally posted by sdjl
      Is there a .htaccess file that comes with the script?
      If so what is inside it, like commands/code?

      Have you CHMOD'd a file to an incorrect level. Bear in min PHPSuExec is in force so you only need to use 755 as the max level.

      David
      Yes, I am aware of the PHPSuExec, tnx.

      Files are correctly CHMOD'ed, up to 755.

      .htaccess contains:

      <Files .htaccess>
      order allow,deny
      deny from all
      </Files>
      DirectoryIndex index.php
      Options -Indexes
      php_value "magic_quotes_gpc" "1"
      php_value "register_globals" "1"
      php_value "error_reporting" "2039"


      hmm.

      Comment

      • sdjl
        Senior Member
        • Mar 2004
        • 502

        #4
        Originally posted by unknown
        php_value "magic_quotes_gpc" "1"
        php_value "register_globals" "1"
        php_value "error_reporting" "2039"
        I don't belive those values will work in a .htaccess file.
        Try putting them in a php.ini file and upload them to the root of the script.

        David
        -----
        Do you fear the obsolescence of the metanarrative apparatus of legitimation?

        Comment

        • unknown
          Junior Member
          • May 2004
          • 12

          #5
          Originally posted by sdjl
          I don't belive those values will work in a .htaccess file.
          Try putting them in a php.ini file and upload them to the root of the script.

          David
          Yeah, well, it does work on non-dis server, so...

          Tnx for your help David

          Comment

          • sdjl
            Senior Member
            • Mar 2004
            • 502

            #6
            Originally posted by unknown
            Yeah, well, it does work on non-dis server, so...
            Is that server running PHPSuExec?
            Do they have restrictions on .htaccess files?

            David
            -----
            Do you fear the obsolescence of the metanarrative apparatus of legitimation?

            Comment

            • unknown
              Junior Member
              • May 2004
              • 12

              #7
              Originally posted by sdjl
              Is that server running PHPSuExec?
              Do they have restrictions on .htaccess files?

              David
              Nope, no phpsuexec.

              I am on the phone with modernbill support as we speak...

              Comment

              • AndrewT
                Administrator
                • Mar 2004
                • 3655

                #8
                As sdjl said, with phpsuexec you cannot have PHP settings in .htaccess files. You must place them in a php.ini file within the directory of the script that requires the setting. However, note that the format of PHP setting commands is different between the .htaccess file and a php.ini file.

                Comment

                • sdjl
                  Senior Member
                  • Mar 2004
                  • 502

                  #9
                  Originally posted by unknown
                  Nope, no phpsuexec.
                  That will be why it works fine on the other server then.
                  Do as i said in my second post and all should be rectified.

                  Bear in mind what Andrew said though. The commands take on a different format for use in php.ini

                  David
                  -----
                  Do you fear the obsolescence of the metanarrative apparatus of legitimation?

                  Comment

                  Working...