Jump to content

TinyMCE & images: Saving leads to 404


Hani
 Share

Recommended Posts

I have an issue where after I insert a couple of images (happens with only one as well) at the end of the body field and save the changes to the page, I am hit with a 404 (at the same "edit" URL) and the changes aren't saved.

What makes this REALLY strange is that if I put some text after the image, it saves just fine.  BUT - it has to be at least 680 characters.  Otherwise, it won't save.  Also, this happens in PW2.2.9, but not on PW2.3.0.

The HTML generated by TinyMCE looks just fine. I tried this on a new page and have the same results

I've spent a couple hours trying to figure out what's going on with this - and am left scratching my head.

Has anyone ever noticed similar behavior?

Link to comment
Share on other sites

Antti's right that it does sound like something going on at the server side (mod_security?). But I don't think there's any reason to use 2.2.9 anymore, so if it's as simple as using PW 2.3.0, why not just do that? However, don't be surprised if the issue turns up again, as mod_security can be a real pest when used with a CMS. 

Link to comment
Share on other sites

Ok, apparently I wasn't looking in the right area.  :mellow: (Obviously, I don't know much about mod_security.)  I ended up contacting Liquidweb and they helped me solve it.  It was a matter of whitelisting some mod_security rules.  Thanks for your input, fellas!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...