Skip to content

Rocketstone

The eye never has enough of seeing – Ecc. 1:8
Sunrise

Archive

Category: Solutions

Another issue recently, with a different site.

The host supplier had moved the site to a new server and apparently this has “Suhosin” installed. This is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core.

It can also kill your WordPress dashboard (and the rest!).

I could authenticate successfully and get the WordPress banner menu showing above the site, but if I tried to get to the dashboard or any other part of WordPress administration, I was being redirected to the 404 Error page.

The site continued to work fine, I was just unable to change it in any way as I could not get to the dashboard.

A quick chat session with the host supplier and they disabled Suhosin. Now all is back to normal.

 

A web site that I jointly administer suddenly started to fail when trying to add images to pages/posts.

We’d not altered anything nor installed any new plugins, but this was disconcerting as Christmas was approaching and that’s a busy time for us.

It turns out the issue was caused by our host provider changing their security and WordPress was (to use their words) “violating mod_security settings”. Thankfully, they added an exclusion for us and things are up and running again (no lasting harm done).

So, if WordPress starts saying something like “Page not found” (404 error) when you attempt to publish a page or post, check with your hosting provider and see if they can change settings for you.

There’s also a WordPress support thread here on the issue:

http://wordpress.org/support/topic/cannot-create-posts-with-images-404-error-postphp

 

.