(Solved) Editing theme files brake the entire web site
  • Hi:

    So I was editing some of The New Custodian theme templates and clicked on Save and suddenly that template in particular stops working :O

    Then I open again the same template in Editor and noticed that all the code is in blue letters (not formatted by color as normal) See attachment.

    For example, I edited file article_cont.tpl and changed text from English to Spanish and clicked on Save and article page brokes.
    I open the banner template, I just clicked on Save without making any changes and that template stops working too.

    Every tpl file I edit turns to blue code so I broke all the site /:

    UPDATE: I discovered that everytime I clicking on Save it adds a slash to a variable and that breaks the tpl file, example:

    <article class=\"art-item clearfix\">


    What's going on?

    Thanks for any help.
     
    Post edited by Oscar at 2012-11-25 14:33:02
  • 1 Comment sorted by
  • Solution:

    This is a server side issue: double check that Magic Quotes are really Off on the server.