Chyba v dotazu: SELECT kalendar.id,kalendar.nadpis,kalendar.popis,kalendar.publikovano,kalendar.date_start,kalendar.date_end,uzivatel.jmeno,uzivatel.prijmeni FROM kalendar LEFT JOIN uzivatel ON uzivatel.id=kalendar.uzivatel_id WHERE publikovano=1 AND kraj_id='3' ORDER BY kalendar.date_start DESC LIMIT 0, 10Column 'kraj_id' in where clause is ambiguous
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/data/Data.php:111 Stack trace: #0 /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/data/Kalendar.php(93): Data::QueryAssoc('SELECT kalendar...') #1 /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/actions/Kalendar.php(140): Kalendar::GetUdalostiLimit(1, 10, '3') #2 /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/index.php(94): KalendarAction->Show() #3 /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/index.php(100): Init() #4 {main} thrown in /mnt/data/accounts/z/zemedelstvizije/data/www/zscr/data/Data.php on line 111