|
|
Четырехтактные Двигатели 150cc 153QMI, 158QMJ |
|
|
|
|
|
|
|
Показано 1 - 10 (всего 13 позиций) |
Страницы: 1 |
MYSQL QUERY ERROR REPORT
- 13/12/2024 11:12:52
---------------------------------------
1064 - 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 'by mi.manufacturers_name limit 0, 10' at line 1
select p.products_image, pd.products_name, mi.manufacturers_name, pd.products_info, p.products_quantity, p.products_date_available, p.products_id, p.manufacturers_id, p.products_price, p.products_sort_order, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers_info mi on (p.manufacturers_id = mi.manufacturers_id and mi.languages_id = '1') left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '203' group by p.products_idorder by mi.manufacturers_name limit 0, 10
---------------------------------------
Server Name : honlingzakaz.ru
Remote Address: 127.0.0.1
Referer :
Requested : /index.php?cPath=169_138_203&page=1&sort=3a
Trace Back : /var/www/honlingzakaz.ru/.htdocs/index.php:244(requirearray(1) {; [0]=>; string(67) "/var/www/honlingzakaz.ru/.htdocs/templates/Apteka/main_page.tpl.php"; }; ) => /var/www/honlingzakaz.ru/.htdocs/templates/Apteka/main_page.tpl.php:112(requirearray(1) {; [0]=>; string(73) "/var/www/honlingzakaz.ru/.htdocs/templates/content/index_products.tpl.php"; }; ) => /var/www/honlingzakaz.ru/.htdocs/templates/content/index_products.tpl.php:206(includearray(1) {; [0]=>; string(73) "/var/www/honlingzakaz.ru/.htdocs/includes/modules/product_listing_col.php"; }; ) => /var/www/honlingzakaz.ru/.htdocs/includes/modules/product_listing_col.php:147(tep_db_queryarray(1) {; [0]=>; &string(843) "select p.products_image, pd.products_name, mi.manufacturers_name, pd.products_info, p.products_quantity, p.products_date_available, p.products_id, p.manufacturers_id, p.products_price, p.products_sort_order, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers_info mi on (p.manufacturers_id = mi.manufacturers_id and mi.languages_id = '1') left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '203' group by p.products_idorder by mi.manufacturers_name limit 0, 10"; }; ) => /var/www/honlingzakaz.ru/.htdocs/includes/functions/database.php:153(tep_db_errorarray(3) {; [0]=>; &string(843) "select p.products_image, pd.products_name, mi.manufacturers_name, pd.products_info, p.products_quantity, p.products_date_available, p.products_id, p.manufacturers_id, p.products_price, p.products_sort_order, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers_info mi on (p.manufacturers_id = mi.manufacturers_id and mi.languages_id = '1') left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '203' group by p.products_idorder by mi.manufacturers_name limit 0, 10"; [1]=>; &int(1064); [2]=>; &string(183) "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 'by mi.manufacturers_name limit 0, 10' at line 1"; }; )
========================================================================== | | | | | | |