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

    I have Modx 2.2.4, but i can't change a template.
    can somebody help me please?
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      If you use right click on a resource, can you change the template with quick update or quick create?

      The old answer to this used to be to check your PHP, MySQL, and server time settings, then set the MODX default_timezone in settings to match the PHP time. Such as "America/LosAngeles". But that was supposed to be fixed in 2.2.3 and the most recent install I have worked with is 2.2.4 where this wasn't an issue (fixed).

      If you can't use quick update/create, your issue is likely not due to the default_timezone but it's worth a look see through the settings anyway.

        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 3749
        • 24,544 Posts
        Frogabog's idea is the most likely, but it won't hurt to manually delete all the files in the core/cache directory and clear your browser cache and cookies (especially if you upgraded to 2.2.4).


        ------------------------------------------------------------------------------------------
        PLEASE, PLEASE specify the version of MODX you are using.
        MODX info for everyone: http://bobsguides.com/modx.html
          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
          • 3102
          • 50 Posts
          I can change the template with quick update and quick create.
          I have tested the value of php settings 'Timezone Database' and 'Default timezone' in 'date_timezone' MODX settings, and that work not.
          The cache of MODX and the browser is cleared and that helpt not.

          The value of Timezone Database is internal
          The value of Default timezone is UTC
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            The default_timezone setting within the MODX manager should match the PHP timezone setting. It looks like this:

            America/LosAngeles

            Try adding the appropriate PHP timezone to the MODX default_timezone setting (check PHP, then match that setting).

            You can find a list of PHP timezone settings here: http://php.net/manual/en/timezones.php
              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster