Warning: [l10n] language key "Permissions" not defined in /sites/kewl.lu/g/piwigo/include/functions.inc.php on line 1366
Tag | kewl's gallery
  • A Tongue-Tied Revelation A Tongue-Tied Revelation
  • The Iron Curtain of My Teeth The Iron Curtain of My Teeth
  • The Grin of the Metal Dragon. The Grin of the Metal Dragon.
[1] 
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.002 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.003 s)
(num rows        : 126 )
[3] 

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

SELECT * FROM g_plugins
  WHERE state='active'
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.004 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.006 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.006 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.003 s)
(total time      : 0.006 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.007 s)
(num rows        : 1 )
[9] 

SELECT *
  FROM g_tags
  WHERE id IN (982)
(this query time : 0.000 s)
(total SQL time  : 0.003 s)
(total time      : 0.010 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 (982)
  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.012 s)
(num rows        : 150 )

[0.012 s, 9 queries] : start initialize_calendar

[10] 
SELECT CONCAT_WS('-',YEAR(date_creation),WEEK(date_creation, 5)+1,WEEKDAY(date_creation)) AS period FROM g_images
WHERE id IN (32846,32113,29486,14294,30912,14251,6040,30911,30910,6631,30909,30908,30907,30742,30906,30905,30904,30739,30737,30736,30735,30734,30733,30903,12195,30898,30728,30727,11264,11265,30899,11266,30724,30723,7415,7414,30721,30720,30719,30718,30717,30715,30900,30712,30713,30901,30902,11017,11021,11109,30897,11112,11044,30896,30699,30895,30894,30893,30892,30890,30891,30889,30888,30886,30692,30885,30691,30887,30881,30880,30878,30879,30687,30882,30685,30684,30883,30884,30686,30689,30682,30877,30876,30875,30874,30681,30680,30679,30873,30870,30869,30868,30677,30872,30866,30871,30865,30864,30673,30672,30863,30669,30667,30665,30862,30666,30861,30860,30859,30858,30857,30856,30855,30854,30850,30852,30660,30851,30661,30664,30849,30848,30847,30846,30843,30845,30844,30663,30662,30853,30705,30656,4099,30657,30658,30654,30655,30653,30651,30652,30650,30649,4041,4042,4052,30646,30645,4038,4040,4039)
AND date_creation IS NOT NULL
GROUP BY period
(this query time : 0.002 s)
(total SQL time  : 0.007 s)
(total time      : 0.014 s)
(num rows        : 82 )
[11] 
SELECT DISTINCT id  FROM g_images
WHERE id IN (32846,32113,29486,14294,30912,14251,6040,30911,30910,6631,30909,30908,30907,30742,30906,30905,30904,30739,30737,30736,30735,30734,30733,30903,12195,30898,30728,30727,11264,11265,30899,11266,30724,30723,7415,7414,30721,30720,30719,30718,30717,30715,30900,30712,30713,30901,30902,11017,11021,11109,30897,11112,11044,30896,30699,30895,30894,30893,30892,30890,30891,30889,30888,30886,30692,30885,30691,30887,30881,30880,30878,30879,30687,30882,30685,30684,30883,30884,30686,30689,30682,30877,30876,30875,30874,30681,30680,30679,30873,30870,30869,30868,30677,30872,30866,30871,30865,30864,30673,30672,30863,30669,30667,30665,30862,30666,30861,30860,30859,30858,30857,30856,30855,30854,30850,30852,30660,30851,30661,30664,30849,30848,30847,30846,30843,30845,30844,30663,30662,30853,30705,30656,4099,30657,30658,30654,30655,30653,30651,30652,30650,30649,4041,4042,4052,30646,30645,4038,4040,4039)
   AND date_creation BETWEEN '2016-01-01' AND '2016-12-31 23:59:59' AND WEEK(date_creation, 5)+1=34 AND WEEKDAY(date_creation)=4
  ORDER BY date_creation ASC, date_creation DESC, file ASC, id ASC
(this query time : 0.002 s)
(total SQL time  : 0.009 s)
(total time      : 0.016 s)
(num rows        : 3 )

[0.016 s, 11 queries] : end initialize_calendar

[12] 

SELECT 
  id, name, permalink, nb_images, global_rank,
  date_last, max_date_last, count_images, count_categories
FROM g_categories INNER JOIN g_user_cache_categories
  ON id = cat_id and user_id = 2
WHERE 
  1 = 1
;
(this query time : 0.003 s)
(total SQL time  : 0.012 s)
(total time      : 0.019 s)
(num rows        : 374 )
[13] 

SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time  : 0.012 s)
(total time      : 0.020 s)
(num rows        : 1 )
[14] 

SELECT
    c.id,
    c.uppercats,
    count(*) AS counter
  FROM g_image_category
    INNER JOIN g_categories c ON category_id = id
  WHERE image_id IN (30665,30667,30669)
    AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
  GROUP BY c.id
  ORDER BY counter DESC
  LIMIT 20
(this query time : 0.001 s)
(total SQL time  : 0.013 s)
(total time      : 0.023 s)
(num rows        : 3 )
[15] 

SELECT
    id,
    name,
    permalink,
    id_uppercat,
    uppercats,
    global_rank
  FROM g_categories
  WHERE id IN (122,131,100,101,256,257,157)
;
(this query time : 0.000 s)
(total SQL time  : 0.013 s)
(total time      : 0.023 s)
(num rows        : 7 )
[16] 

SELECT *
  FROM g_tags
(this query time : 0.010 s)
(total SQL time  : 0.024 s)
(total time      : 0.034 s)
(num rows        : 17957 )
[17] 

SELECT t.*, count(*) AS counter
  FROM g_image_tag
    INNER JOIN g_tags t ON tag_id = id
  WHERE image_id IN (30665,30667,30669)
    AND tag_id NOT IN (982)
  GROUP BY t.id
  ORDER BY counter DESC
  LIMIT 3
(this query time : 0.002 s)
(total SQL time  : 0.026 s)
(total time      : 0.115 s)
(num rows        : 3 )
[18] 

SELECT *
  FROM g_images
  WHERE id IN (30665,30667,30669)
;
(this query time : 0.001 s)
(total SQL time  : 0.026 s)
(total time      : 0.116 s)
(num rows        : 3 )

[0.118 s, 18 queries] : end include/category_default.inc.php

[19] 

            SELECT 
              id,
              file,
              representative_ext,
              name,
              comment,
              width,
              height,
              date_creation,
              path,
              rotation
            FROM g_images
            WHERE id IN (30665,30667,30669)
            ORDER BY FIELD(id, 30665,30667,30669)
            ;
(this query time : 0.001 s)
(total SQL time  : 0.027 s)
(total time      : 0.119 s)
(num rows        : 3 )
[20] 

SELECT param, value
 FROM g_config
 WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time  : 0.028 s)
(total time      : 0.123 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/index.php(442): include('...') #2 {main} thrown in /sites/kewl.lu/g/piwigo/include/template.class.php on line 617