Na stránce nastala chyba!

Varování skriptu

MYSQL ERROR : 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 'ORDER BY pi.ordination ASC, pi.name ASC' at line 6

Backtrace debugger

#1 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/kernel/api/SqlDatabase.php:400
  ObjektSqlDatabase->getAllRows()
  Argumenty
1) bool true
 
#2 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/kernel/api/SqlDatabase.php:146
  ObjektSqlDatabase->getAllRows()
  Argumenty
1) bool true
 
#3 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/shop/ShopProductDetail.php:1268
  ObjektSqlDatabase->SqlDataSource()
  Argumenty
1) string ' SELECT pi.name,pv.code FROM shop_product_item AS pi JOIN shop_product_item_link AS pl ON pi.id = pl.idp JOIN shop_product_item_variant AS pv ON pi.id = pv.product_id WHERE pl.idc = ORDER BY pi.ordination ASC, pi.name ASC '
 
#4 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/shop/ShopProductDetail.php:90
  ObjektShopProductDetail->GetOtherProducts()
 
#5 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/UserControl.php:639
  ObjektShopProductDetail->OnLoadControl()
 
#6 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/UserControl.php:584
  ObjektUserControl->OnLoadUserControl()
 
#7 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/UserControl.php:625
  ObjektUserControl->Build()
 
#8 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/shop/ShopCenterContent.php:104
  ObjektUserControl->AddControl()
  Argumenty
1) object 'ShopProductDetail'
 
#9 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/components/UserControl.php:580
  ObjektShopCenterContent->getTemplate()
 
#10 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/MainPageDwe.php:547
  ObjektUserControl->Build()
 
#11 Soubor /var/www/vhosts/teraval.cz/httpdocs/dwe/kernel/controls/mpf_page.php:339
  ObjektMainPageDwe->initPage()
 
#12 Soubor /var/www/vhosts/teraval.cz/httpdocs/shop.php:131
  ObjektCMPFPage->run()