Connecting Tech Pros Worldwide Forums | Help | Site Map

help with error log

Member
 
Join Date: Nov 2007
Posts: 61
#1: Feb 26 '09
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
Expand|Select|Wrap|Line Numbers
  1. [warn] (2)No such file or directory: mod_mime: analyze_ct: cannot get media type from 'x-mapp-php4'
  2. [warn] mod_mime: analyze_ct: cannot get media type from 'x-mapp-php4'
and also

Expand|Select|Wrap|Line Numbers
  1. [suexec 19238] db_create: rv = 0, 0, Success
  2. [suexec 19238] db->open: rv = 0, 2, Success
  3. [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

Newbie
 
Join Date: Feb 2009
Location: Chrisranjana.com are Asp C# developers
Posts: 2
#2: Feb 26 '09

re: help with error log


What happens if you print out the exact SQL statement and run it from a command prompt ?
Member
 
Join Date: Nov 2007
Posts: 61
#3: Feb 27 '09

re: help with error log


Quote:

Originally Posted by chrisranjana View Post

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...
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#4: Mar 3 '09

re: help with error log


When do you get this error? Is it coming up on every page or on specific pages?
Member
 
Join Date: Nov 2007
Posts: 61
#5: Mar 9 '09

re: help with error log


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.
Member
 
Join Date: Nov 2007
Posts: 61
#6: Mar 10 '09

re: help with error log


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
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#7: Mar 10 '09

re: help with error log


Good to hear that you solved it.
Reply


Similar Apache Web Server bytes