A.S.D. Bartolo Longo - Foto
A.S.D. Bartolo Longo - Galleria Fotografica
Home
Login
Lista degli Album
Ultimi aggiornamenti
Ultimi commenti
Le più viste
Le più votate
I miei preferiti
Cerca
Errore critico
C'è stato un errore mentre si processava una quesry al database.
While executing query 'SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id FROM cpg15x_pictures AS r INNER JOIN cpg15x_albums AS a ON a.aid = r.aid WHERE (1) AND r.owner_id = '-1' AND approved = 'YES' ORDER BY ctime ASC, pid ASC LIMIT 0 ,-25' in include/functions.inc.php on line 1688 database 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 '-25' at line 8
Foto: /web/htdocs/www.asdbartololongo.it/home/galleria/include/functions.inc.php - Linea: 250
Debug Info
Debug Output:
Mostra / Nascondi
Seleziona tutto
USER: ------------------ Array ( [ID] => fa99a6ac4078860deb7e3318078de298 [am] => 1 ) ========================== USER DATA: ------------------ Array ( [user_id] => 0 [user_name] => Guest [groups] => Array ( [0] => 3 ) [group_quota] => 0 [can_rate_pictures] => 1 [can_send_ecards] => 0 [can_post_comments] => 0 [can_upload_pictures] => 0 [can_create_albums] => 0 [pub_upl_need_approval] => 1 [priv_upl_need_approval] => 1 [access_level] => 3 [disk_max] => 0 [disk_min] => 0 [has_admin_access] => 0 [group_name] => Anonymous [can_create_public_albums] => 0 [can_see_all_albums] => 0 [group_id] => 3 [allowed_albums] => Array ( ) ) ========================== Queries: ------------------ Array ( [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:177] (1.18 ms) [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:48] (0.93 ms) [2] => DELETE FROM `Sql601465_2`.cpg15x_sessions WHERE time < 1735233291 AND remember = 0 [bridge/udb_base.inc.php:59] (0.71 ms) [3] => DELETE FROM `Sql601465_2`.cpg15x_sessions WHERE time < 1734027291 [bridge/udb_base.inc.php:59] (0.66 ms) [4] => UPDATE cpg15x_config SET value = 1735236891 WHERE name = 'session_cleanup' [bridge/udb_base.inc.php:59] (0.8 ms) [5] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg15x_usergroups WHERE group_id in (3) [bridge/udb_base.inc.php:357] (0.76 ms) [6] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 3 [bridge/udb_base.inc.php:362] (0.73 ms) [7] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (3) [bridge/udb_base.inc.php:375] (0.64 ms) [8] => SELECT aid FROM cpg15x_albums WHERE moderator_group IN (3) [include/init.inc.php:271] (0.84 ms) [9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:334] (2.13 ms) [10] => DELETE FROM cpg15x_banned WHERE expiry < '2024-12-26 19:14:51' [include/init.inc.php:448] (0.42 ms) [11] => SELECT null FROM cpg15x_banned WHERE ('3.137.186.26' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:464] (0.76 ms) [12] => SELECT aid FROM cpg15x_albums WHERE (1 AND visibility != 0 AND visibility != 10000 AND visibility NOT IN (3)) [include/functions.inc.php:1112] (0.76 ms) [13] => SELECT user_name as user_name FROM `Sql601465_2`.cpg15x_users WHERE user_id = '-1' [bridge/udb_base.inc.php:59] (1.01 ms) [14] => SELECT COUNT(*) FROM cpg15x_pictures AS r INNER JOIN cpg15x_albums AS a ON a.aid = r.aid WHERE (1) AND r.owner_id = '-1' AND approved = 'YES' [include/functions.inc.php:1671] (0.77 ms) [15] => SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id FROM cpg15x_pictures AS r INNER JOIN cpg15x_albums AS a ON a.aid = r.aid WHERE (1) AND r.owner_id = '-1' AND approved = 'YES' ORDER BY ctime ASC, pid ASC LIMIT 0 ,-25 [include/functions.inc.php:1688] (0.56 ms) ) ========================== GET : ------------------ Array ( [album] => lastupby [cat] => 0 [page] => 2 ) ========================== POST : ------------------ Array ( ) ========================== COOKIE : ------------------ Array ( ) ==========================