We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2740
    • 95 Posts
    mk93 and cipa, good work on isolating the fault.

    I’m now using 1.0.4 and my site is working again; the site uses the @INHERIT binding on almost every page.
      • 5340
      • 1,624 Posts
      I never had a case where I had to use @INHERIT for my projects.
      Can you guys post your reason for using inherit. I might be missing something important smiley

      Thanks
        • 2740
        • 95 Posts
        I use them to control which sidebar appears in each section of my site as default. I simply followed sottwell’s superb tutorial here:

        http://sottwell.com/tv-input-types.html

        It’s one of my favourite features of MODx.

          • 19799
          • 14 Posts
          Well, as it turns out I had no necessity to use @INHERIT also.
          In my case I used it to change the site slogan according to the site section.
          Moreover, it seems I misunderstood the usage of the @INHERIT. So, I’ll wait with bug report smiley
          More likely it was me at fault.
            • 2740
            • 95 Posts
            Logged as a bug
              • 26931
              • 2,314 Posts
              thanks stratton
              http://bugs.modx.com/issues/3699

              i’m experiencing the same. is there a workaround at the moment?

              *edit* okay, this happens only if you add e.g. a default text after @INHERIT
                • 36820
                • 31 Posts
                I have got a similar problem.
                I wanted to upgrade from 1.0.4 to 1.0.5 and fortunalty first made the uprade only on my development server.
                Environment on development server: windows XP, xampp 1.7.1, php 5.2.9

                The Error message is like this: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 43193 bytes) in ....... manager\includes\tmplvars.commands.inc.php on line 137

                I followed what I red here and deleted that INHERIT to include a sub navigation on the left. It worked perfectly but of course no left navigation is on. So the problem is in my case that INHERIT as well but I can not leave it out.

                In addition I use YAMS because it is a 3 language website and that default value in that TV to get wayfinder for that leftnav is like this:
                @INHERIT [!Wayfinder? &startId=`[[UltimateParent]]` &hideSubMenus=`TRUE` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/row.tpl` &hereTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/here.tpl` &innerHereTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/innerhere.tpl` &activeParentRowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/activeparentrow.tpl`!]

                I saw of course that link from sharkbait just above my entry but I am not sure if my problem should be reportet as a new one?
                I will not upgrade on the lifeserver meanwhile.


                  • 21257 MODX Staff
                  • 730 Posts
                  There is a bug filed for this alread, universal.
                  I’ve made note of your report in it http://bugs.modx.com/issues/3699
                    Mike Schell
                    Lead Developer, MODX Cloud
                    Email: [email protected]
                    GitHub: https://github.com/netProphET/
                    Twitter: @mkschell
                    • 36820
                    • 31 Posts
                    Thank you netProphET. I will be waiting for the fix.