News

Time Δ Debug Message - Perch Runway 3.1.4
0.00410 [53] SELECT p.pagePath, pr.routePattern, pr.routeRegExp, p.pageTemplate, pr.routeOrder, s.settingValue AS siteOffline FROM perch3_pages p LEFT JOIN perch3_page_routes pr ON p.pageID=pr.pageID LEFT JOIN perch3_settings s ON s.settingID='siteOffline' UNION SELECT NULL AS pagePath, pr2.routePattern, pr2.routeRegExp, pr2.templatePath AS pageTemplate, pr2.routeOrder, NULL AS siteOffline FROM perch3_page_routes pr2 WHERE templateID!=0 ORDER BY routeOrder ASC, pagePath ASC
0.00490.0007Matched page: /news, so not using routes.
0.00490.0001Using master page: /templates/pages/blog/index.php
0.00510.0002 [70] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.00580.0007 [1] SELECT * FROM perch3_pages WHERE pagePath='/news' LIMIT 1
0.00680.001 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.00690.0002INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.00850.0016 [1] SELECT * FROM perch3_shop_cart WHERE cartID=916798
0.00890.0004 [1] SELECT * FROM perch3_shop_cart WHERE cartID=916798
0.00920.0003 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2019-02-20 13:19:00' AND saleTo>'2019-02-20 13:19:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.010.0008------------------------------ Calculating cart ------------------------------
0.010 [1] SELECT * FROM perch3_shop_cart WHERE cartID=916798
0.01110.0011 [1] SELECT * FROM perch3_shop_cart WHERE cartID=916798
0.01160.0005 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.01180.0002 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.01190.0001 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.01210.0002 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.01230.0001 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=916798
0.01290.0006Tax mode: inc
0.0130.0001 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=916798 ORDER BY itemID ASC
0.01370.0007 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/news' OR regionPage='*')
0.01390.0002 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01410.0002 [1] Using template: /templates/content/profile/contact_intro_contact.html
0.01550.0014 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01570.0002 [1] Using template: /templates/content/profile/contact_intro_social.html
0.01630.0006 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01640.0002 [1] Using template: /templates/content/profile/social_white_icons.html
0.01710.0006 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/news' OR regionPage='*')
0.01720.0001 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=134 AND idx.itemRev=2)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01740.0001 [1] Using template: /templates/content/text.html
0.01780.0004Using template: /templates/pages/attributes/default.html
0.01790.0002Using sub-template: /templates/pages/attributes/seo.html
0.01810.0001Using sub-template: /templates/pages/attributes/facebook.html
0.01810.0001Using sub-template: /templates/pages/attributes/twitter.html
0.01930.0012 [1] SELECT groupID FROM perch3_navigation WHERE groupSlug='header-menu' LIMIT 1
0.01940.0002 [13] SELECT np.pageID, np.pageParentID, p.pagePath, p.pageTitle, p.pageNavText, p.pageNew, p.pageOrder, np.pageDepth, p.pageSortPath, np.pageTreePosition, p.pageAccessTags, p.pageAttributes FROM perch3_navigation_pages np, perch3_pages p WHERE p.pageID=np.pageID AND np.groupID=6 AND p.pageNew=0 AND np.pageDepth >=0 AND np.pageDepth<=2 ORDER BY np.pageTreePosition ASC
0.01970.0002 [1] SELECT np.pageTreePosition FROM perch3_pages p, perch3_navigation_pages np WHERE np.pageID=p.pageID AND np.groupID=6 AND p.pagePath='/news' LIMIT 1
0.01980.0001 [2] SELECT pageID FROM perch3_navigation_pages WHERE groupID=6 AND pageTreePosition IN ('000-004-001', '000-004', '000') ORDER BY pageTreePosition DESC
0.020.0002Using template: /templates/navigation/item.html
0.02010 [3] Using template: /templates/navigation/item-lvl-2.html
0.02060.0005 [2] Using template: /templates/navigation/item-lvl-2.html
0.02090.0003 [2] Using template: /templates/navigation/item-lvl-2.html
0.02120.0003 [5] Using template: /templates/navigation/item-lvl-2.html
0.02270.0015 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/news' OR pageSortPath='/news' LIMIT 1
0.02280.0002 [1] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition
0.0230.0002 [1] Using template: /templates/navigation/breadcrumbs.html
0.02380.0008 [1] SELECT blogID FROM perch3_blogs WHERE blogSlug='blog' LIMIT 1
0.0240.0002 [2] SELECT SQL_CALC_FOUND_ROWS DISTINCT tbl.* FROM ( SELECT idx.itemID, main.*, idx2.indexValue as sortval FROM perch3_blog_index idx JOIN perch3_blog_posts main ON idx.itemID=main.postID AND idx.itemKey='postID' JOIN perch3_blog_index idx2 ON idx.itemID=idx2.itemID AND idx.itemKey='postID' AND idx2.indexKey='postDateTime' WHERE 1=1 AND idx.itemID=idx2.itemID AND idx.itemKey=idx2.itemKey GROUP BY idx.itemID, idx2.indexValue, postID ) as tbl WHERE ( blogID=1 AND postStatus='Published' AND postDateTime<='2019-02-20 13:19:00' ) GROUP BY itemID, sortval ORDER BY sortval DESC LIMIT 0, 9
0.0290.005 [1] SELECT FOUND_ROWS() AS `count`
0.02980.0008 [2] Using template: /templates/blog/news_post_in_list.html
0.03060.0008 [1] SELECT * FROM perch3_blog_sections ORDER BY sectionTitle ASC
0.0310.0004 [1] SELECT * FROM perch3_blogs ORDER BY blogTitle ASC
0.03320.0021 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='blog' LIMIT 1
0.03330.0002 [nil] SELECT main.* , COALESCE(cc.countValue,0) AS `count.blog.post` FROM perch3_categories main LEFT OUTER JOIN perch3_category_counts cc ON cc.catID=main.catID WHERE 1=1 AND setID=1 AND (cc.countType='blog.post' OR cc.countType IS NULL) AND cc.countValue > 0 ORDER BY catTreePosition ASC
0.03350.0002Using template: /templates/blog/category_link.html
0.03390.0004 [1] SELECT * FROM perch3_blogs WHERE blogSlug='blog' LIMIT 1
0.03410.0002 [nil] SELECT t.tagTitle, t.tagSlug, COUNT(p2t.postID) AS qty FROM perch3_blog_tags t, perch3_blog_posts_to_tags p2t, perch3_blog_posts p WHERE p2t.tagID=t.tagID AND p2t.postID=p.postID AND p.postStatus='Published' AND p.postDateTime<='2019-02-20 13:19:00' AND p.blogID=1 GROUP BY t.tagID ORDER BY t.tagTitle ASC
0.03470.0006 [0] Using template: /templates/blog/tag_link.html
0.03480.0001 [2] SELECT year(postDateTime) as year, COUNT(*) AS year_qty FROM perch3_blog_posts WHERE postStatus='Published' AND postDateTime<='2019-02-20 13:19:00' GROUP BY year ORDER BY year DESC
0.03520.0004Using template: /templates/blog/months_month_link.html
0.03530.0001 [1] SELECT DISTINCT year(postDateTime) AS year, month(postDateTime) AS month, CONCAT(year(postDateTime),"-",month(postDateTime),"-01") AS grouped_date, COUNT(*) AS month_qty FROM perch3_blog_posts p WHERE year(postDateTime) = '2019' AND p.postStatus='Published' AND p.postDateTime<='2019-02-20 13:19:00' GROUP BY year, month, grouped_date ORDER BY month DESC
0.0360.0007 [1] SELECT DISTINCT year(postDateTime) AS year, month(postDateTime) AS month, CONCAT(year(postDateTime),"-",month(postDateTime),"-01") AS grouped_date, COUNT(*) AS month_qty FROM perch3_blog_posts p WHERE year(postDateTime) = '2018' AND p.postStatus='Published' AND p.postDateTime<='2019-02-20 13:19:00' GROUP BY year, month, grouped_date ORDER BY month DESC
0.03660.0006 [2] Using template: /templates/blog/months_year_link.html
0.03730.0007 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.03740.0002 [1] Using template: /templates/content/profile/location_address.html
0.03770.0002 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.03780.0001 [1] Using template: /templates/content/profile/tripadvisor.html
0.0380.0002 [1] SELECT groupID FROM perch3_navigation WHERE groupSlug='footer' LIMIT 1
0.03810.0001 [2] SELECT np.pageID, np.pageParentID, p.pagePath, p.pageTitle, p.pageNavText, p.pageNew, p.pageOrder, np.pageDepth, p.pageSortPath, np.pageTreePosition, p.pageAccessTags, p.pageAttributes FROM perch3_navigation_pages np, perch3_pages p WHERE p.pageID=np.pageID AND np.groupID=5 AND p.pageNew=0 ORDER BY np.pageTreePosition ASC
0.03820.0001 [0] SELECT np.pageTreePosition FROM perch3_pages p, perch3_navigation_pages np WHERE np.pageID=p.pageID AND np.groupID=5 AND p.pagePath='/news' LIMIT 1
0.03830.0001 [2] Using template: /templates/navigation/footer-list.html
0.03880.0005 [1] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch3_content_index idx JOIN perch3_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN perch3_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.03910.0003 [1] Using template: /templates/content/profile/footer_contact.html
0.03970.0006Request time: 0.0397
0.03970Process time: 0.0395
0.03970Memory: 1.2691