Ошибка
Причина: Could not parse query
Запрос: select c.id,c.location_id location,c.banner_id,b.name,b.target,b.url,b.text,b.image1,b.w,b.h from ad_camp c,ad_banners b
where c.banner_id=b.id and c.inwork='1' and c.pause='0' and c.datestart<1615081656
and (c.allpages=1 or c.treeurl like '%,78,%' or exists (select 1 from ad_uri where camp_id=c.id and INSTR('/user/VMK_0580.html',uri)))
and c.extreeurl not like '%,78,%'
and c.timemin<=4 and c.timemax>=4
and c.daysview like '%,7,%'
order by rand()
Описание: Got error 28 from storage engine
SQL Error