Wyjatek w pliku: /home/studione/domains/noclegiswietokrzyskie.pl/public_html/engine/main_model.php, linia: 85
Blad skladni: SELECT o.id, o.nazwa, o.ulica, o.ulica_nr, o.kod_pocztowy, o.poczta, o.miasto, o.tel_stac, o.tel_kom, o.typ_konta, oo.urls, oo.images, oo.description, m.city_seo, m.id city_id, a.nazwa alias FROM obiekty o LEFT JOIN obiekty_opis oo ON o.id = oo.id_obiektu LEFT JOIN aliasy a ON o.id = a.id_uzytkownika LEFT JOIN miasta m ON o.miasto1 = m.id WHERE o.status > 0 AND o.typ_konta IN (1, 2, 3) AND ( o.miasto1 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) OR o.miasto2 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) OR o.miasto3 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) ) GROUP BY o.id ORDER BY o.typ_konta DESC, oo.punkty_pozycjonujace DESC, RAND()
Wyjatek w pliku: /home/studione/domains/noclegiswietokrzyskie.pl/public_html/engine/driver/mysql.php, linia: 65
Blad skladni: SELECT o.id, o.nazwa, o.ulica, o.ulica_nr, o.kod_pocztowy, o.poczta, o.miasto, o.tel_stac, o.tel_kom, o.typ_konta, oo.urls, oo.images, oo.description, m.city_seo, m.id city_id, a.nazwa alias FROM obiekty o LEFT JOIN obiekty_opis oo ON o.id = oo.id_obiektu LEFT JOIN aliasy a ON o.id = a.id_uzytkownika LEFT JOIN miasta m ON o.miasto1 = m.id WHERE o.status > 0 AND o.typ_konta IN (1, 2, 3) AND ( o.miasto1 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) OR o.miasto2 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) OR o.miasto3 IN (1809,1810,1811,1813,1814,1815,1817,1819,1820,1821,1822,1824,1826,1827,1835,1837,1846,1850,1852,1853,1862,1887,2353,2354,2367,2373,2395,2530,2536,2545,2551) ) GROUP BY o.id ORDER BY o.typ_konta DESC, oo.punkty_pozycjonujace DESC, RAND()