Galeria KKR
Galeria zdj?? Koszali?skiej Kompanii Rycerskiej
Home
::
Register
::
Login
Album list
::
Last uploads
::
Last comments
::
Most viewed
::
Top rated
::
My Favorites
::
Search
Choose your language:
Choose a theme
Classic *
Curve
Eyeball
Fruity
Hardwired
Igames
Mac ox x
Project vii
Rainy day
Water drop
Default theme
Choose your language
Default language
Critical error
There was an error while processing a database query.
While executing query 'SELECT COUNT(*) FROM cpg133_pictures AS p INNER JOIN cpg133_albums AS r ON r.aid = p.aid INNER JOIN cpg133_comments AS c ON c.pid = p.pid WHERE (r.aid = 1) AND r.aid NOT IN (23) AND approved = 'YES' AND approval = 'YES' AND msg_id > ' in include/functions.inc.php on line 2121 mySQL 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 '' at line 7
File: /var/www/vhost/kkr/kkr.nsc.pl/data/html/galeria/include/functions.inc.php - Line: 270
Debug Info
Debug Output:
show / hide
Select All
USER: ------------------ Array ( [ID] => f34525b74c4e8ff09edd51623d3eb317 [am] => 1 ) ========================== USER DATA: ------------------ Array ( [user_id] => 0 [user_name] => Guest [groups] => Array ( [0] => 101 ) [group_quota] => 0 [can_rate_pictures] => [can_send_ecards] => [can_post_comments] => [can_upload_pictures] => [can_create_albums] => 0 [pub_upl_need_approval] => [priv_upl_need_approval] => [access_level] => [disk_max] => [disk_min] => [has_admin_access] => 0 [group_name] => [can_create_public_albums] => 0 [can_see_all_albums] => 0 [group_id] => 101 [allowed_albums] => Array ( ) ) ========================== Queries: ------------------ Array ( [0] => SELECT name, value FROM cpg133_config [include/init.inc.php:181] (1 ms) [1] => SELECT * FROM cpg133_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms) [2] => SELECT name, value FROM cpg133_bridge [include/functions.inc.php:4421] (0 ms) [3] => 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 cpg133_usergroups WHERE group_id in (101) [bridge/udb_base.inc.php:323] (0 ms) [4] => SELECT group_name FROM cpg133_usergroups WHERE group_id= 101 [bridge/udb_base.inc.php:327] (0 ms) [5] => SELECT COUNT(*) FROM cpg133_categorymap WHERE group_id in (101) [bridge/udb_base.inc.php:340] (0 ms) [6] => SELECT aid FROM cpg133_albums WHERE moderator_group IN (101) [include/init.inc.php:271] (0 ms) [7] => SELECT lang_id FROM cpg133_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms) [8] => SHOW TABLES LIKE 'cpg133_languages' [include/functions.inc.php:4136] (1 ms) [9] => SELECT * FROM cpg133_languages [include/functions.inc.php:4143] (1 ms) [10] => SHOW TABLES LIKE 'cpg133_languages' [include/functions.inc.php:4136] (1 ms) [11] => SELECT * FROM cpg133_languages [include/functions.inc.php:4143] (0 ms) [12] => DELETE FROM cpg133_banned WHERE expiry < '2024-06-17 00:47:02' [include/init.inc.php:443] (0 ms) [13] => SELECT null FROM cpg133_banned WHERE ('3.17.75.43' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms) [14] => SELECT aid FROM cpg133_albums WHERE (1 AND visibility != 0 AND visibility != 10000 AND visibility NOT IN (101)) [include/functions.inc.php:976] (0 ms) [15] => SELECT category, title, aid, keyword, description, alb_password_hint FROM cpg133_albums WHERE aid='1' [displayimage.php:308] (0 ms) [16] => SELECT COUNT(*) FROM cpg133_pictures AS p INNER JOIN cpg133_albums AS r ON r.aid = p.aid INNER JOIN cpg133_comments AS c ON c.pid = p.pid WHERE (r.aid = 1) AND r.aid NOT IN (23) AND approved = 'YES' AND approval = 'YES' AND msg_id > [include/functions.inc.php:2121] (0 ms) ) ========================== GET : ------------------ Array ( [album] => lastcom [cat] => -1 [pid] => 4 ) ========================== POST : ------------------ Array ( ) ========================== COOKIE : ------------------ Array ( ) ==========================