We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36604
    • 268 Posts
    Does those errors say something to anyone ?
    The error log is always growing up.

    [2013-02-03 16:19:47] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
    [2013-02-03 15:19:47] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
    [2013-02-03 15:19:47] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/core/default
    [2013-02-03 15:19:47] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 16:36:38] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/core/default
    [2013-02-03 16:36:38] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 16:36:38] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 16:36:38] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/gallery/default
    [2013-02-03 16:36:38] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/gallery/default
    [2013-02-03 18:33:54] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/core/default
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 17:33:54] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/gallery/default
    [2013-02-03 18:14:59] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 18:14:59] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 18:39:49] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
    [2013-02-03 18:42:53] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 19:46:21] (ERROR @ /connectors/lang.js.php) Error caching lexicon topic lexicon/fr/core/resource
    [2013-02-03 21:33:29] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
    [2013-02-04 00:03:18] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
    [2013-02-03 23:03:19] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-03 23:03:19] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-04 04:32:09] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
    [2013-02-04 03:32:09] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
    [2013-02-04 03:32:09] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/core/default
    [2013-02-04 03:32:09] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-04 03:32:09] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/fr/gallery/default
    [2013-02-04 08:28:35] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    [2013-02-04 08:28:35] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
    


    Thank you
      • 42046
      • 436 Posts
      I've just noticed the same errors appearing my logs.

      [2013-03-07 13:00:40] (ERROR @ /assets/components/gallery/connector.php) Could not cache context settings for mgr.
      [2013-03-07 13:00:40] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/core/default
      [2013-03-07 13:00:40] (ERROR @ /assets/components/gallery/connector.php) Error caching action map mgr/actions
      [2013-03-07 13:00:40] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
        • 22303 MODX Staff
        • 10,725 Posts
        I'm not sure what this is, but it appears to be specific to the Gallery connector. Anyone else experiencing this with Gallery?

        Any additional information you can provide might help us nail this down, e.g. MODX version, Gallery version, specific requests that trigger these errors, etc.
          • 42046
          • 436 Posts
          2.2.6-pl (traditional)
          Gallery 1.5.2-pl

          And I'm calling Gallery using getPage 1.2.3-pl.
            • 39333
            • 151 Posts
            I have gallery working fine on 2.2.6 traditional and advanced. Nothing in the error log.

            I'm using the traditional gallery call however. May be something to do with using getPage with it?
              MODX...the Zen of CMS
              "Bight off more than you can chew and keep right on chewing."
              • 40748
              • 55 Posts
              I have the same situation:

              [2013-11-21 15:40:55] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
              [2013-11-21 15:40:55] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/en/gallery/default
              [2013-11-21 15:40:55] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/ru/gallery/default
              [2013-11-21 15:40:56] (ERROR @ /assets/components/gallery/connector.php) Error caching lexicon topic lexicon/ru/gallery/default
              [2013-11-21 17:19:15] (ERROR @ /connectors/layout/modx.config.js.php) Error caching lexicon topic lexicon/ru/core/resource
              [2013-11-21 17:23:23] (ERROR @ /connectors/layout/modx.config.js.php) Error caching lexicon topic lexicon/ru/core/resource

              MODX Revolution 2.2.8-pl (traditional)
              GALLERY 1.5.2 pl

              This is GALLERY call:

              [[Gallery?
              &album=`[[*albumname]]`
              &thumbProperties=`{"w":110,"h":110,"q":70,"fltr":"wmt|.RU|4|C|"}`
              &imageProperties=`{"w":800,"h":800,"q":80,"fltr":"wmt|.RU|16|C|"}`
              &thumbTpl=`myThumbChunk`
              ]]

              One day - no errors, another day (the same configuration) - errors come.

              May it's because wrong folder permissions????

              Help and ideas would be greate!
                Cheap and ready landing pages: http://real-portal.biz
                Start selling fast, good for dropshipping
                • 3749
                • 24,544 Posts
                There is (or was) a syntax error in the Gallery lexicon files under core/components/gallery/lexicon/.

                This line was in the English file:

                $_lang['gallery.usecss_desc'];



                Change that to something like this in all the Gallery lexicon files:


                $_lang['gallery.usecss_desc'] = 'Use CSS';
                


                Maybe the error message for this could suggest that a file is the problem rather than a topic.

                You're lucky you got the Error Log message. In the right plugin, it can bring the site down with a 500 error. wink




                  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
                  • 40748
                  • 55 Posts
                  Hi Bob!

                  Thanks for your quick response!

                  I decided to upgrade to 2.2.10-pl with the same website and watch the situation.

                  I'll report here if I see something interesting.

                  P.S. You are right.
                  In CS version of lexicon files there is no value for $_lang['gallery.usecss_desc'] (line 61 in file properties.inc.php).
                  But in RU version there is no such a file with $_lang['gallery.usecss_desc'] parameter at all.

                  May be it would be wise just to copy all EN files into RU folder?

                  UPD:

                  Now I have 2.2.10 traditional version.
                  Got the ERROR @ /connectors/layout/modx.config.js.php) Error caching lexicon topic lexicon/ru/core/resource now. [ed. note: mixa_ru last edited this post 12 years, 10 months ago.]
                    Cheap and ready landing pages: http://real-portal.biz
                    Start selling fast, good for dropshipping