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 products.*, products_description.* from products, products_description where products.product_id = "312" and products_description.product_id = products.product_id
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/Products.class.php(103): Database->next(false) #1 /var/www/clients/client3/web19/web/modules/exhibition/products.php(17): Products->loadById(312) #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