We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18463
    • 121 Posts
    Martijn van Turnhout Reply #1, 15 years, 3 months ago
    I’ve upgraded a site from 2.1 to 2.1.1 PL and all the extras work fine, except Archivist. Archivist is supposed to have System Settings, but after the upgrade, there aren’t any! It’s all blank. The Archive page itself doesn’t work anymore either.

    Now, I’m not really sure if this is a 2.1.1 issue. The only thing I know for certain is that it happened after upgrading. I’ve tried completely removing the package and installing again through Package Management, but all I keep seeing are blank Archivist System Settings.

    Archivist is down now and I have no idea how to solve this. Anybody got a clue?
      • 28215
      • 4,149 Posts
      Try visiting directly the page your getArchives call is on.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 18463
        • 121 Posts
        Martijn van Turnhout Reply #3, 15 years, 3 months ago
        The Archive resource returns a "Page not found" error when I have not set it as a container. When I have set it as a container (is this necessary behavior by the way?), I can access the Archive page, though without any archived resources and an English Archivist-link, opposed to the Dutch one. It doesn’t matter if I set the page to cached or uncached, it keeps outputting the English languages, as opposed to other pages using the same Archivist link.

        I can access both the /archief page, as well as /archief/2011/05. Though they both give empty resources in return.
          • 18463
          • 121 Posts
          Martijn van Turnhout Reply #4, 15 years, 3 months ago
          This is so weird. I’ve just decided to throw in some random parameters inside the getArchives call. I’ve now used this:

          [[!getArchives?
          &parents=`3`
          &tpl=`news_archives`
          &toPlaceholder=`archives`
          &showHidden=`1`
          ]]

          Long story short: I’ve only added &showHidden=`1` to the call and now it seems to work fine! I know it’s not obliged Shaun, but could you enlighten me please? Is showHidden a getArchives parameter as well then?

          -- edit --

          I’m using getPage in combination with cache=`0`. getPage also contains the &showHidden parameter, because getResources is included to show resources that are hidden from menu. Perhaps there’s some sort of connection?