Total execution time: 0.006015 sec.
Framework 1.25 v5.50
Memory Usage 861.84kB
POST:
Array
(
)
GET:
Array
(
)
Array
(
[before] => Closure Object
(
)
[segment] => Array
(
[0] => blog
[1] => category
[2] => world
)
[route] => /blog/category/world
[Bootstrap::Autoloader[1]] => registered path "autoloaded class "/var/www/html/courtlin/public_html/bpca.co.uk.backup/view/admin/modules_/blog/
[Bootstrap::Autoloader[2]] => autoloaded class "/var/www/html/courtlin/public_html/bpca.co.uk.backup/view/admin/modules_/blog/Blog.class.php
[template] => front/themes/readona/mod_index.tpl.php
)
Array
(
[NOTICE] => Array
(
[0] => Warning [2]: Undefined variable $cc in /var/www/html/courtlin/public_html/bpca.co.uk.backup/lib/db.class.php on line 317
[1] => Warning [2]: Undefined variable $cc in /var/www/html/courtlin/public_html/bpca.co.uk.backup/lib/db.class.php on line 317
[2] => Warning [2]: Undefined variable $cc in /var/www/html/courtlin/public_html/bpca.co.uk.backup/lib/db.class.php on line 317
[3] => Warning [2]: Undefined variable $cc in /var/www/html/courtlin/public_html/bpca.co.uk.backup/lib/db.class.php on line 317
)
)
Array
(
[NOTICE] => Warning [2]: Undefined variable $cc in /var/www/html/courtlin/public_html/bpca.co.uk.backup/lib/db.class.php on line 317
)
1. select |
total: 1 SELECT * FROM `settings` WHERE id = 1 ;
2. select |
total: 1 SELECT title_en, info_en, keywords_en, description_en FROM `modules` WHERE modalias = "blog" LIMIT 1;
3. select |
total: 28 SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, position;
4. select |
total: 1 SELECT * FROM `mod_blog_categories` WHERE slug_en = "world" LIMIT 1;
5. count |
total: 1
SELECT
COUNT(a.id)
FROM
`mod_blog` AS a
INNER JOIN `mod_blog_related_categories` AS rc
ON a.id = rc.item_id
WHERE rc.category_id = 1
AND a.active = 1
LIMIT 1;
6. SELECT |
total: 1 SELECT a.id, a.created, a.title_en AS title, a.slug_en AS slug, a.body_en AS body, a.thumb, a.rating, a.membership_id, c.slug_en AS cslug, c.name_en AS ctitle, GROUP_CONCAT(m.title_en SEPARATOR ', ') AS memberships, (SELECT COUNT(parent_id) FROM `mod_comments` WHERE `mod_comments`.parent_id = a.id AND section = 'blog') as comments FROM `mod_blog` AS a LEFT JOIN `mod_blog_categories` AS c ON c.id = a.category_id INNER JOIN `mod_blog_related_categories` AS rc ON a.id = rc.item_id LEFT JOIN `memberships` AS m ON FIND_IN_SET(m.id, a.membership_id) WHERE rc.category_id = 1 AND a.active = 1 AND c.active = 1 GROUP BY a.id ORDER BY created DESC LIMIT 0,5
7. SELECT |
total: 0 SELECT
p.id,
l.plug_id,
l.space,
l.place,
p.system,
p.alt_class,
p.plugalias,
p.plugin_id,
p.title_en as title,
p.body_en as body,
p.jscode,
p.show_title,
p.cplugin
FROM
`layout` AS l
LEFT JOIN plugins AS p
ON p.id = l.plug_id
WHERE l.modalias = "blog"
AND p.active = 1
ORDER BY l.sorting;
1. select | total: 1 . SELECT * FROM `settings` WHERE id = 1 ;
2. select | total: 1 . SELECT title_en, info_en, keywords_en, description_en FROM `modules` WHERE modalias = "blog" LIMIT 1;
3. select | total: 28 . SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, position;
4. select | total: 1 . SELECT * FROM `mod_blog_categories` WHERE slug_en = "world" LIMIT 1;
5. count | total: 1 .
SELECT
COUNT(a.id)
FROM
`mod_blog` AS a
INNER JOIN `mod_blog_related_categories` AS rc
ON a.id = rc.item_id
WHERE rc.category_id = 1
AND a.active = 1
LIMIT 1;
6. SELECT | total: 1 . SELECT a.id, a.created, a.title_en AS title, a.slug_en AS slug, a.body_en AS body, a.thumb, a.rating, a.membership_id, c.slug_en AS cslug, c.name_en AS ctitle, GROUP_CONCAT(m.title_en SEPARATOR ', ') AS memberships, (SELECT COUNT(parent_id) FROM `mod_comments` WHERE `mod_comments`.parent_id = a.id AND section = 'blog') as comments FROM `mod_blog` AS a LEFT JOIN `mod_blog_categories` AS c ON c.id = a.category_id INNER JOIN `mod_blog_related_categories` AS rc ON a.id = rc.item_id LEFT JOIN `memberships` AS m ON FIND_IN_SET(m.id, a.membership_id) WHERE rc.category_id = 1 AND a.active = 1 AND c.active = 1 GROUP BY a.id ORDER BY created DESC LIMIT 0,5
7. SELECT | total: 0 . SELECT
p.id,
l.plug_id,
l.space,
l.place,
p.system,
p.alt_class,
p.plugalias,
p.plugin_id,
p.title_en as title,
p.body_en as body,
p.jscode,
p.show_title,
p.cplugin
FROM
`layout` AS l
LEFT JOIN plugins AS p
ON p.id = l.plug_id
WHERE l.modalias = "blog"
AND p.active = 1
ORDER BY l.sorting;