One of our users has started reporting that they are unable to preview a not-published page (ie,
Page Settings -> Published? is unticked) that they are editing, by using the "Preview" tab.
This is not a feature that I normally use myself (publish, view in a new browser window, and then re-edit until done, is my way), but having tested this, the problem also occurs to me as well.
When trying to preview the not-published page, instead of the preview, the MODx preview tab displays the following error message:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 »
SQL: SELECT fullname FROM `modx`.`modx_user_attributes` WHERE `modx`.`modx_user_attributes`.id =
It looks as though one of the MODx SQL calls is getting truncated part-way through.
Does anybody have any ideas what may be causing the problem, and how I could resolve it?
Thanks for any advice.