help with error log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samatair
    New Member
    • Nov 2007
    • 61

    help with error log

    I am PHP developer working on a website where we receive 500 Internal Server Error. I requested the apache error logs. I could see the following after the execution of php script file.

    Error Log Details
    Code:
    [warn] (2)No such file or directory: mod_mime: analyze_ct: cannot get media type from 'x-mapp-php4'
    [warn] mod_mime: analyze_ct: cannot get media type from 'x-mapp-php4'
    and also

    Code:
    [suexec 19238] db_create: rv = 0, 0, Success
    [suexec 19238] db->open: rv = 0, 2, Success
    [suexec 19238] dbget: rv = -30989, 2, Unknown error 4294936307
    I would like to know if these are the things causing the internal error.
    Or please let me know how should I proceed with this to find a solution.

    I have already done checking the file permissions for my php scripts
    and also tested scripts for errors or warnings

    Thank You
  • chrisranjana
    New Member
    • Feb 2009
    • 2

    #2
    Mysql

    What happens if you print out the exact SQL statement and run it from a command prompt ?

    Comment

    • samatair
      New Member
      • Nov 2007
      • 61

      #3
      Originally posted by chrisranjana
      What happens if you print out the exact SQL statement and run it from a command prompt ?
      I had checked with the website for errors in SQL statements but they are fine. I had really no idea about the error log. If any error is pointed out in the php scripts I can correct it. Or if there is a problem with the apache server configuration, I can ask the server people to configure it.

      Please let me know if you know more details.

      Thanks for responding...

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        When do you get this error? Is it coming up on every page or on specific pages?

        Comment

        • samatair
          New Member
          • Nov 2007
          • 61

          #5
          The error is coming nearly on all the pages. After I get an Internal Server Error, I get the same page exactly right without problems by refreshing the page. The error doesn't occur very frequently but at times which is troublesome.

          Comment

          • samatair
            New Member
            • Nov 2007
            • 61

            #6
            There were a ads section that was placed on several pages, once I removed the ads section, I did not get the internal server anymore. But I still had to check over 1 or 2 days to confirm, If exactly it was the problem with the ads (1 or more ads)

            Thank you very much for all your responses

            samatair

            Comment

            • r035198x
              MVP
              • Sep 2006
              • 13225

              #7
              Good to hear that you solved it.

              Comment

              Working...