The error is triggered by Manager and front-end pages for me. With Manager, it appears that any page I navigate to triggers somewhere between 3 and 5 entries being written to the log.
On the front-end, there are pages that trigger the error and pages that don't. I did some testing and this is what I found.
I created a bare-bones template with no TVs or snippet calls and a resource (page) that uses the template. Added Wayfinder and QuickCrumbs calls to the template, no erorr triggered.
Added a text TV to the template and some content to it in the resource, no error.
Added an image TV to the template, but didn't specify an image in the resource. This produced the error. When I specified an image, the error was no longer triggered.
Removing the image (path) from the resource triggered the error again. Reinstating the image cleared the error.
Adding more image TVs to the template and performing the above sequence produced the same results.
I noticed that of the existing resources I have set up in the site, only those that have an image TV reference in a getResources template (chunk) trigger the error. When an image TV is referenced directly within the resource template, and an image is specified, no error is triggered.
-
MODX Staff
- 10,725 Posts
This sounds like a problem with the image TV, but I do not know what. If someone can isolate the issue, it would be very helpful.
-
MODX Staff
- 10,725 Posts
This has nothing to do with the Workspace. This is an issue with the use of Media Sources.
Quote from: stretched at Nov 01, 2012, 06:54 PMWhat should 'Default MODX workspace' be set to in the modx_workspaces table? Mine is set to:
Should it be an actual path e.g. '/core/' ?
No, that's normal. MODX translates {core_path} and {assets_path} there, and in System Settings.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
MODX Staff
- 10,725 Posts
8829 is not even a valid bug. It's just a warning indicating the index was already existing on the table; the upgrade can't add it twice.
We need to focus on what is triggering the specific error being discussed here, please. All this stuff from setup is irrelevant at the moment. Can someone narrow down what Resources or Extras or Element tags are triggering this error? That is what needs to be done here.
-
MODX Staff
- 10,725 Posts
@remek555:
Thanks for the diligence in helping track this down.
If you have some more details on what those "settings and simple chunks" were, it might be helpful in tracking down the precise cause of this problem. Would be great to see an issue created in the tracker with those details.