Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS stock INNER JOIN point_warehouses ON point_warehouses.war' at line 4 ) Array ( [0] => Array ( [file] => /mnt/data/www/kolobox/models/Product.php [line] => 1600 [function] => query [class] => DB [type] => :: [args] => Array ( [0] => SELECT stock.code, stock.stock, points.id, points.name, points.realcity, points.message, points.vneshniy, points.is_centre, points.nasha FROM AS stock INNER JOIN point_warehouses ON point_warehouses.warehouse_id = stock.warehouse_id INNER JOIN warehouses ON warehouses.id = point_warehouses.warehouse_id INNER JOIN tochki AS points on (points.id = point_warehouses.point_id) WHERE stock.code IN (149777, 108501, 108502, 90199, 104700, 72761, 72939, 72758, 128954, 148161, 65995, 148159, 148154, 149778, 149775, 8039, 108507, 65909, 185156, 108504) AND points.name != "" AND stock.stock > 0 AND warehouses.active = 1 AND points.active = 1 ORDER BY points.priority, points.name, stock.code ) ) [1] => Array ( [file] => /mnt/data/www/kolobox/controllers/AjaxController.php [line] => 1161 [function] => getStocks [class] => Product [type] => :: [args] => Array ( [0] => Array ( [0] => Array ( [id_service] => 1805 [id] => 149777 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 85 [in_skor] => T [profil] => 70 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 165 [pricet] => 1 [dayprod] => 0 [articul] => 3220004876 [addinfo] => (XL) [fuel] => E [clutch] => B [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2020.00 [price_order] => 2250.00 [price_old] => 0.00 [warehouse_id] => 87 [tradein] => 1 ) [1] => Array ( [id_service] => 1812 [id] => 108501 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R13 [nagruz] => 73 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 155 [pricet] => 1 [dayprod] => 0 [articul] => 1026640 [addinfo] => [fuel] => E [clutch] => E [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2050.00 [price_order] => 2320.00 [price_old] => 0.00 [warehouse_id] => 5 [tradein] => 1 ) [2] => Array ( [id_service] => 1820 [id] => 108502 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R13 [nagruz] => 75 [in_skor] => T [profil] => 70 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 155 [pricet] => 1 [dayprod] => 0 [articul] => 1026642 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2100.00 [price_order] => 2268.00 [price_old] => 0.00 [warehouse_id] => 7 [tradein] => 1 ) [3] => Array ( [id_service] => 1824 [id] => 90199 [mark] => Laufenn [model] => iFIT ICE (LW71) [diameter] => R13 [nagruz] => 82 [in_skor] => T [profil] => 70 [runflat] => 0 [season] => 1 [stud] => 2 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 1020286 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 19550 [img_src] => 19550_img.jpg [path] => /2016/05/ [parent_id] => 2 [alias] => ifit_ice_lw71 [action] => {"0":1,"56":1,"58":1,"59":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2110.00 [price_order] => 2337.00 [price_old] => 0.00 [warehouse_id] => 153 [tradein] => 1 ) [4] => Array ( [id_service] => 1826 [id] => 104700 [mark] => Formula [model] => Energy [diameter] => R15 [nagruz] => 81 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 165 [pricet] => 1 [dayprod] => 0 [articul] => 2140400 [addinfo] => [fuel] => F [clutch] => E [noise] => 72 [noiseid] => 2 [price_sale] => [prod_id] => 15502 [img_src] => 15502_img.jpg [path] => /2015/01/ [parent_id] => 2 [alias] => energy [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => formula [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2115.00 [price_order] => 2240.00 [price_old] => 0.00 [warehouse_id] => 1 [tradein] => 1 ) [5] => Array ( [id_service] => 1835 [id] => 72761 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R13 [nagruz] => 82 [in_skor] => T [profil] => 70 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 1019137 [addinfo] => [fuel] => E [clutch] => E [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2130.00 [price_order] => 2354.00 [price_old] => 0.00 [warehouse_id] => 5 [tradein] => 1 ) [6] => Array ( [id_service] => 1836 [id] => 72939 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 82 [in_skor] => H [profil] => 60 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 3220004892 [addinfo] => [fuel] => E [clutch] => B [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2130.00 [price_order] => 2200.00 [price_old] => 0.00 [warehouse_id] => 87 [tradein] => 1 ) [7] => Array ( [id_service] => 1837 [id] => 72758 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R14 [nagruz] => 82 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 1026656 [addinfo] => [fuel] => E [clutch] => E [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2140.00 [price_order] => 2364.00 [price_old] => 0.00 [warehouse_id] => 5 [tradein] => 1 ) [8] => Array ( [id_service] => 1842 [id] => 128954 [mark] => Nokian [model] => Nordman SX 2 [diameter] => R13 [nagruz] => 75 [in_skor] => T [profil] => 70 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 155 [pricet] => 1 [dayprod] => 0 [articul] => T430762 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 24697 [img_src] => 24697_img.jpg [path] => /2017/06/ [parent_id] => 2 [alias] => nordman_sx_2 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => nokian [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2160.00 [price_order] => 2211.00 [price_old] => 0.00 [warehouse_id] => 3 [tradein] => 1 ) [9] => Array ( [id_service] => 1845 [id] => 148161 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 88 [in_skor] => H [profil] => 70 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 3220004880 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2175.00 [price_order] => 2384.00 [price_old] => 0.00 [warehouse_id] => 87 [tradein] => 1 ) [10] => Array ( [id_service] => 1848 [id] => 65995 [mark] => Formula [model] => Energy [diameter] => R14 [nagruz] => 82 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 2175900 [addinfo] => [fuel] => F [clutch] => E [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 15502 [img_src] => 15502_img.jpg [path] => /2015/01/ [parent_id] => 2 [alias] => energy [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => formula [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2180.00 [price_order] => 2499.00 [price_old] => 0.00 [warehouse_id] => 23 [tradein] => 1 ) [11] => Array ( [id_service] => 1846 [id] => 148159 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 86 [in_skor] => H [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 3220004887 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2180.00 [price_order] => 2260.00 [price_old] => 0.00 [warehouse_id] => 153 [tradein] => 1 ) [12] => Array ( [id_service] => 1849 [id] => 148154 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 82 [in_skor] => H [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 3220004885 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2180.00 [price_order] => 2180.00 [price_old] => 0.00 [warehouse_id] => 1 [tradein] => 1 ) [13] => Array ( [id_service] => 1850 [id] => 149778 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R15 [nagruz] => 81 [in_skor] => V [profil] => 60 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 175 [pricet] => 1 [dayprod] => 0 [articul] => 3220004900 [addinfo] => [fuel] => E [clutch] => B [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2185.00 [price_order] => 2440.00 [price_old] => 0.00 [warehouse_id] => 7 [tradein] => 1 ) [14] => Array ( [id_service] => 1852 [id] => 149775 [mark] => Sailun [model] => Atrezzo Eco [diameter] => R14 [nagruz] => 79 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 165 [pricet] => 1 [dayprod] => 0 [articul] => 3220004883 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17046 [img_src] => 17046_img.png [path] => /2015/10/ [parent_id] => 2 [alias] => atrezzo_eco [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => sailun [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2190.00 [price_order] => 2190.00 [price_old] => 0.00 [warehouse_id] => 1 [tradein] => 1 ) [15] => Array ( [id_service] => 1855 [id] => 8039 [mark] => Goodyear [model] => Efficientgrip [diameter] => R14 [nagruz] => 86 [in_skor] => H [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 521877 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 2667 [img_src] => 2667_img.jpg [path] => /2014/01/ [parent_id] => 2 [alias] => efficientgrip [action] => {"48":1,"57":1} [minaction] => 1 [novelty] => 0 [tmalias] => goodyear [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2200.00 [price_order] => 0.00 [price_old] => 0.00 [warehouse_id] => 1 [tradein] => 1 ) [16] => Array ( [id_service] => 1862 [id] => 108507 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R14 [nagruz] => 75 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 155 [pricet] => 1 [dayprod] => 0 [articul] => 1026641 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2210.00 [price_order] => 2101.00 [price_old] => 0.00 [warehouse_id] => 536 [tradein] => 1 ) [17] => Array ( [id_service] => 1866 [id] => 65909 [mark] => Formula [model] => Energy [diameter] => R14 [nagruz] => 82 [in_skor] => H [profil] => 60 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 2138300 [addinfo] => [fuel] => F [clutch] => E [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 15502 [img_src] => 15502_img.jpg [path] => /2015/01/ [parent_id] => 2 [alias] => energy [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => formula [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2218.00 [price_order] => 2562.00 [price_old] => 0.00 [warehouse_id] => 5 [tradein] => 1 ) [18] => Array ( [id_service] => 1867 [id] => 185156 [mark] => Mazzini [model] => Eco 307 [diameter] => R15 [nagruz] => 88 [in_skor] => H [profil] => 60 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 185 [pricet] => 1 [dayprod] => 0 [articul] => 6924590211865 [addinfo] => (XL) [fuel] => C [clutch] => C [noise] => 70 [noiseid] => 1 [price_sale] => [prod_id] => 33835 [img_src] => 33835_img.jpg [path] => /2019/12/ [parent_id] => 2 [alias] => eco_307 [action] => [1] [minaction] => 0 [novelty] => 0 [tmalias] => mazzini [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2222.00 [price_order] => 0.00 [price_old] => 0.00 [warehouse_id] => 3 [tradein] => 1 ) [19] => Array ( [id_service] => 1868 [id] => 108504 [mark] => Laufenn [model] => G-Fit EQ (LK41) [diameter] => R13 [nagruz] => 77 [in_skor] => T [profil] => 65 [runflat] => 0 [season] => 2 [stud] => 0 [width] => 165 [pricet] => 1 [dayprod] => 0 [articul] => 1019145 [addinfo] => [fuel] => [clutch] => [noise] => 0 [noiseid] => 0 [price_sale] => [prod_id] => 17229 [img_src] => 17229_img.jpg [path] => /2015/11/ [parent_id] => 2 [alias] => g-fit_eq_lk41 [action] => {"48":1,"57":1} [minaction] => 0 [novelty] => 0 [tmalias] => laufenn [incitystock] => 0 [ppriority] => 0 [tpriority] => 0 [sort] => 0 [price] => 2223.00 [price_order] => 0.00 [price_old] => 0.00 [warehouse_id] => 1 [tradein] => 1 ) ) [1] => ) ) [2] => Array ( [file] => /mnt/data/www/kolobox/controllers/AjaxController.php [line] => 101 [function] => getShowMore [class] => AjaxController [object] => AjaxController Object ( [ajax:AjaxController:private] => [action:AjaxController:private] => getShowMore [last_error] => [success_msg] => [modules:AjaxController:private] => Array ( [catalog] => Array ( [category] => catalog_parents [item] => catalog_children [moto] => catalog_moto [tmarks] => tmarks ) [catalog_goods] => Array ( [item] => catalog_goods [category_goods] => goods_categories ) [files] => Array ( [category] => files_parents [item] => files_children ) [gallery] => Array ( [category] => gallery_parents [item] => gallery_children ) [info] => Array ( [category] => articles_parents [item] => articles_children ) [users] => Array ( [category] => users_parents [item] => users_list ) [content] => Array ( [category] => content_children ) [messages] => Array ( [category] => messages ) [actions] => Array ( [item] => actions ) [advertising] => Array ( [item] => advertising ) [promo] => Array ( [item] => promo ) [vitrin] => Array ( [item] => vitrin ) [complaint] => Array ( [item] => complaint ) [points] => Array ( [category] => city [item] => tochki ) [warehouses] => Array ( [item] => warehouses ) [selectionPresets] => Array ( [item] => selection_sort_presets ) [selection] => Array ( [item] => selection_sorts ) [services] => Array ( [item] => services ) [tire_fitting_shed] => Array ( [item] => tire_fitting_shed ) [news] => Array ( [item] => news ) [polls] => Array ( [item] => poll ) ) [category:AjaxController:private] => Array ( [2] => Шины [100] => Мотошины [200] => ATV шины [3] => Диски ) ) [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /mnt/data/www/kolobox/index.php [line] => 38 [function] => process [class] => AjaxController [object] => AjaxController Object ( [ajax:AjaxController:private] => [action:AjaxController:private] => getShowMore [last_error] => [success_msg] => [modules:AjaxController:private] => Array ( [catalog] => Array ( [category] => catalog_parents [item] => catalog_children [moto] => catalog_moto [tmarks] => tmarks ) [catalog_goods] => Array ( [item] => catalog_goods [category_goods] => goods_categories ) [files] => Array ( [category] => files_parents [item] => files_children ) [gallery] => Array ( [category] => gallery_parents [item] => gallery_children ) [info] => Array ( [category] => articles_parents [item] => articles_children ) [users] => Array ( [category] => users_parents [item] => users_list ) [content] => Array ( [category] => content_children ) [messages] => Array ( [category] => messages ) [actions] => Array ( [item] => actions ) [advertising] => Array ( [item] => advertising ) [promo] => Array ( [item] => promo ) [vitrin] => Array ( [item] => vitrin ) [complaint] => Array ( [item] => complaint ) [points] => Array ( [category] => city [item] => tochki ) [warehouses] => Array ( [item] => warehouses ) [selectionPresets] => Array ( [item] => selection_sort_presets ) [selection] => Array ( [item] => selection_sorts ) [services] => Array ( [item] => services ) [tire_fitting_shed] => Array ( [item] => tire_fitting_shed ) [news] => Array ( [item] => news ) [polls] => Array ( [item] => poll ) ) [category:AjaxController:private] => Array ( [2] => Шины [100] => Мотошины [200] => ATV шины [3] => Диски ) ) [type] => -> [args] => Array ( [0] => getShowMore ) ) )