Colegio Bilingüe Alfred B. Nobel
La Chorrera, Panama. Tolerancia - Equidad - Respeto.
Home
Login
Album list
Last uploads
Last comments
Most viewed
Top rated
My Favorites
Search
Critical error
There was an error while processing a database query.
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, UNIX_TIMESTAMP(msg_date) AS msg_date, msg_body, author_id, msg_author, msg_id FROM comments AS c INNER JOIN pictures AS r ON r.pid = c.pid INNER JOIN albums AS a ON a.aid = r.aid WHERE (r.aid = 110) AND r.approved = 'YES' AND c.approval = 'YES' ORDER BY msg_id ASC LIMIT 0 ,-2802' in include\functions.inc.php on line 1520 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 '-2802' at line 9
File: H:\root\home\fernando16dl-001\www\alfredbnobel\academy_galeria\include\functions.inc.php - Line: 250
Debug Info
Debug Output:
show / hide
Select All
USER: ------------------ Array ( [ID] => ff5c36b77b4473761f89b4aaf2c2a729 [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] => 1 [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] => Guests [can_create_public_albums] => 0 [can_see_all_albums] => 0 [group_id] => 3 [allowed_albums] => Array ( ) ) ========================== Queries: ------------------ Array ( [0] => SELECT name, value FROM config [include\init.inc.php:177] (0.69 ms) [1] => SELECT * FROM plugins ORDER BY priority [include\plugin_api.inc.php:48] (0.57 ms) [2] => SELECT session_id FROM `db_9cbb1a_abnglr`.sessions WHERE session_id = '7c4925f04d50f267dd92f4d89e1bad22' [bridge\udb_base.inc.php:59] (0.88 ms) [3] => INSERT INTO `db_9cbb1a_abnglr`.sessions (session_id, time) VALUES ('7c4925f04d50f267dd92f4d89e1bad22', 1717270868) [bridge\udb_base.inc.php:59] (0.89 ms) [4] => 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 usergroups WHERE group_id in (3) [bridge\udb_base.inc.php:357] (0.67 ms) [5] => SELECT group_name FROM usergroups WHERE group_id= 3 [bridge\udb_base.inc.php:362] (0.74 ms) [6] => SELECT COUNT(*) FROM categorymap WHERE group_id in (3) [bridge\udb_base.inc.php:375] (0.57 ms) [7] => SELECT aid FROM albums WHERE moderator_group IN (3) [include\init.inc.php:271] (0.41 ms) [8] => SELECT lang_id FROM languages WHERE enabled='YES' [include\init.inc.php:334] (0.45 ms) [9] => DELETE FROM banned WHERE expiry < '2024-06-01 12:41:08' [include\init.inc.php:448] (0.62 ms) [10] => SELECT null FROM banned WHERE ('18.191.240.229' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include\init.inc.php:464] (0.4 ms) [11] => SELECT category, title, aid, keyword, description, alb_password_hint FROM albums WHERE aid = 110 [thumbnails.php:136] (0.59 ms) [12] => SELECT p.cid, p.name FROM categories AS c, categories AS p WHERE c.lft BETWEEN p.lft AND p.rgt AND c.cid = 5 ORDER BY p.lft [include\functions.inc.php:2945] (0.42 ms) [13] => SELECT COUNT(*) FROM comments AS c INNER JOIN pictures AS r ON r.pid = c.pid INNER JOIN albums AS a ON a.aid = r.aid WHERE (r.aid = 110) AND r.approved = 'YES' AND c.approval = 'YES' [include\functions.inc.php:1496] (12.14 ms) [14] => 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, UNIX_TIMESTAMP(msg_date) AS msg_date, msg_body, author_id, msg_author, msg_id FROM comments AS c INNER JOIN pictures AS r ON r.pid = c.pid INNER JOIN albums AS a ON a.aid = r.aid WHERE (r.aid = 110) AND r.approved = 'YES' AND c.approval = 'YES' ORDER BY msg_id ASC LIMIT 0 ,-2802 [include\functions.inc.php:1520] (0.54 ms) ) ========================== GET : ------------------ Array ( [album] => lastcom [cat] => -110 [page] => 37 ) ========================== POST : ------------------ Array ( ) ========================== COOKIE : ------------------ Array ( [cpg15x_data] => YToyOntzOjI6IklEIjtzOjMyOiJmZjVjMzZiNzdiNDQ3Mzc2MWY4OWI0YWFmMmMyYTcyOSI7czoyOiJhbSI7aToxO30= ) ==========================