Hani Posted August 23, 2013 Share Posted August 23, 2013 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 More sharing options...
apeisa Posted August 24, 2013 Share Posted August 24, 2013 This looks like some server side security feature. But it doesn't make much sense to work and not work based on pw version... Link to comment Share on other sites More sharing options...
ryan Posted August 24, 2013 Share Posted August 24, 2013 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 More sharing options...
Hani Posted August 31, 2013 Author Share Posted August 31, 2013 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! Link to comment Share on other sites More sharing options...
Hani Posted August 31, 2013 Author Share Posted August 31, 2013 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! Link to comment Share on other sites More sharing options...
Hani Posted August 31, 2013 Author Share Posted August 31, 2013 Ok, apparently I wasn't looking in the right area. (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! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now