We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40088
    • 708 Posts
    I have two separate Revo installations, one German and the other English. They both use identical (but separate) Articles templates and the settings are also the same. Yet when visiting the German Articles container page, eg, germansite.de/artikel/ the posts are missing even though they do appear on the individual article page. However, on the English site the Articles container page works perfectly fine.

    I checked the relevant Articles settings for each site but I can see no reason why the posts are missing from the German Articles container but not the English. Ideas?

    Revo 2.2.14
    Articles 1.7.6

    This question has been answered by todd.b. See the first response.

      Todd
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I'd have to say that there must be a difference. Perhaps the wrong parents property. Perhaps difference in published status. Difference in the tpl? Is this a custom template, with your own getResources/getPage snippet, and you forgot about the showHidden property (Articles are set to hide from menus)?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 40088
        • 708 Posts
        I agree, it does seem that way but I can't find any meaningful differences. I've used a diff tool to compare the templates and I'm about to do a MySQL dump and compare the databases. It's so frustrating.
          Todd
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          If the templates are identical, are the resource IDs also the same? That's what I meant by "the wrong &parents property".
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 3749
            • 24,544 Posts
              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
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Morning, Bob wink "Hag sameach" to the both of you (Passover today).
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
              • discuss.answer
                • 40088
                • 708 Posts
                Quote from: sottwell at Apr 15, 2014, 12:45 AM
                If the templates are identical, are the resource IDs also the same? That's what I meant by "the wrong &parents property".

                Yes, the IDs are also the same.

                I ended up doing a clean MODX install which fixed things.

                Thanks.
                  Todd
                  • 40088
                  • 708 Posts
                  Quote from: BobRay at Apr 15, 2014, 12:45 AM
                  It might be something like this: http://bobsguides.com/blog.html/2013/05/22/dude,-wheres-my-article-disappearing-articles/

                  I did check that possibility but everything looked good.
                    Todd
                    • 43288
                    • 35 Posts
                    I have a basically identical problem, where [[+articles]] doesn't render in the article container's [[*content]] . The [[*content]] renders, but the [[+articles]] placeholder is always empty. If I put [[+archives]] in the container's content, it renders, but of course that's not what I want. I've also tested with a different articles container resource, used the sample templates and chunks, all with the same result: [[+articles]] fails to render; nothing in the error log.

                    I don't have any different contexts like todd.b. I'm running MODX 2.2.14 and the latest Articles add-on (never had the older 1.6.5 installed). I've tried uninstalling/reinstalling the add-ons to no avail.

                    If I re-install 2.2.14 over top of my current 2.2.14, will this fix the problem? If so, any idea why?

                    Thanks, watou
                      • 43288
                      • 35 Posts
                      I do have these errors in the log now:

                       [2014-04-16 11:42:19] (ERROR @ /connectors/resource/index.php) Could not load class: ArticlesContainer from mysql.articlescontainer.
                      [2014-04-16 11:45:43] (ERROR @ /assets/components/articles/connector.php) Encountered empty IN condition with key contentid
                      [2014-04-16 11:45:43] (ERROR @ /assets/components/articles/connector.php) Error 42000 executing statement: 
                      Array
                      (
                          [0] => 42000
                          [1] => 1064
                          [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') )' at line 1
                      )