Database error: Invalid SQL: select a.mag, a.vol, a.no, a.wsid, a.pageno, a.artkey, a.arttype, a.secid, a.ord, a.artsubid, a.startpage, a.endpage, a.urlname, a.pdfpages, a.pdflock, a.bid, a.cid, LMm_SectAct0ad2, ¹,tÀ ock,0Conflicts of interest:[œq|Trec,núxnúÐnúnúHÀnúa.secartid, date_format(a.actdate, '%Y/%c/%e') as actdate, m.name as magname, m.name as magshname, m.issnp, m.issno, mn.name as issue, mn.name as magnoname, s.name as sname, s.nameen as snameen, date_format(a.deactdate, '%e.%c.%Y') as deactdate, a.actdate as actdatemy, if(a.havepdf = 'y', 1, 0) as havepdf, if(mn.pdfdate <= now(), 1, 0) as canpdf, date_format(mn.pdfdate, '%e.%c.%Y') as pdfdate, if(a.actdate <= now(), 1, 0) as isactive, if(a.deactdate <= now(), 1, 0) as wasdeactivated, date_format(mn.insdate, '%e.%c.%Y') as minsdate, date_format(mn.outdate, '%e.%c.%Y') as moutdate, mn.outdate, cn1.ctx as aname, cc1.ctx as comment, ck1.ctx as keywords , ca1.ctx as authors, cw1.ctx as wplaces , cn2.ctx as anameen, cc2.ctx as commenten, ck2.ctx as keywordsen , ci.ctx as ctxcita from articles a left join dois d using (doi) left join sections s on (a.mag = s.mag and a.secid = s.secid) left join mags m on (a.mag = m.mag) left join magnos mn on (a.mag = mn.mag and a.vol = mn.vol and a.no = mn.no) left join ctx cn1 on (a.artkey = cn1.artkey and cn1.type = 2 and cn1.paraid = 0) left join ctx cc1 on (a.artkey = cc1.artkey and cc1.type = 4 and cc1.paraid = 0) left join ctx ck1 on (a.artkey = ck1.artkey and ck1.type = 3 and ck1.paraid = 0) left join ctx ca1 on (a.artkey = ca1.artkey and ca1.type = 1 and ca1.paraid = 0) left join ctx cw1 on (a.artkey = cw1.artkey and cw1.type = 9 and cw1.paraid = 0) left join ctx ci on (a.artkey = ci.artkey and ci.type=90 and ci.paraid = 0) left join ctx cn2 on (a.artkey = cn2.artkey and cn2.type = 12 and cn2.paraid = 0) left join ctx cc2 on (a.artkey = cc2.artkey and cc2.type = 14 and cc2.paraid = 0) left join ctx ck2 on (a.artkey = ck2.artkey and ck2.type = 13 and ck2.paraid = 0) where a.artkey = 'ped-201206-0012' and a.actdate <= now() and (a.deactdate is null or a.deactdate > now())
MySQL Error: 1064 (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)
Session halted.