Jump to content

Recommended Posts

Posted

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?

Posted

This looks like some server side security feature. But it doesn't make much sense to work and not work based on pw version...

Posted

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. 

Posted

Thanks, guys.  I just got around to upgrading it to 2.3 - and it's still happening.  So it probably is mod_security.  Thanks for the tips - I'll check that out!

Posted

So, I turned off mod_security in the .htaccess file, and it didn't solve the issue.  So I checked it out and it doesn't even seem to be installed.  I'm perplexed!

Posted

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

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
  • Recently Browsing   0 members

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