20180707_143101.jpg CobblestoneThumbnailsGoodbye FrancorchampsCobblestoneThumbnailsGoodbye FrancorchampsCobblestoneThumbnailsGoodbye FrancorchampsCobblestoneThumbnailsGoodbye FrancorchampsCobblestoneThumbnailsGoodbye Francorchamps
[1] 
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.006 s)
(num rows        : 1 )
[2] 

SELECT param, value
 FROM g_config
 
;
(this query time : 0.001 s)
(total SQL time  : 0.001 s)
(total time      : 0.007 s)
(num rows        : 126 )
[3] 

SELECT data
  FROM g_sessions
  WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.007 s)
(num rows        : 0 )
[4] 

SELECT * FROM g_plugins
  WHERE state='active'
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.008 s)
(num rows        : 9 )
[5] 

SELECT
    image_id,
    date_available,
    NOW() AS dbnow
  FROM g_lounge
    JOIN g_images ON image_id = id
  ORDER BY image_id ASC
  LIMIT 1
;
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.010 s)
(num rows        : 0 )
[6] 

SELECT id AS id
     , username AS username
     , password AS password
     , mail_address AS email
  FROM g_users
  WHERE id = '2'
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.010 s)
(num rows        : 1 )
[7] 

SELECT
    ui.*,
    uc.*,
    t.name AS theme_name
  FROM g_user_infos AS ui
    LEFT JOIN g_user_cache AS uc ON ui.user_id = uc.user_id
    LEFT JOIN g_themes AS t ON t.id = ui.theme
  WHERE ui.user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.010 s)
(num rows        : 1 )
[8] 

SELECT *
  FROM g_user_infos
  WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.003 s)
(total time      : 0.011 s)
(num rows        : 1 )
[9] 

SELECT *
  FROM g_tags
  WHERE id IN (2963)
(this query time : 0.000 s)
(total SQL time  : 0.003 s)
(total time      : 0.014 s)
(num rows        : 1 )
[9] 

SELECT id
  FROM g_images i 
    INNER JOIN g_image_category ic ON id=ic.image_id
    INNER JOIN g_image_tag it ON id=it.image_id
    WHERE tag_id IN (2963)
  AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
  GROUP BY id
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.002 s)
(total SQL time  : 0.005 s)
(total time      : 0.016 s)
(num rows        : 128 )
[10] 

UPDATE
  g_images
  SET hit = hit+1, lastmodified = lastmodified
  WHERE id = 6162
;
(this query time : 0.000 s)
(total SQL time  : 0.005 s)
(total time      : 0.016 s)
(affected rows   : 1 )
[11] 

SELECT id,uppercats,commentable,visible,status,global_rank
  FROM g_image_category
    INNER JOIN g_categories ON category_id = id
  WHERE image_id = 6162
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.000 s)
(total SQL time  : 0.005 s)
(total time      : 0.017 s)
(num rows        : 3 )
[12] 

SELECT *
  FROM g_images
  WHERE id IN (6162,6154,7731,6161,7288)
;
(this query time : 0.000 s)
(total SQL time  : 0.006 s)
(total time      : 0.017 s)
(num rows        : 5 )
[13] 

SELECT t.*, count(*) AS counter
  FROM g_image_tag
    INNER JOIN g_tags t ON tag_id = id
  WHERE image_id IN (6162)
  GROUP BY t.id
  ORDER BY NULL
(this query time : 0.001 s)
(total SQL time  : 0.006 s)
(total time      : 0.021 s)
(num rows        : 19 )
[14] 

SELECT id, name, permalink
  FROM g_categories
  WHERE id IN (152,169,209,367,565,100,215)
(this query time : 0.000 s)
(total SQL time  : 0.007 s)
(total time      : 0.022 s)
(num rows        : 7 )
[15] 

SELECT
    COUNT(*) AS nb_comments
  FROM g_comments
  WHERE image_id = 6162  AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time  : 0.007 s)
(total time      : 0.024 s)
(num rows        : 1 )
[16] 

            SELECT 
              id,
              file,
              representative_ext,
              name,
              comment,
              width,
              height,
              date_creation,
              path,
              rotation
            FROM g_images
            WHERE id IN (7731,7730,7727,7719,7599,7595,7594,7202,7098,7104,7103,7114,7115,7089,7091,7078,7079,7021,7073,7049,7086,7136,7127,6940,6941,6943,6946,6610,6616,6607,6608,6529,6533,6535,6539,6542,6543,6447,6467,6466,6550,6359,6365,6369,6504,6510,6516,6317,6314,6307,6262,6225,6223,14309,6624,6626,6625,6627,6630,6631,6633,6181,6188,6193,6195,6196,6202,6203,6210,6123,6126,6136,6135,6147,6154,6162,6161,6165,6168,6169,6678,6757,6756,6758,6761,6763,6762,6767,6768,6821,7465,7420,7422,7416,7358,7370,7371,7383,7384,7385,7386,7342,7347,7348,7351,7316,7325,7328,7331,7330,7334,7335,7338,7292,7291,7297,7293,7299,7303,7304,7306,7307,7308,7280,7284,7286,7285,7288)
            ORDER BY FIELD(id, 7731,7730,7727,7719,7599,7595,7594,7202,7098,7104,7103,7114,7115,7089,7091,7078,7079,7021,7073,7049,7086,7136,7127,6940,6941,6943,6946,6610,6616,6607,6608,6529,6533,6535,6539,6542,6543,6447,6467,6466,6550,6359,6365,6369,6504,6510,6516,6317,6314,6307,6262,6225,6223,14309,6624,6626,6625,6627,6630,6631,6633,6181,6188,6193,6195,6196,6202,6203,6210,6123,6126,6136,6135,6147,6154,6162,6161,6165,6168,6169,6678,6757,6756,6758,6761,6763,6762,6767,6768,6821,7465,7420,7422,7416,7358,7370,7371,7383,7384,7385,7386,7342,7347,7348,7351,7316,7325,7328,7331,7330,7334,7335,7338,7292,7291,7297,7293,7299,7303,7304,7306,7307,7308,7280,7284,7286,7285,7288)
            ;
(this query time : 0.002 s)
(total SQL time  : 0.009 s)
(total time      : 0.027 s)
(num rows        : 128 )
[17] 

SELECT param, value
 FROM g_config
 WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time  : 0.009 s)
(total time      : 0.077 s)
(num rows        : 1 )

Fatal error: Uncaught Error: Class "Smarty_Internal_Debug" not found in /sites/kewl.lu/g/piwigo/include/template.class.php:617 Stack trace: #0 /sites/kewl.lu/g/piwigo/include/page_tail.php(102): Template->p() #1 /sites/kewl.lu/g/piwigo/picture.php(1032): include('...') #2 {main} thrown in /sites/kewl.lu/g/piwigo/include/template.class.php on line 617