( ! ) Fatal error: Uncaught mysqli_sql_exception: 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 in /var/www/domains/pc-help-ambrozic.com/fotogalerije/include/dblayer/functions_mysqli.inc.php on line 132 |
( ! ) mysqli_sql_exception: 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 in /var/www/domains/pc-help-ambrozic.com/fotogalerije/include/dblayer/functions_mysqli.inc.php on line 132 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 863816 | {main}( ) | .../index.php:0 |
2 | 0.0044 | 1493856 | include( '/var/www/domains/pc-help-ambrozic.com/fotogalerije/include/section_init.inc.php ) | .../index.php:12 |
3 | 0.0047 | 1498064 | query2array( $query = '\nSELECT DISTINCT(image_id)\n FROM piwigo_image_category\n INNER JOIN piwigo_images ON id = image_id\n WHERE\n category_id = 81\nAND (category_id NOT IN (64,63))\n ORDER BY rank ASC\n;', $key_name = NULL, $value_name = 'image_id' ) | .../section_init.inc.php:317 |
4 | 0.0047 | 1498064 | pwg_query( $query = '\nSELECT DISTINCT(image_id)\n FROM piwigo_image_category\n INNER JOIN piwigo_images ON id = image_id\n WHERE\n category_id = 81\nAND (category_id NOT IN (64,63))\n ORDER BY rank ASC\n;' ) | .../functions_mysqli.inc.php:888 |
5 | 0.0047 | 1498064 | query( $query = '\nSELECT DISTINCT(image_id)\n FROM piwigo_image_category\n INNER JOIN piwigo_images ON id = image_id\n WHERE\n category_id = 81\nAND (category_id NOT IN (64,63))\n ORDER BY rank ASC\n;' ) | .../functions_mysqli.inc.php:132 |