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.

Templates won’t update when I press “update” button

June 18, 2011 2:41pm

Subscribe [2]
  • #1 / Jun 18, 2011 2:41pm

    I have had this issue off and on while developing my site. When I update one of my templates particularly ones that are designated for CSS or JavaScript all I get is a blank white screen when I press update. When I remove the extra lines of CSS that I add and press the “update” button again then the changes submit and the page refreshes as it should.

    Any ideas on this? Are there restricted characters that I am using perhaps?

    Below is an example of code I recently added to my CSS. Once I added this code the template wouldn’t allow me to save:

      input.getdirections {cursor: pointer !important; border: none !important; position: relative !important; left: 0px !important; top: 0px !important; width: 121px !important; display: block !important; height: 29px !important; background: url("/images/site/forms/btn_getdirections.gif") 0 0 no-repeat !important; text-decoration: none !important;}
      input.getdirections:hover {background-position: 0px -29px !important;}
      input.getdirections:active {background-position: 0px -58px !important;}

    Thank you for your help.

  • #2 / Jun 20, 2011 8:41am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, Matt.

    You might be running into a problem with mod_security. I used to see this happening on pages with Javascript.

    See: http://www.liewcf.com/how-to-disable-mod_security-in-htaccess-file-3631/

    For information on disabling mod_security.

    NOTE: This involves .htaccess. Make sure you’re comfortable working with .htaccess.

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

ExpressionEngine News!

#eecms, #events, #releases