SQL: 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 kat.position asc, gt desc, nowosc desc' at line 3 Ostatnie zapytanie: (select pro.*, kat.seolink, kat.new_order, kat.position from produkty as pro left join kategorie as kat on pro.kategoria=kat.id where pro.stan > 0 AND aktywny = 1 AND nowosc > 1406751946 and kat.parent= ORDER BY kat.position asc, gt desc, nowosc desc)
Ilość wykonanych zapytań: 7
Całkowity czas wykonywania zapytań: 0.0028176307678223

Plik: /home/promedia3/ftp/badura.pl/library/db.class.php
Linia: 89
Trace: #0 /home/promedia3/ftp/badura.pl/library/Shop.class.php(754): db->query('select pro.*, k...') #1 /home/promedia3/ftp/badura.pl/library/Shop.class.php(742): Shop->getNowosciIn(NULL, 1000) #2 /home/promedia3/ftp/badura.pl/controllers/ProductsController.class.php(44): Shop->getNowosci(NULL, 1000) #3 /home/promedia3/ftp/badura.pl/controllers/ProductsController.class.php(9): ProductsController->lista() #4 /home/promedia3/ftp/badura.pl/controllers/PageController.class.php(189): ProductsController->products() #5 /home/promedia3/ftp/badura.pl/index.php(88): PageController->showPage(Array) #6 {main}
Kod: 0