We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32658
    • 38 Posts
    Hi,

    I'm using the latest Modx 2.5.0-pl and I'm currently having problems in saving a Template. If I put a simple text/word, it will save OK. But, if I copy and paste my real template (with the HTML, CSS, JS tags), I couldn’t save the Template.

    There's an error box (see attached screenshot) that pops up. It's displaying something about PHP configuration error. What do I tell my webhost to check/fix on their end? They are not familiar with MODx.

    Help please!

    Regards,
    Rom

    PS, I took a screehshot, see attached page.
    [ed. note: worldrom last edited this post 10 years, 4 months ago.]
      • 32658
      • 38 Posts
      This is the error prompt:

      ==========
      Error 403: Forbidden

      Your PHP settings have been disabled by an H-Sphere administrator
      Your current PHP configuration:
      This configuration was changed: Mon May 9 18:00:20 UTC 2016
      Please bring your PHP configuration in compliance with admin settings or request your administrator to re-enable support of your settings.
      ==========

      Any tips?
        • 3749
        • 24,544 Posts
        Others have reported that this issue was caused by CloudFlare having trouble with any JS code, or links to JS code, in the Template.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 32658
          • 38 Posts
          Quote from: BobRay at May 10, 2016, 05:03 PM
          Others have reported that this issue was caused by CloudFlare having trouble with any JS code, or links to JS code, in the Template.

          Thanks, Bob.

          I tried saving sections of my html template and I found out that I can save the Template okay. But if I add this code, it wouldn't save.

          <link rel="stylesheet" href="css/app.css" />

          I checked my app.css and there's no code there, it's a blank file for now.

          I will update this thread again later.

          Regards.
          Rom