Guest User

Untitled

a guest
Jul 11th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 27.57 KB | None | 0 0
  1. # WITH Beat's legacy.php
  2. Joomla! Debug Console
  3. Session
  4. Profile Information
  5. Application 0.000 seconds (+0.000); 0.18 MB (+0.183) - afterLoad
  6. Application 0.133 seconds (+0.133); 0.94 MB (+0.754) - afterInitialise
  7. Application 0.152 seconds (+0.019); 1.12 MB (+0.181) - afterRoute
  8. Application 12.379 seconds (+12.227); 1.84 MB (+0.716) - afterDispatch
  9. Application 12.385 seconds (+0.006); 1.93 MB (+0.097) - beforeRenderModule mod_articles_latest (Latest Article)
  10. Application 17.095 seconds (+4.709); 1.95 MB (+0.021) - afterRenderModule mod_articles_latest (Latest Article)
  11. Application 17.095 seconds (+0.000); 1.95 MB (-0.005) - beforeRenderModule mod_login (Login Form)
  12. Application 17.101 seconds (+0.006); 1.96 MB (+0.015) - afterRenderModule mod_login (Login Form)
  13. Application 17.102 seconds (+0.000); 1.96 MB (+0.001) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
  14. Application 17.105 seconds (+0.003); 1.97 MB (+0.008) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
  15. Application 17.105 seconds (+0.001); 1.97 MB (-0.001) - beforeRenderModule mod_menu (Main Menu)
  16. Application 17.117 seconds (+0.011); 2.06 MB (+0.093) - afterRenderModule mod_menu (Main Menu)
  17. Application 17.121 seconds (+0.004); 2.08 MB (+0.019) - afterRender
  18. Memory Usage
  19. 2.1 MB (2,203,400 Bytes)
  20. Database Queries
  21. 37 Queries Logged
  22.  
  23.    SELECT `data`
  24.      FROM `w0z9v_session`
  25.      WHERE `session_id` = '6gjmun4gaa3bd258p039c4gsb6'
  26.    SELECT `session_id`
  27.      FROM `w0z9v_session`
  28.      WHERE `session_id` = '6gjmun4gaa3bd258p039c4gsb6'
  29.      LIMIT 0, 1
  30.    INSERT INTO `w0z9v_session` (`session_id`, `client_id`, `time`)
  31.      VALUES ('6gjmun4gaa3bd258p039c4gsb6', 0, '1373563586')
  32.    SELECT extension_id AS id, element AS "option", params, enabled
  33.      FROM w0z9v_extensions
  34.      WHERE `type` = 'component'
  35.      AND `element` = 'com_users'
  36.    SELECT b.id
  37.      FROM w0z9v_usergroups AS a
  38.      LEFT JOIN w0z9v_usergroups AS b
  39.      ON b.lft <= a.lft
  40.      AND b.rgt >= a.rgt
  41.      WHERE a.id = 9
  42.    SELECT id, rules
  43.      FROM `w0z9v_viewlevels`
  44.    SELECT folder AS type, element AS name, params
  45.      FROM w0z9v_extensions
  46.      WHERE enabled >= 1
  47.      AND type ='plugin'
  48.      AND state >= 0
  49.      AND access IN (1,1,5)
  50.      ORDER BY ordering
  51.    SELECT extension_id AS id, element AS "option", params, enabled
  52.      FROM w0z9v_extensions
  53.      WHERE `type` = 'component'
  54.      AND `element` = 'com_languages'
  55.    SELECT extension_id AS id, element AS "option", params, enabled
  56.      FROM w0z9v_extensions
  57.      WHERE `type` = 'component'
  58.      AND `element` = 'com_kunena'
  59.    SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
  60.      FROM w0z9v_menu AS m
  61.      LEFT JOIN w0z9v_extensions AS e
  62.      ON m.component_id = e.extension_id
  63.      WHERE m.published = 1
  64.      AND m.parent_id > 0
  65.      AND m.client_id = 0
  66.      ORDER BY m.lft
  67.    SELECT extension_id AS id, element AS "option", params, enabled
  68.      FROM w0z9v_extensions
  69.      WHERE `type` = 'component'
  70.      AND `element` = 'com_content'
  71.    SELECT *
  72.      FROM w0z9v_languages
  73.      WHERE published=1
  74.      ORDER BY ordering ASC
  75.    SELECT id, home, template, s.params
  76.      FROM w0z9v_template_styles as s
  77.      LEFT JOIN w0z9v_extensions as e
  78.      ON e.element=s.template
  79.      AND e.type='template'
  80.      AND e.client_id=s.client_id
  81.      WHERE s.client_id = 0
  82.      AND e.enabled = 1
  83.    SELECT a.rules
  84.      FROM w0z9v_assets AS a
  85.      WHERE (a.id = 1)
  86.      GROUP BY a.id, a.rules, a.lft
  87.    SELECT b.rules
  88.      FROM w0z9v_assets AS a
  89.      LEFT JOIN w0z9v_assets AS b
  90.      ON b.lft <= a.lft
  91.      AND b.rgt >= a.rgt
  92.      WHERE (a.name = 'com_content')
  93.      GROUP BY b.id, b.rules, b.lft
  94.      ORDER BY b.lft
  95.    SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
  96.      CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug,COUNT(i.`id`) AS numitems
  97.      FROM w0z9v_categories as c
  98.      LEFT JOIN w0z9v_categories AS s
  99.      ON (s.lft <= c.lft
  100.      AND s.rgt >= c.rgt) OR (s.lft > c.lft
  101.      AND s.rgt < c.rgt)
  102.      LEFT JOIN (SELECT cat.id as id
  103.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  104.      ON cat.lft BETWEEN parent.lft
  105.      AND parent.rgt
  106.      WHERE parent.extension = 'com_content'
  107.      AND parent.published != 1
  108.      GROUP BY cat.id) AS badcats
  109.      ON badcats.id = c.id
  110.      LEFT JOIN `w0z9v_content` AS i
  111.      ON i.`catid` = c.id
  112.      AND i.state = 1
  113.      WHERE (c.extension='com_content' OR c.extension='system')
  114.      AND c.access IN (1,1,5)
  115.      AND c.published = 1
  116.      AND s.id=8
  117.      AND badcats.id is null
  118.      GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version
  119.      ORDER BY c.lft
  120.    SELECT b.rules
  121.      FROM w0z9v_assets AS a
  122.      LEFT JOIN w0z9v_assets AS b
  123.      ON b.lft <= a.lft
  124.      AND b.rgt >= a.rgt
  125.      WHERE (a.name = 'com_content.category.8')
  126.      GROUP BY b.id, b.rules, b.lft
  127.      ORDER BY b.lft
  128.    SELECT a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
  129.      CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
  130.      CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, LENGTH(a.fulltext) AS readmore,
  131.      CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
  132.      CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,contact.id as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
  133.      CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
  134.      FROM w0z9v_content AS a
  135.      LEFT JOIN w0z9v_content_frontpage AS fp
  136.      ON fp.content_id = a.id
  137.      LEFT JOIN w0z9v_categories AS c
  138.      ON c.id = a.catid
  139.      LEFT JOIN w0z9v_users AS ua
  140.      ON ua.id = a.created_by
  141.      LEFT JOIN w0z9v_users AS uam
  142.      ON uam.id = a.modified_by
  143.      LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language
  144.      FROM w0z9v_contact_details AS contact
  145.      WHERE contact.published = 1
  146.      GROUP BY contact.user_id, contact.language) AS contact
  147.      ON contact.user_id = a.created_by
  148.      LEFT JOIN w0z9v_categories as parent
  149.      ON parent.id = c.parent_id
  150.      LEFT JOIN w0z9v_content_rating AS v
  151.      ON a.id = v.content_id
  152.      LEFT
  153.      OUTER JOIN (SELECT cat.id as id
  154.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  155.      ON cat.lft BETWEEN parent.lft
  156.      AND parent.rgt
  157.      WHERE parent.extension = 'com_content'
  158.      AND parent.published != 1
  159.      GROUP BY cat.id ) AS badcats
  160.      ON badcats.id = c.id
  161.      WHERE a.access IN (1,1,5)
  162.      AND c.access IN (1,1,5)
  163.      AND
  164.      CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
  165.      AND a.catid = 8
  166.      AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2013-07-11 17:26:26')
  167.      AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2013-07-11 17:26:26')
  168.      GROUP BY a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias, a.created, a.modified, a.modified_by, uam.name, a.publish_up, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.fulltext, a.state, a.publish_down, badcats.id, c.title, c.path, c.access, c.alias, uam.id, ua.name, ua.email, contact.id, parent.title, parent.id, parent.path, parent.alias, v.rating_sum, v.rating_count, c.published, c.lft, a.ordering, parent.lft, fp.ordering, c.id, a.images, a.urls
  169.      ORDER BY c.lft,
  170.      CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END DESC , a.created
  171.      LIMIT 0, 10
  172.    SELECT extension_id AS id, element AS "option", params, enabled
  173.      FROM w0z9v_extensions
  174.      WHERE `type` = 'component'
  175.      AND `element` = 'com_tags'
  176.    SELECT `m`.`tag_id`,`t`.*
  177.      FROM `w0z9v_contentitem_tag_map` AS m
  178.      INNER JOIN `w0z9v_tags` AS t
  179.      ON `m`.`tag_id` = `t`.`id`
  180.      WHERE `m`.`type_alias` = 'com_content.article'
  181.      AND `m`.`content_item_id` = 5913
  182.      AND `t`.`published` = 1
  183.      AND t.access IN (1,1,5)
  184.    SELECT `m`.`tag_id`,`t`.*
  185.      FROM `w0z9v_contentitem_tag_map` AS m
  186.      INNER JOIN `w0z9v_tags` AS t
  187.      ON `m`.`tag_id` = `t`.`id`
  188.      WHERE `m`.`type_alias` = 'com_content.article'
  189.      AND `m`.`content_item_id` = 9170
  190.      AND `t`.`published` = 1
  191.      AND t.access IN (1,1,5)
  192.    SELECT `m`.`tag_id`,`t`.*
  193.      FROM `w0z9v_contentitem_tag_map` AS m
  194.      INNER JOIN `w0z9v_tags` AS t
  195.      ON `m`.`tag_id` = `t`.`id`
  196.      WHERE `m`.`type_alias` = 'com_content.article'
  197.      AND `m`.`content_item_id` = 9169
  198.      AND `t`.`published` = 1
  199.      AND t.access IN (1,1,5)
  200.    SELECT `m`.`tag_id`,`t`.*
  201.      FROM `w0z9v_contentitem_tag_map` AS m
  202.      INNER JOIN `w0z9v_tags` AS t
  203.      ON `m`.`tag_id` = `t`.`id`
  204.      WHERE `m`.`type_alias` = 'com_content.article'
  205.      AND `m`.`content_item_id` = 9168
  206.      AND `t`.`published` = 1
  207.      AND t.access IN (1,1,5)
  208.    SELECT `m`.`tag_id`,`t`.*
  209.      FROM `w0z9v_contentitem_tag_map` AS m
  210.      INNER JOIN `w0z9v_tags` AS t
  211.      ON `m`.`tag_id` = `t`.`id`
  212.      WHERE `m`.`type_alias` = 'com_content.article'
  213.      AND `m`.`content_item_id` = 9167
  214.      AND `t`.`published` = 1
  215.      AND t.access IN (1,1,5)
  216.    SELECT `m`.`tag_id`,`t`.*
  217.      FROM `w0z9v_contentitem_tag_map` AS m
  218.      INNER JOIN `w0z9v_tags` AS t
  219.      ON `m`.`tag_id` = `t`.`id`
  220.      WHERE `m`.`type_alias` = 'com_content.article'
  221.      AND `m`.`content_item_id` = 9166
  222.      AND `t`.`published` = 1
  223.      AND t.access IN (1,1,5)
  224.    SELECT `m`.`tag_id`,`t`.*
  225.      FROM `w0z9v_contentitem_tag_map` AS m
  226.      INNER JOIN `w0z9v_tags` AS t
  227.      ON `m`.`tag_id` = `t`.`id`
  228.      WHERE `m`.`type_alias` = 'com_content.article'
  229.      AND `m`.`content_item_id` = 9165
  230.      AND `t`.`published` = 1
  231.      AND t.access IN (1,1,5)
  232.    SELECT `m`.`tag_id`,`t`.*
  233.      FROM `w0z9v_contentitem_tag_map` AS m
  234.      INNER JOIN `w0z9v_tags` AS t
  235.      ON `m`.`tag_id` = `t`.`id`
  236.      WHERE `m`.`type_alias` = 'com_content.article'
  237.      AND `m`.`content_item_id` = 9164
  238.      AND `t`.`published` = 1
  239.      AND t.access IN (1,1,5)
  240.    SELECT `m`.`tag_id`,`t`.*
  241.      FROM `w0z9v_contentitem_tag_map` AS m
  242.      INNER JOIN `w0z9v_tags` AS t
  243.      ON `m`.`tag_id` = `t`.`id`
  244.      WHERE `m`.`type_alias` = 'com_content.article'
  245.      AND `m`.`content_item_id` = 9163
  246.      AND `t`.`published` = 1
  247.      AND t.access IN (1,1,5)
  248.    SELECT `m`.`tag_id`,`t`.*
  249.      FROM `w0z9v_contentitem_tag_map` AS m
  250.      INNER JOIN `w0z9v_tags` AS t
  251.      ON `m`.`tag_id` = `t`.`id`
  252.      WHERE `m`.`type_alias` = 'com_content.article'
  253.      AND `m`.`content_item_id` = 9162
  254.      AND `t`.`published` = 1
  255.      AND t.access IN (1,1,5)
  256.    SELECT COUNT(*)
  257.      FROM w0z9v_content AS a
  258.      LEFT JOIN w0z9v_content_frontpage AS fp
  259.      ON fp.content_id = a.id
  260.      LEFT JOIN w0z9v_categories AS c
  261.      ON c.id = a.catid
  262.      LEFT JOIN w0z9v_users AS ua
  263.      ON ua.id = a.created_by
  264.      LEFT JOIN w0z9v_users AS uam
  265.      ON uam.id = a.modified_by
  266.      LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language
  267.      FROM w0z9v_contact_details AS contact
  268.      WHERE contact.published = 1
  269.      GROUP BY contact.user_id, contact.language) AS contact
  270.      ON contact.user_id = a.created_by
  271.      LEFT JOIN w0z9v_categories as parent
  272.      ON parent.id = c.parent_id
  273.      LEFT JOIN w0z9v_content_rating AS v
  274.      ON a.id = v.content_id
  275.      LEFT
  276.      OUTER JOIN (SELECT cat.id as id
  277.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  278.      ON cat.lft BETWEEN parent.lft
  279.      AND parent.rgt
  280.      WHERE parent.extension = 'com_content'
  281.      AND parent.published != 1
  282.      GROUP BY cat.id ) AS badcats
  283.      ON badcats.id = c.id
  284.      WHERE a.access IN (1,1,5)
  285.      AND c.access IN (1,1,5)
  286.      AND
  287.      CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
  288.      AND a.catid = 8
  289.      AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2013-07-11 17:26:26')
  290.      AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2013-07-11 17:26:26')
  291.      GROUP BY a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias, a.created, a.modified, a.modified_by, uam.name, a.publish_up, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.fulltext, a.state, a.publish_down, badcats.id, c.title, c.path, c.access, c.alias, uam.id, ua.name, ua.email, contact.id, parent.title, parent.id, parent.path, parent.alias, v.rating_sum, v.rating_count, c.published, c.lft, a.ordering, parent.lft, fp.ordering, c.id, a.images, a.urls
  292.    UPDATE w0z9v_categories
  293.      SET hits = hits + 1
  294.      WHERE id = 8
  295.    SELECT `m`.`tag_id`,`t`.*
  296.      FROM `w0z9v_contentitem_tag_map` AS m
  297.      INNER JOIN `w0z9v_tags` AS t
  298.      ON `m`.`tag_id` = `t`.`id`
  299.      WHERE `m`.`type_alias` = 'com_content.category'
  300.      AND `m`.`content_item_id` = 8
  301.      AND `t`.`published` = 1
  302.      AND t.access IN (1,1,5)
  303.    SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
  304.      CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
  305.      FROM w0z9v_categories as c
  306.      LEFT JOIN w0z9v_categories AS s
  307.      ON (s.lft <= c.lft
  308.      AND s.rgt >= c.rgt) OR (s.lft > c.lft
  309.      AND s.rgt < c.rgt)
  310.      LEFT JOIN (SELECT cat.id as id
  311.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  312.      ON cat.lft BETWEEN parent.lft
  313.      AND parent.rgt
  314.      WHERE parent.extension = 'com_content'
  315.      AND parent.published != 1
  316.      GROUP BY cat.id) AS badcats
  317.      ON badcats.id = c.id
  318.      WHERE (c.extension='com_content' OR c.extension='system')
  319.      AND c.access IN (1,1,5)
  320.      AND c.published = 1
  321.      AND s.id=8
  322.      AND badcats.id is null
  323.      GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version
  324.      ORDER BY c.lft
  325.    SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
  326.      FROM w0z9v_modules AS m
  327.      LEFT JOIN w0z9v_modules_menu AS mm
  328.      ON mm.moduleid = m.id
  329.      LEFT JOIN w0z9v_extensions AS e
  330.      ON e.element = m.module
  331.      AND e.client_id = m.client_id
  332.      WHERE m.published = 1
  333.      AND e.enabled = 1
  334.      AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2013-07-11 17:26:26')
  335.      AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2013-07-11 17:26:26')
  336.      AND m.access IN (1,1,5)
  337.      AND m.client_id = 0
  338.      AND (mm.menuid = 435 OR mm.menuid <= 0)
  339.      ORDER BY m.position, m.ordering
  340.    SELECT a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
  341.      CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
  342.      CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, LENGTH(a.fulltext) AS readmore,
  343.      CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
  344.      CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,contact.id as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
  345.      CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
  346.      FROM w0z9v_content AS a
  347.      LEFT JOIN w0z9v_content_frontpage AS fp
  348.      ON fp.content_id = a.id
  349.      LEFT JOIN w0z9v_categories AS c
  350.      ON c.id = a.catid
  351.      LEFT JOIN w0z9v_users AS ua
  352.      ON ua.id = a.created_by
  353.      LEFT JOIN w0z9v_users AS uam
  354.      ON uam.id = a.modified_by
  355.      LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language
  356.      FROM w0z9v_contact_details AS contact
  357.      WHERE contact.published = 1
  358.      GROUP BY contact.user_id, contact.language) AS contact
  359.      ON contact.user_id = a.created_by
  360.      LEFT JOIN w0z9v_categories as parent
  361.      ON parent.id = c.parent_id
  362.      LEFT JOIN w0z9v_content_rating AS v
  363.      ON a.id = v.content_id
  364.      LEFT
  365.      OUTER JOIN (SELECT cat.id as id
  366.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  367.      ON cat.lft BETWEEN parent.lft
  368.      AND parent.rgt
  369.      WHERE parent.extension = 'com_content'
  370.      AND parent.published != 1
  371.      GROUP BY cat.id ) AS badcats
  372.      ON badcats.id = c.id
  373.      WHERE a.access IN (1,1,5)
  374.      AND c.access IN (1,1,5)
  375.      AND
  376.      CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
  377.      AND a.catid IN (8,10,11,12,13)
  378.      AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2013-07-11 17:26:26')
  379.      AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2013-07-11 17:26:26')
  380.      GROUP BY a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias, a.created, a.modified, a.modified_by, uam.name, a.publish_up, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.fulltext, a.state, a.publish_down, badcats.id, c.title, c.path, c.access, c.alias, uam.id, ua.name, ua.email, contact.id, parent.title, parent.id, parent.path, parent.alias, v.rating_sum, v.rating_count, c.published, c.lft, a.ordering, parent.lft, fp.ordering, c.id, a.images, a.urls
  381.      ORDER BY a.created DESC
  382.      LIMIT 0, 10
  383.    SELECT *
  384.      FROM w0z9v_kunena_configuration
  385.      WHERE id=1
  386.    UPDATE `w0z9v_session`
  387.      SET `data` = '__default|a:8:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1373563586;s:18:\"session.timer.last\";i:1373563586;s:17:\"session.timer.now\";i:1373563586;s:22:\"session.client.browser\";s:72:\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":24:{s:9:\"\\0\\0\\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"9\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:10:\"\\0\\0\\0_params\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:14:\"\\0\\0\\0_authGroups\";a:2:{i:0;i:1;i:1;i:9;}s:14:\"\\0\\0\\0_authLevels\";a:3:{i:0;i:1;i:1;i:1;i:2;i:5;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"fa4e650b96ce8ea312b268c70645b71b\";}' , `time` = '1373563603'
  388.      WHERE `session_id` = '6gjmun4gaa3bd258p039c4gsb6'
  389.  
  390. 21 Query Types Logged, Sorted by Occurrences.
  391. SELECT Tables:
  392.  
  393.    11 × SELECT `m`.`tag_id`,`t`.*
  394.      FROM `w0z9v_contentitem_tag_map` AS m
  395.      INNER JOIN `w0z9v_tags` AS t
  396.      ON `m`.`tag_id` = `t`.`id`
  397.    5 × SELECT extension_id AS id, element AS "OPTION", params, enabled
  398.      FROM w0z9v_extensions
  399.    2 × SELECT b.rules
  400.      FROM w0z9v_assets AS a
  401.      LEFT JOIN w0z9v_assets AS b
  402.      ON b.lft <= a.lft
  403.      AND b.rgt >= a.rgt
  404.    2 × SELECT a.id, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
  405.      CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
  406.      CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, LENGTH(a.fulltext) AS readmore,
  407.      CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
  408.      CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,contact.id as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
  409.      CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
  410.      FROM w0z9v_content AS a
  411.      LEFT JOIN w0z9v_content_frontpage AS fp
  412.      ON fp.content_id = a.id
  413.      LEFT JOIN w0z9v_categories AS c
  414.      ON c.id = a.catid
  415.      LEFT JOIN w0z9v_users AS ua
  416.      ON ua.id = a.created_by
  417.      LEFT JOIN w0z9v_users AS uam
  418.      ON uam.id = a.modified_by
  419.      LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language
  420.      FROM w0z9v_contact_details AS contact
  421.    1 × SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
  422.      CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug,COUNT(i.`id`) AS numitems
  423.      FROM w0z9v_categories as c
  424.      LEFT JOIN w0z9v_categories AS s
  425.      ON (s.lft <= c.lft
  426.      AND s.rgt >= c.rgt) OR (s.lft > c.lft
  427.      AND s.rgt < c.rgt)
  428.      LEFT JOIN (SELECT cat.id as id
  429.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  430.      ON cat.lft BETWEEN parent.lft
  431.      AND parent.rgt
  432.    1 × SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
  433.      CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
  434.      FROM w0z9v_categories as c
  435.      LEFT JOIN w0z9v_categories AS s
  436.      ON (s.lft <= c.lft
  437.      AND s.rgt >= c.rgt) OR (s.lft > c.lft
  438.      AND s.rgt < c.rgt)
  439.      LEFT JOIN (SELECT cat.id as id
  440.      FROM w0z9v_categories AS cat JOIN w0z9v_categories AS parent
  441.      ON cat.lft BETWEEN parent.lft
  442.      AND parent.rgt
  443.    1 × SELECT *
  444.      FROM w0z9v_kunena_configuration
  445.    1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
  446.      FROM w0z9v_modules AS m
  447.      LEFT JOIN w0z9v_modules_menu AS mm
  448.      ON mm.moduleid = m.id
  449.      LEFT JOIN w0z9v_extensions AS e
  450.      ON e.element = m.module
  451.      AND e.client_id = m.client_id
  452.    1 × SELECT COUNT(*)
  453.      FROM w0z9v_content AS a
  454.      LEFT JOIN w0z9v_content_frontpage AS fp
  455.      ON fp.content_id = a.id
  456.      LEFT JOIN w0z9v_categories AS c
  457.      ON c.id = a.catid
  458.      LEFT JOIN w0z9v_users AS ua
  459.      ON ua.id = a.created_by
  460.      LEFT JOIN w0z9v_users AS uam
  461.      ON uam.id = a.modified_by
  462.      LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language
  463.      FROM w0z9v_contact_details AS contact
  464.    1 × SELECT id, home, template, s.params
  465.      FROM w0z9v_template_styles as s
  466.      LEFT JOIN w0z9v_extensions as e
  467.      ON e.element=s.template
  468.      AND e.type='template'
  469.      AND e.client_id=s.client_id
  470.    1 × SELECT id, rules
  471.      FROM `w0z9v_viewlevels
  472.    1 × SELECT b.id
  473.      FROM w0z9v_usergroups AS a
  474.      LEFT JOIN w0z9v_usergroups AS b
  475.      ON b.lft <= a.lft
  476.      AND b.rgt >= a.rgt
  477.    1 × SELECT `session_id`
  478.      FROM `w0z9v_session`
  479.    1 × SELECT folder AS type, element AS name, params
  480.      FROM w0z9v_extensions
  481.    1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
  482.      FROM w0z9v_menu AS m
  483.      LEFT JOIN w0z9v_extensions AS e
  484.      ON m.component_id = e.extension_id
  485.    1 × SELECT `data`
  486.      FROM `w0z9v_session`
  487.    1 × SELECT *
  488.      FROM w0z9v_languages
  489.    1 × SELECT a.rules
  490.      FROM w0z9v_assets AS a
  491.  
  492. OTHER Tables:
  493.  
  494.    1 × UPDATE `w0z9v_session`
  495.      SET `data` = '__default|a:8:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1373563586;s:18:\"session.timer.last\";i:1373563586;s:17:\"session.timer.now\";i:1373563586;s:22:\"session.client.browser\";s:72:\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":24:{s:9:\"\\0\\0\\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"9\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:10:\"\\0\\0\\0_params\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:14:\"\\0\\0\\0_authGroups\";a:2:{i:0;i:1;i:1;i:9;}s:14:\"\\0\\0\\0_authLevels\";a:3:{i:0;i:1;i:1;i:1;i:2;i:5;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"fa4e650b96ce8ea312b268c70645b71b\";}' , `time` = '1373563603'
  496.    1 × UPDATE w0z9v_categories
  497.      SET hits = hits + 1
  498.    1 × INSERT INTO `w0z9v_session` (`session_id`, `client_id`, `time`)
  499.      VALUES ('6gjmun4gaa3bd258p039c4gsb6', 0, '1373563586'
Advertisement
Add Comment
Please, Sign In to add comment