WordPress Error: Nothing found for Wp-admin Post PHP

Recently I was working on a blog post which, for some reason, failed to save. Instead, it generated the following error:
Nothing found for Wp-admin Post Php

The post was longer than average, so my first thoughts went to a PHP memory issue… but that rabbit hole did not bear fruit. After much searching, I narrowed the error to an Apache security module called mod_security. At first it did not make sense to me that a failure to post could be related to a security issue as shorter posts, and long test posts saved just fine. What I found out was that my problem post contained enough SQL keywords (such as SELECT, FROM, WHERE, JOIN, etc) to cause concern to a SQL injection detection algorithm. (as it was explained to me by my Liquidweb guy)

The problem was quickly fixed by adding my web site domain to a mod_security white list using the following syntax:

SecRule SERVER_NAME “baier.com” phase:1,nolog,allow,ctl:ruleEngine=off

By the way, if you are looking for a great hosting company, I can’t say enough good things about Liquidweb. Their pricing is very reasonable with shared hosting starting at around $15/month, and dedicated at around $200. What really differentiates Liquidweb is their service. For me it’s like having a part time employee looking after my web server. I have always received an answer from their 24/7 telephone tech support, and have found them to be very knowledgeable, and eager to solve my problems.

Share and Enjoy:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • TwitThis
  • LinkedIn
This entry was posted in Tech Geek, Web Development and tagged , , , , . Bookmark the permalink.

2 Responses to WordPress Error: Nothing found for Wp-admin Post PHP

  1. I added this syntax in my .htaccess

    SecRule SERVER_NAME “mydomain.com” phase:1,nolog,allow,ctl:ruleEngine

    but it didn’t work. :(

  2. Lee says:

    Hi,

    I had the exact same problem but the workaround didn’t work for me (I am already using Liquidweb).

    My problem was due to having the word SELECTION followed later on the page by FROM so I used an even simpler workaround – I changed the wording on the page and the job’s a good ‘un!

    Thanks for the pointer though. I have had the problem with Joomla sites but this is the first time it’s shown itself in WordPress. Once I found your post I knew exactly what to look for (had already spent a day trying to find out the cause though).

    All the best.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>