MYSQL ERROR REPORT
- 27/04/2017 18:04:44
---------------------------------------
1054 - Unknown column 'restrict_to_categories' in 'where clause'

select * from banners where status = '1' and banners_group = 'banner' AND (restrict_to_categories LIKE '%,106,%' OR restrict_to_categories = '') AND (restrict_to_products LIKE '%,3545,%' OR restrict_to_products = '')
---------------------------------------
Server Name : vamvelosiped.ru
Remote Address: 54.92.190.84
Referer :
Requested : /gornyiy-velosiped-author-outset-2011-belyiy_HM-AU11O.html
Trace Back : #0 vam_db_error(select * from banners where status = '1' and banners_group = 'banner' AND (restrict_to_categories LIKE '%,106,%' OR restrict_to_categories = '') AND (restrict_to_products LIKE '%,3545,%' OR restrict_to_products = ''), 1054, Unknown column 'restrict_to_categories' in 'where clause') called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/inc/vam_db_query.inc.php:34]
#1 vam_db_query(select * from banners where status = '1' and banners_group = 'banner' AND (restrict_to_categories LIKE '%,106,%' OR restrict_to_categories = '') AND (restrict_to_products LIKE '%,3545,%' OR restrict_to_products = '')) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/inc/vam_random_select.inc.php:22]
#2 vam_random_select(select * from banners where status = '1' and banners_group = 'banner' AND (restrict_to_categories LIKE '%,106,%' OR restrict_to_categories = '') AND (restrict_to_products LIKE '%,3545,%' OR restrict_to_products = '')) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/inc/vam_banner_exists.inc.php:41]
#3 vam_banner_exists(dynamic, banner) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/includes/banners.php:23]
#4 include(/home/vamvelosiped/web/vamvelosiped.ru/public_html/includes/banners.php) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/includes/header.php:665]
#5 require(/home/vamvelosiped/web/vamvelosiped.ru/public_html/includes/header.php) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/product_info.php:60]
#6 include(/home/vamvelosiped/web/vamvelosiped.ru/public_html/product_info.php) called at [/home/vamvelosiped/web/vamvelosiped.ru/public_html/manager.php:120]

==========================================================================