We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5624
    • 26 Posts
    When Archivist is not installed, and MetaX is enabled, an error occurs:

    [2011-01-14 09:20:44] (ERROR @ /index.php) Could not load class: Archivist from archivist.
    [2011-01-14 09:20:44] (ERROR @ /index.php) Problem getting service archivist, instance of class Archivist, from path /hermes/bosweb/web169/b1695/ipg.redstonec/core/components/archivist/model/archivist/


    I can remove the archivist code part under modx snippet for the time being, but could this be fixed for the future release?

    Thanks.


    MODX Revolution 2.0.6-pl2 (traditional) | PHP 5.2 | mySQL 5
      • 3866 ☆ A M B ☆
      • 350 Posts
      Hey, I’ve just discovered I’ve got the same problem!

      [2011-01-26 18:47:51] (ERROR @ /index.php) Could not load class: Archivist from archivist.
      [2011-01-26 18:47:51] (ERROR @ /index.php) Problem getting service archivist, instance of class Archivist, from path /home/kaa/public_html/core/components/archivist/model/archivist/

      I’m running MetaX but don’t have Archivist installed.

      Is this an error with MetaX or do you need Archivist downloaded?

      UPDATE: So I decided to download Archivist and now the error messages have gone! I don’t actually use the snippet but it seems to cure the problem! smiley
        Helen Warner
        Number one pixel!
        Proud to be linked with MODX at Crimson Pixel
        • 33988
        • 110 Posts
        Will look into the issue and include in the next release, thanks for the heads up.
          Sal Sodano
          President & Co-Founder of SkyToaster
          My Website Salscode.
          • 25029
          • 22 Posts
          Hi!

          Great snippet. I have downloaded the 1.5 recently but I cant get the keywords to show: This is what is showng in the source
          <meta name="keywords" content="Object" />

          Shouldnt the keyword be there as well? That does the content=object mean?

          I have used the call

          [[!MetaX?language=’sp’ &allkeywords=’Site_Keywords’]] and I have both a "keyword snippet and a chunk

          Thank

          Rickard
            • 33988
            • 110 Posts
            Quote from: rickardbe at Mar 09, 2011, 10:58 AM

            <meta name="keywords" content="Object" />
            [[!MetaX?language=’sp’ &allkeywords=’Site_Keywords’]] and I have both a "keyword snippet and a chunk
            Well two notes for you here, first, a snippet call uses ` and not ’. So your call should be [[!MetaX?language=`sp` &allkeywords=`Site_Keywords`]]

            Second, keep in mind that your call will use the default keywords TV which is called "keywords" and your chunk would be called "Site_Keywords", if one of those is not named correctly, then it will cause errors like yours.
            Hope this helps.
              Sal Sodano
              President & Co-Founder of SkyToaster
              My Website Salscode.
              • 25029
              • 22 Posts
              Hi!

              Thanks for the information.

              I tried to use only the call [[!MetaX]]

              and know i get the result:
              <!-- meta -->
              <meta name="keywords" content="Object,rent, house villa, stockholm, sweden" />

              So now my question is why the "object" is still in there ? Never had this problem with 1.3 or 1.4 version.

              Any tips?

              regards Rickard
                • 25029
                • 22 Posts
                this is how my TV looks like

                Add or edit template variables here. Template Variables must be assigned to templates in order to access them from snippets and documents.

                Variable Name: keywords
                Caption:
                Description:
                Category: metax
                Lock variable for editing:
                Sort Order: 0
                Clear Cache on Save:

                Rendering Options
                Input Type:text
                Input Option Values:
                Default Value:rent,house,sweden,exclusive
                Output Type: default


                maybe something is wrong here?
                  • 33988
                  • 110 Posts
                  You uncovered some code issues. I am working on a new sub-release to fix them and will have it out within about a hour. Thanks.
                    Sal Sodano
                    President & Co-Founder of SkyToaster
                    My Website Salscode.
                    • 25029
                    • 22 Posts
                    ok!

                    thank you

                      • 33988
                      • 110 Posts
                      http://modx.com/extras/package/metax has the new Revo version, 1.5.2. I was able to duplicate your issue and correct it. Thanks again for the catch.
                        Sal Sodano
                        President & Co-Founder of SkyToaster
                        My Website Salscode.