ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Publish layout not saving. Help!!!

April 14, 2011 6:46am

Subscribe [3]
  • #1 / Apr 14, 2011 6:46am

    Spherevision

    3 posts

    I’ve checked all of the available information on the forums and on-line and cannot seem to get this to work; whenever I try and create a custom publish layout for my channel, nothing happens; the fields flicker monetarily after I hit “Save Layout” but there’s no confirmation. When I revisit the page, it simply returns to the default layout.

    No Javascript errors are reported; no errors whatsoever reported in Firebug; tried in IE9, Chrome 10, Firefox 4 etc.

    Hitting “Remove Layout” works but doesn’t get me anywhere; I’ve run the truncate query in sql as was advised in another post to truncate; there’s no 406 error (reported on in another post); file permissions look fine(?)...

    I’m out of ideas.

    :(

    Help!

    version 2.1.3 build 20110411; fresh install.

  • #2 / Apr 14, 2011 7:40am

    Dave @ Exp:resso

    465 posts

    This is probably too obvious to be the problem, but before you click ‘save layout’ do you tick the checkboxes of the relevant member groups? You can save separate layouts per member group

  • #3 / Apr 14, 2011 7:45am

    Spherevision

    3 posts

    I forgot to mention it but yes, I did select a relevant member group; when I don’t, I get the standard warning from EE @the top of the screen reminding me to do so.

    Edit: I’m logged in as Super Admin when I try this.

  • #4 / Apr 14, 2011 7:55am

    Dave @ Exp:resso

    465 posts

    Hmmm. This may sound dumb, but I would start by re-uploading your EE files to the server - a dodgey FTP program may have mangled something.

    Since you mention Firebug you’re obviously fairly technical. Have a look at the Net tab for the AJAX requests it’s making, and see what is being returned. I’ll bet there is a PHP error in there somewhere getting sent back instead of the appropriate JSON. Mine returns {"messageType":"success","message":"Layout successfully saved."} You can look at this in Chrome dev tools too.

  • #5 / Apr 14, 2011 8:06am

    Dave @ Exp:resso

    465 posts

    One other thing to check is that you may have have hidden/removed required custom fields from the layout, and it wont save since those fields need to be there

  • #6 / Apr 14, 2011 8:33am

    Spherevision

    3 posts

    Firebug is bloody useless (at least on this occasion). I’d forgotten there was a Developer toolkit bundeled in with Chrome….

    The console is reporting a 412 precondition failure error whenever I hit “Save Layout”. No other information besides this.

    FYI - I’ve been using Filezilla to transfer the files; I’ve done it twice to be sure on two separate installs with no issues.

    Edit: I can post you the response header if you’d like?

  • #7 / Apr 14, 2011 8:58am

    Spherevision

    3 posts

    Found the problem! mod_security rule on apache was triggering a false alert and blocking the said request. I’ve filed a support ticket with my web host (34SP) who say they’ll whitelist my IP address to prevent the rule from firing again.

    A bit annoying but at least it’s sorted.

    I swear my mind is turning to mush…

    Thanks for all your help, CrescendoNZ.

    (-:

  • #8 / Apr 14, 2011 9:54am

    Sue Crocker

    26054 posts

    Thanks for the assist, Crescendo.

    Spherevision, glad you were able to figure out that the problem was mod_security.

    Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases