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

Plik: /home/promedia3/ftp/badura.pl/library/db.class.php
Linia: 89
Trace: #0 /home/promedia3/ftp/badura.pl/library/Shop.class.php(729): db->query('select pro.*, k...') #1 /home/promedia3/ftp/badura.pl/library/Shop.class.php(717): 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(85): PageController->showPage(Array) #6 {main}
Kod: 0