We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Right. I forgot that it was a radio button. Thanks for checking. You did save the document after setting the radio option, right?


    ------------------------------------------------------------------------------------------
    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
      • 39498
      • 169 Posts
      Yes, of course. Maybe it is related to the install problems? Rights management?
        • 3749
        • 24,544 Posts
        Sorry, the only thing I can think of is if you have any ACL entries protecting the TV or Form Customization rules.


        ------------------------------------------------------------------------------------------
        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
          • 39498
          • 169 Posts
          So, I think I found all errors.

          To the install:
          I have a de install. So in the folder lexicon there is only en, and de is missing. installing on an old modx-2.2.0-pl2, not with newest modx-2.2.4-pl, the console gives a report on that. Duplicating the en folder and renaming it to de lets complete the install after rerun. This should be catched by installation routine in future versions.

          The CSS Chunk Mode:
          emailresource.class.php line 212 is missing a
          break;
          . With that fixed ER processes the chunk.
            • 3749
            • 24,544 Posts
            Good catch. Thanks!

            I don't understand the issue with the lexicon. I only have en and ru directories (no de), and I don't see how a missing directory would affect the install, since it just copies whatever directories are in the transport file.


            ------------------------------------------------------------------------------------------
            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
              • 39498
              • 169 Posts
              I can not say, what's the lexicon point is basicaly. I set de as basic language during the modx installation. I assume, therefore de is needed for the installation of componets. In this case, the fallback to en is not given, for whatever reason. I only got there by accident, testing it on an old modx version, which gave more error description than the actual one (actualy asking for de), but both breaking the installation at nearly the same point. I am not deep enough into modx to tell, what is up here. I tested it on two different systems with same error. Maybe you try to reproduce.
                • 3749
                • 24,544 Posts
                Thanks, that's odd as $modx->lexicon() will always give the en string if the requested one is not found, though maybe that's not the case with $modx->lexicon->load().

                When I have time, I'll try to see if I can reproduce it. Setting the Manager Language and/or culture_key to en before installing might have worked, but it shouldn't be necessary.

                [update] OK, I see the problem. There's a 'require' in the resolver that loads the lexicon for setting the TV descriptions, so it's requiring the de language file, which isn't there. I'll add a sanity check.


                ------------------------------------------------------------------------------------------
                PLEASE, PLEASE specify the version of MODX you are using.
                MODX info for everyone: http://bobsguides.com/modx.html [ed. note: BobRay last edited this post 14 years ago.]
                  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
                  • 3749
                  • 24,544 Posts
                  I've uploaded a new version (1.1.3-pl) with the fixes. Let me know if it causes any problems. Thanks for all your help.



                  ------------------------------------------------------------------------------------------
                  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