Katy Perry Online
#1 Source for Katy Perry!
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 COUNT(*) FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES'' in include/functions.inc.php on line 1616 database error: 2006 : MySQL server has gone away
File: /home/katyperry/public_html/gallery/include/functions.inc.php - Line: 250
Debug Info
Debug Output:
show / hide
Select All
USER: ------------------ Array ( [ID] => fe0f4c4245d37e4e146475963337298b [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 cpgeh_config [include/init.inc.php:177] (0.44 ms) [1] => SELECT * FROM cpgeh_plugins ORDER BY priority [include/plugin_api.inc.php:48] (0.3 ms) [2] => 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 cpgeh_usergroups WHERE group_id in (3) [bridge/udb_base.inc.php:350] (0.35 ms) [3] => SELECT group_name FROM cpgeh_usergroups WHERE group_id= 3 [bridge/udb_base.inc.php:362] (0.14 ms) [4] => SELECT COUNT(*) FROM cpgeh_categorymap WHERE group_id in (3) [bridge/udb_base.inc.php:375] (0.16 ms) [5] => SELECT aid FROM cpgeh_albums WHERE moderator_group IN (3) [include/init.inc.php:271] (11.61 ms) [6] => SELECT lang_id FROM cpgeh_languages WHERE enabled='YES' [include/init.inc.php:334] (0.37 ms) [7] => DELETE FROM cpgeh_banned WHERE expiry < '2024-11-13 06:51:17' [include/init.inc.php:448] (39.86 ms) [8] => SELECT null FROM cpgeh_banned WHERE ('18.220.140.32' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:464] (0.23 ms) [9] => SELECT rgt, lft, depth FROM cpgeh_categories WHERE cid = 16 LIMIT 1 [include/functions.inc.php:44] (35.7 ms) [10] => SELECT cid FROM cpgeh_categories WHERE lft BETWEEN 49 AND 84 [include/functions.inc.php:49] (0.53 ms) [11] => SELECT keyword FROM cpgeh_albums WHERE category IN (16, 191, 184, 175, 165, 17, 144, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159) [include/functions.inc.php:57] (2.66 ms) [12] => SELECT ctime FROM cpgeh_pictures WHERE pid = 257361 [include/functions.inc.php:2266] (6.04 ms) [13] => SELECT COUNT(*) FROM cpgeh_pictures AS p INNER JOIN cpgeh_albums AS r ON r.aid = p.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' AND (ctime > 1614082469 OR ctime = 1614082469 AND pid > 257361) [include/functions.inc.php:2277] (199.43 ms) [14] => SELECT COUNT(*) FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' [include/functions.inc.php:1616] (187.8 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 cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' ORDER BY ctime DESC, pid DESC LIMIT 8508 ,1 [include/functions.inc.php:1632] (1203.72 ms) [16] => SELECT COUNT(*) FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' [include/functions.inc.php:1616] (341.3 ms) [17] => SELECT r.pid FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' ORDER BY ctime DESC, pid DESC LIMIT 8507 ,1 [include/functions.inc.php:1632] (289.31 ms) [18] => SELECT COUNT(*) FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' [include/functions.inc.php:1616] (296.02 ms) [19] => SELECT r.pid FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' ORDER BY ctime DESC, pid DESC LIMIT 8509 ,1 [include/functions.inc.php:1632] (308.01 ms) [20] => SELECT COUNT(*) FROM cpgeh_pictures AS r INNER JOIN cpgeh_albums AS a ON a.aid = r.aid INNER JOIN cpgeh_categories AS c2 ON c2.cid = category WHERE (c2.lft BETWEEN 49 AND 84) AND (1 OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%' OR keywords like '%katyperry%') AND approved = 'YES' [include/functions.inc.php:1616] (10.05 ms) ) ========================== GET : ------------------ Array ( [album] => lastup [cat] => 16 [pid] => 257361 ) ========================== POST : ------------------ Array ( ) ========================== COOKIE : ------------------ Array ( ) ==========================