Ошибка: Запрос select c.*, b.title as brand_title, m.title as model_title from ss_cars as c left join ss_cars_models as m on c.folder=m._id left join ss_cars_brands as b on m._master_id=b._id where c._disabled=0 and c.redirect_id=0 and c.folder=204 and ( c.`` LIKE "0" ) order by c._id desc, c._id desc limit 0,60 вызвал ошибку Unknown column 'c.' in 'where clause'
Array ( [0] => Array ( [file] => /var/www/clients/client1/web1/web/system/lib/db.php [line] => 81 [function] => db_query [args] => Array ( [0] => select c.*, b.title as brand_title, m.title as model_title from ss_cars as c left join ss_cars_models as m on c.folder=m._id left join ss_cars_brands as b on m._master_id=b._id where c._disabled=0 and c.redirect_id=0 and c.folder=204 and ( c.`` LIKE "0" ) order by c._id desc, c._id desc limit 0,60 ) ) [1] => Array ( [file] => /var/www/clients/client1/web1/web/_content/textblocks/text/27/27 [line] => 583 [function] => db_getAssocs [args] => Array ( [0] => select c.*, b.title as brand_title, m.title as model_title from ss_cars as c left join ss_cars_models as m on c.folder=m._id left join ss_cars_brands as b on m._master_id=b._id where c._disabled=0 and c.redirect_id=0 and c.folder=204 and ( c.`` LIKE "0" ) order by c._id desc, c._id desc limit 0,60 ) ) [2] => Array ( [file] => /var/www/clients/client1/web1/web/_content/textblocks/text/50/50 [line] => 349 [function] => get_products_list [args] => Array ( [0] => 204 [1] => [2] => [3] => [4] => year [5] => 0 [6] => 0 [7] => 60 ) ) [3] => Array ( [file] => /var/www/clients/client1/web1/web/_content/pages/text/36/136_1 [line] => 7 [args] => Array ( [0] => /var/www/clients/client1/web1/web/_content/textblocks/text/50/50 ) [function] => include ) [4] => Array ( [file] => /var/www/clients/client1/web1/web/system/handler/index.php [line] => 375 [args] => Array ( [0] => /var/www/clients/client1/web1/web/_content/pages/text/36/136_1 ) [function] => require ) )
Ошибка: Запрос select count(*) from ss_cars where _disabled=0 and redirect_id=0 and folder=204 and ( `` LIKE "0" ) вызвал ошибку Unknown column '' in 'where clause'
Array ( [0] => Array ( [file] => /var/www/clients/client1/web1/web/system/lib/db.php [line] => 126 [function] => db_query [args] => Array ( [0] => select count(*) from ss_cars where _disabled=0 and redirect_id=0 and folder=204 and ( `` LIKE "0" ) ) ) [1] => Array ( [file] => /var/www/clients/client1/web1/web/_content/textblocks/text/27/27 [line] => 592 [function] => db_getItem [args] => Array ( [0] => select count(*) from ss_cars where _disabled=0 and redirect_id=0 and folder=204 and ( `` LIKE "0" ) ) ) [2] => Array ( [file] => /var/www/clients/client1/web1/web/_content/textblocks/text/50/50 [line] => 349 [function] => get_products_list [args] => Array ( [0] => 204 [1] => [2] => [3] => [4] => year [5] => 0 [6] => 0 [7] => 60 ) ) [3] => Array ( [file] => /var/www/clients/client1/web1/web/_content/pages/text/36/136_1 [line] => 7 [args] => Array ( [0] => /var/www/clients/client1/web1/web/_content/textblocks/text/50/50 ) [function] => include ) [4] => Array ( [file] => /var/www/clients/client1/web1/web/system/handler/index.php [line] => 375 [args] => Array ( [0] => /var/www/clients/client1/web1/web/_content/pages/text/36/136_1 ) [function] => require ) )