-
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.
2.2.6-pl (traditional)
Gallery 1.5.2-pl
And I'm calling Gallery using getPage 1.2.3-pl.
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."
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!
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.
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.]