Jump to content

Recommended Posts

Posted

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, webmaster@west-fake.co.cc and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.2 Python/2.4.3 Server at west-fake.co.cc Port 80

 

and in the Error Log of my site I got this

 

[23-May-2010 08:27:53] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource

[23-May-2010 08:28:02] PHP Warning: mysql_num_rows() expects parameter 1 to be resource

 

How can I fix this?

Posted

Did you write the application yourself? It looks like the application is configured to throw a 500 error upon any error.

Posted

I didn't wirte this, just configured.

The real error is this, I think

 

[23-May-2010 08:27:53] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource

[23-May-2010 08:28:02] PHP Warning: mysql_num_rows() expects parameter 1 to be resource

 

This is the error and when this erro run, get the 500 error

 

sorry for my bad english!

Posted

I agree. However, that's the fault of the application developer. They are passing a wrong datatype to a function that expects a resource type.

Guest
This topic is now closed to further replies.
×
×
  • Create New...