598
</li>
599
</ul>
600
<?
601 $itemImgs = $Zapr->getList('img','WHERE item_id='.$item['id'].' ORDER BY `order` ASC ');
602
603
$prices = $Zapr->getById2($item['id'],'Prices');
604
29-03-2024
Замечание № 8
Описание ошибки: Undefined index: id
Вызов из /var/www/u0059048/data/www/fregat.mriya-irk.ru/Template/site/Catalog.php строка № 601
array(7) {
["error"]=>
int(1064)
["type"]=>
string(35) "Ошибка в SQL запросе:"
["message"]=>
string(166) "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 'ORDER BY `order` ASC' at line 1"
["query"]=>
string(59) "SELECT * FROM item_img WHERE item_id= ORDER BY `order` ASC "
["line"]=>
int(112)
["file"]=>
string(88) "/var/www/u0059048/data/www/fregat.mriya-irk.ru/Component/Model_Section/Catalog/Class.php"
["title"]=>
string(36) "Ошибка в mysql запросе"
}