Произошла исключительная ситуация (ExceptionMySQL) при обращении к СУБД MySQL.

Unknown column 'function.include' in 'where clause'
SELECT p.*, CONCAT(p.im_photo_id, '.', p.im_file_type) as im_photo_name, i.im_photo as im_main_photo FROM `immovables_photos` p left join immovables i on p.im_id = i.im_id WHERE p.im_id = function.include AND p.im_photo_type = '4c5a97c04ffa1' ORDER BY p.im_photo_order

Ошибка в файле /var/www/alfabrok/developer.alfabrok.ua/class/data/mysql/class.mysql.select.php в строке 110.


Warning: Cannot modify header information - headers already sent by (output started at /var/www/alfabrok/developer.alfabrok.ua/class/data/mysql/class.mysql.select.php:123) in /var/www/alfabrok/developer.alfabrok.ua/class/app/controller.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /var/www/alfabrok/developer.alfabrok.ua/class/data/mysql/class.mysql.select.php:123) in /var/www/alfabrok/developer.alfabrok.ua/class/app/controller.php on line 82