
« MODx Parse Error »I’ve tried on the same server the query through phpmyadmin and it works fine.
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Lost connection to MySQL server during query »
SQL: SELECT DISTINCT sc.createdon,sc.id FROM `mabase`.modx_site_content sc LEFT JOIN `mabase`.modx_document_groups dg on dg.document = sc.id WHERE (sc.parent IN (11552,11800,11922,11993,12066,12019,11846,12423,12347,11753,2,
12499,12500,12809,12910,13011,13162,13313,13464,13615,13617,13919,13920,13921) AND sc.published=1 AND sc.deleted=0 AND isfolder = 0) AND (sc.privateweb=0) ORDER BY sc.createdon DES
What about replace create date by pub date for sortBy option?

I will let you know if I’ve been able to make it wok with Ditto.

if(!function_exists("buildURL")){
....
}This discussion is closed to further replies. Keep calm and carry on.