select exibition_id from exibitions where is_main = "1" and is_active = "1" LIMIT 1
Unknown storage engine 'InnoDB'
SELECT * FROM ( branches ) WHERE is_active = 1 AND exibition_id = "6" order by order_cat, branch_name
Unknown storage engine 'InnoDB'
select hall_id from companies where hall_id is not null and is_active = 1 and exibition_id = "6" group by hall_id
Unknown storage engine 'InnoDB'
select * from exibitions where is_active = "1" ORDER BY FIELD(exibition_id,6) DESC LIMIT 1
Unknown storage engine 'InnoDB'
select
c.company_name, c.company_desc, countries.countries_name, eeve.title as event_title, exibitions.exibition_name_en as exibition_name, c.company_id, c.exibition_id, c.company_email, c.youtube_embed_url, c.youtube_url, c.is_active, c.ts, c.hall_id, c.web_site, c.position_in_hall, c.fake_hall
, GROUP_CONCAT(DISTINCT b.branch_id SEPARATOR "@") AS all_branches, c.image_logo
from
( companies c, company_in_branches cib, branches b )
INNER JOIN exibitions on ( exibitions.exibition_id = c.exibition_id AND exibitions.is_active = "1" )
left join countries on ( countries.countries_id = c.country_id )
left join exibition_events eeve on ( eeve.id = c.event_id )
where
c.company_id = cib.company_id AND
cib.branch_id = b.branch_id AND
c.is_active = 1 and
c.company_id = 922
Unknown storage engine 'InnoDB'
Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /var/www/clients/client3/web19/web/logic/Database.class.php:224
Stack trace:
#0 /var/www/clients/client3/web19/web/logic/Companies.class.php(140): Database->next(false)
#1 /var/www/clients/client3/web19/web/modules/exhibition/company.php(18): Companies->loadByIdFull(922)
#2 /var/www/clients/client3/web19/web/logic/init.php(223): require_once('/var/www/client...')
#3 /var/www/clients/client3/web19/web/index.php(37): require_once('/var/www/client...')
#4 {main}
thrown in /var/www/clients/client3/web19/web/logic/Database.class.php on line 224