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

    I have a number of templates using shared TV’s.
    The are simple text TV’s, with some default text...

    When I edit a page I can update all info apart from the TV’s. Once saved they revert to their default values?
    Anyone see this before, any ideas?

    Hosted on IIS.

    J
      • 25663 MODX Staff
      • 12,272 Posts
      MODx version? PHP version? MySQL version? Browsers tested?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 15083
        • 697 Posts
        Sorry...

        MODx: 0.9.6.2
        PHP Version 5.2.6
        MySQL: 5.1

        I can confirm that no TV’s are being saved at all. Tested in FF, IE. Whats even more bizzare is that this "was" working fine. I had saved lots of TV’s and all of a sudden none of them will save. I have not installed any new modules or snippets.
          • 25663 MODX Staff
          • 12,272 Posts
          Try updating to 0963 as a first step.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 15083
            • 697 Posts
            My bad,....always read the forums!!!
            Problem is related to SQL being in STRICT mode.

            I set this in my mysql ini file:
            sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

            They are all saving fine now. Still dont know why it worked the first time for me...
            Thank you for your help!!!!