( ! ) Warning: [mysql error 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 'ASC' at line 7
SELECT DISTINCT(image_id)
FROM piwigo_image_category
INNER JOIN piwigo_images ON id = image_id
WHERE
category_id = 80
AND (category_id NOT IN (59,211,346))
ORDER BY rank ASC
; in /data/multimedija/galerija/include/dblayer/functions_mysqli.inc.php on line 847 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 359600 | {main}( ) | .../index.php:0 |
2 | 0.0083 | 585200 | include( '/data/multimedija/galerija/include/section_init.inc.php' ) | .../index.php:12 |
3 | 0.0091 | 590304 | query2array( ) | .../section_init.inc.php:317 |
4 | 0.0091 | 590304 | pwg_query( ) | .../functions_mysqli.inc.php:888 |
5 | 0.0092 | 590352 | my_error( ) | .../functions_mysqli.inc.php:132 |
6 | 0.0092 | 590800 | trigger_error
( ) | .../functions_mysqli.inc.php:847 |
( ! ) Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /data/multimedija/galerija/include/dblayer/functions_mysqli.inc.php on line 908 |
( ! ) Error: Call to a member function fetch_assoc() on bool in /data/multimedija/galerija/include/dblayer/functions_mysqli.inc.php on line 908 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 359600 | {main}( ) | .../index.php:0 |
2 | 0.0083 | 585200 | include( '/data/multimedija/galerija/include/section_init.inc.php' ) | .../index.php:12 |
3 | 0.0091 | 590304 | query2array( ) | .../section_init.inc.php:317 |