Notice: Undefined variable: termekWhere in /var/www/ipct.hu/inc/php/main.php on line 128
Database error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY ipcam_menu_3.sequence_3, ipcam_menu_3.id_3, ipcam_menu_2.sequence_2,...' at line 6
QUERY: SELECT ipcam_termek.* FROM ipcam_termek LEFT JOIN ipcam_menu_1 ON (ipcam_menu_1.id_1 = ipcam_termek.menu_1) LEFT JOIN ipcam_menu_2 ON (ipcam_menu_2.id_2 = ipcam_termek.menu_2) LEFT JOIN ipcam_menu_3 ON (ipcam_menu_3.id_3 = ipcam_termek.menu_3) WHERE ipcam_termek.del = 0 AND ipcam_termek.active = 1 AND ORDER BY ipcam_menu_3.sequence_3, ipcam_menu_3.id_3, ipcam_menu_2.sequence_2, ipcam_menu_2.id_2, ipcam_menu_1.sequence_1, ipcam_menu_1.id_1, action_huf DESC, sequence, name_hu
Array ( [0] => Array ( [file] => /var/www/ipct.hu/inc/db.php [line] => 94 [function] => checkError [class] => Database [type] => -> [args] => Array ( [0] => [1] => SELECT ipcam_termek.* FROM ipcam_termek LEFT JOIN ipcam_menu_1 ON (ipcam_menu_1.id_1 = ipcam_termek.menu_1) LEFT JOIN ipcam_menu_2 ON (ipcam_menu_2.id_2 = ipcam_termek.menu_2) LEFT JOIN ipcam_menu_3 ON (ipcam_menu_3.id_3 = ipcam_termek.menu_3) WHERE ipcam_termek.del = 0 AND ipcam_termek.active = 1 AND ORDER BY ipcam_menu_3.sequence_3, ipcam_menu_3.id_3, ipcam_menu_2.sequence_2, ipcam_menu_2.id_2, ipcam_menu_1.sequence_1, ipcam_menu_1.id_1, action_huf DESC, sequence, name_hu ) ) [1] => Array ( [file] => /var/www/ipct.hu/inc/php/main.php [line] => 129 [function] => query [class] => Database [type] => -> [args] => Array ( [0] => SELECT ipcam_termek.* FROM ipcam_termek LEFT JOIN ipcam_menu_1 ON (ipcam_menu_1.id_1 = ipcam_termek.menu_1) LEFT JOIN ipcam_menu_2 ON (ipcam_menu_2.id_2 = ipcam_termek.menu_2) LEFT JOIN ipcam_menu_3 ON (ipcam_menu_3.id_3 = ipcam_termek.menu_3) WHERE ipcam_termek.del = 0 AND ipcam_termek.active = 1 AND ORDER BY ipcam_menu_3.sequence_3, ipcam_menu_3.id_3, ipcam_menu_2.sequence_2, ipcam_menu_2.id_2, ipcam_menu_1.sequence_1, ipcam_menu_1.id_1, action_huf DESC, sequence, name_hu ) ) [2] => Array ( [file] => /var/www/ipct.hu/index.php [line] => 40 [args] => Array ( [0] => /var/www/ipct.hu/inc/php/main.php ) [function] => include ) )
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/ipct.hu/inc/php/main.php:130 Stack trace: #0 /var/www/ipct.hu/index.php(40): include() #1 {main} thrown in /var/www/ipct.hu/inc/php/main.php on line 130