Warning: mysqli::query(): MySQL server has gone away in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php on line 132
Warning: mysqli::query(): Error reading result set's header in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php on line 132
Warning: [mysql error 2006] MySQL server has gone away
SELECT
c.id,
c.uppercats,
count(*) AS counter
FROM piwigo_image_category
INNER JOIN piwigo_categories c ON category_id = id
WHERE image_id IN (8094,12226,5781,19867,7317,17574,4431,8093,9250,3935,19863,19865,8078,8076,19861,10269,6451,6449,12412,5777,12411,5779,12413,11789,4097,4098,17576,5778,6450,4096,12441,6463,6464,5418,6461,6156,7314,7507,10268,6465,6466,11790,7500,6157,9517,4094,7294,6462,9520,5765,5766,3934,5776,5690,9516,10270,5782,5775,12440,9518,9519,8529,16280,12439,16991,11769,10358,4056,4095,5688,7296,8079,7291,5413,8518,12074,7501,5714,8522,12099,5689,7502,5400,8075,5715,5691,5780,7114,5399,4103,7116,11280,5754,16652,7315,5411,12120,7313,7316,5713,7295,8519,5042,8524,5755,8077,8521,3936,8520,4943,18840,18837,8523,5419,5181,7113,16651,4944,4946,5403,11478,18844,19728,4945,11479)
AND (category_id NOT IN (7,8,9,10,11,12,13,14,15,16,17,21,26,27,28,29,34,33,36,37,38,39,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,59,60,61 in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php:211
Stack trace:
#0 /home/lurrak/public_html/fotostock/include/functions_category.inc.php(713): pwg_db_fetch_assoc(false)
#1 /home/lurrak/public_html/fotostock/include/functions_category.inc.php(725): get_common_categories(Array, 20, Array)
#2 /home/lurrak/public_html/fotostock/include/menubar.inc.php(133): get_related_categories_menu(Array, Array)
#3 /home/lurrak/public_html/fotostock/include/menubar.inc.php(15): initialize_menu()
#4 /home/lurrak/public_html/fotostock/picture.php(1022): include('/home/lurrak/pu...')
#5 {main}
thrown in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php on line 211
Warning: [mysql error 2006] MySQL server has gone away
REPLACE INTO piwigo_sessions
(id,data,expiration)
VALUES('0393cb74717bba9849e84adae31cea638671','pwg_show_metadata|b:1;community_user_permissions|a:9:{s:20:\"upload_whole_gallery\";b:0;s:20:\"create_whole_gallery\";b:0;s:10:\"user_album\";b:0;s:17:\"create_categories\";a:0:{}s:17:\"upload_categories\";a:0:{}s:14:\"permission_ids\";a:0:{}s:9:\"nb_photos\";i:0;s:7:\"storage\";i:0;s:17:\"community_enabled\";b:0;}community_cache_key|s:20:\"IuNLDR78jx7AIIcPspGy\";community_user_id|s:1:\"2\";pwg_referer_image_id|s:5:\"12413\";',now())
; in /home/lurrak/public_html/fotostock/include/dblayer/functions_mysqli.inc.php on line 847