{"status":"error","error":"query_failed","query":"SELECT SQL_CALC_FOUND_ROWS articles.id,\r\n\t\t\tarticles.title_el as title,\r\n\t\t\tarticles.subtitle_el as subtitle,\r\n\t\t\tarticles.shorttext_el as shorttext,\r\n\t\t\tarticles.text_el as text,\r\n\t\t\tarticles.active_el,articles.active_en,\r\n\t\t\tarticles.writerid as writerid,\r\n\t\t\tarticles.hidden as hidden,\r\n\t\t\thomenews.id as homeid,\r\n\t\t\tDATE_FORMAT(articles.datetimewritten,'%d.%c.%Y') as datetime,articles.active_el as active,\r\n\t\t\tarticles.type,articles.subtype,\r\n\t\t\tpictures.id as picid,pictures.safename as picsafename,pictures.extension as extension\r\n\t\tfrom articles\r\n\t\t\t\tleft join pictures on pictures.id=(select pictures.id from pictures where pictures.articleid=articles.id and pictures.type=1 and pictures.active_el=1 order by pictures.picturetypeid desc limit 0,1)\r\n\t\t\t\tleft join homenews on (homenews.articleid=articles.id)\r\n\t\twhere articles.type=5\r\n\t\t\tand articles.subtype in (1319)\r\n\t\t\tand articles.active_el=1\r\n\t\t\tand (articles.hidden=0 || articles.hidden is null)\r\n\t\tgroup by articles.id\r\n\t\torder by datetimewritten desc,id desc\r\n\t\tlimit 40\u220bd=32724,20","dberrno":null,"dberror":null}