500 Internal Error When Trying to Upgrade Wordpress or Plugin Automatically

I cannot Upgrade Wordpress or Plugin Automatically via WP-ADMIM, there was error show up, what happen ?

500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost 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.

Apache/2.2.3 (CentOS) Server at munawarah.akbid.info Port 80

I saw in PHP Error Log like this [Sun Feb 27 18:15:01 2011] [error] [client 111.221.41.137] ModSecurity: Unable to retrieve collection (name "ip", key "111.221.41.137"). Use SecDataDir to define data directory first. [hostname "www.akbid.info"] [uri "/"] [unique_id "rKfizX8AAAEAAH-n12sAAAAW"] [Sun Feb 27 18:15:02 2011] [error] [client 111.221.41.137] ModSecurity: Warning. Operator LT matched 20 at TX:inbound_anomaly_

If this error because mod_security how can I disable mod_security temporary ? or how to modified mod_security to accept update my WP automatically ?

Status: 
Closed (fixed)

Comments

Howdy -- it does seem like you're seeing a mod_security error. You may need to work with the mod_security and WordPress folks to determine the best way to allow the WordPress upgrades on your server.

Although mod_security is a useful module, it's not a standard one, and we're unfortunately not experts in supporting it's use :-)

However, here's a few links you may want to take a look at that could help:

Handling false positives --

http://www.modsecurity.org/blog/archives/2007/02/handling_false.html

The "SecFilterRemove" option described here may help --

http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/html-m...

How to whitelist an IP address:

http://www.modsecurity.org/documentation/faq.html#d0e400

Automatically closed -- issue fixed for 2 weeks with no activity.