Sorry if this is in the wrong place.
If you mark a document to be published at a certain date and time, then when that date and time arrives you get something like this:
« 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 'WHERE `topdog`.modx_site_content.pub_date < 1156982246 AND `topdog`.modx_site_co' at line 1 »
SQL: UPDATE `topdog`.modx_site_content SET published=1, publishedon=1156982246, publishedby= WHERE `topdog`.modx_site_content.pub_date < 1156982246 AND `topdog`.modx_site_content.pub_date!=0
This bug is already in the tracker here:
http://modxcms.com/bugs/task/406
I tried the fix that zenmaster posted and I can confirm that it doesn’t work. Therefore I think the problem zenmaster was fixing is unrelated. I guess that is the only fix that was commited to the repository.
OK, so I wanted to try the fix that jdavies posted in that bug report. However I cannot find the function "checkPublishStatus" and the typo "publihsedBy". So here are my questions:
1. Can someone please point me to the location where I can try the changes mentioned by jdavies?
2. Can we can ensure this problem doesn’t fall through the cracks because the bug tracker at first glance appears to show a fix as being commited?
I tried to log in to the bug tracker but I guess it uses seperate accounts to the forum.
I’m using 0.9.2.1.
Thanks!!
Andy