Events

Time Δ Debug Message - Perch Runway 3.1.1
0.07890 [50] 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.08280.0039Matched route: events/category/[slug:cat]
0.08290.0001Using master page: /templates/pages/events/index.php
0.08290Page arguments:
Array
(
    [0] => /events/category/aquathlon
    [cat] => aquathlon
    [1] => aquathlon
)
0.08390.001 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.09060.0066 [1] SELECT * FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.09780.0072 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.09830.0005INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.16050.0623 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26060
0.16130.0008 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26060
0.16290.0016 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2018-11-21 04:06:00' AND saleTo>'2018-11-21 04:06:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.16530.0024------------------------------ Calculating cart ------------------------------
0.16540.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26060
0.17280.0074 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26060
0.1750.0022 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.17540.0004 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.17570.0003 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.17660.0008 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.17690.0004 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26060
0.17730.0004Tax mode: inc
0.17790.0005 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26060 ORDER BY itemID ASC
0.17950.0016 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/events' OR regionPage='*')
0.17990.0004 [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.18510.0052 [1] Using template: /templates/content/text.html
0.18870.0035Using template: /templates/pages/attributes/default.html
0.18910.0004Using sub-template: /templates/pages/attributes/seo.html
0.18940.0003Using sub-template: /templates/pages/attributes/facebook.html
0.18960.0003Using sub-template: /templates/pages/attributes/twitter.html
0.1940.0044 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
0.19440.0004 [5] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catSlug NOT IN ('discounts', 'events', 'swimming-lessons')) AND setID=2 ORDER BY catTreePosition ASC
0.1960.0016 [5] Using template: /templates/categories/products/shop_nav_list.html
0.19640.0004Using sub-template: /templates/categories/title.html
0.19850.0021 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
0.19920.0007 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.19960.0004 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition DESC
0.20030.0007Using template: /templates/navigation/navbar_list.html
0.20050.0002 [1] Using template: /templates/navigation/navbar_list.html
0.2010.0005Using sub-template: /templates/navigation/navbar_item.html
0.20130.0003Using sub-template: /templates/navigation/navbar_item.html
0.20220.0009 [1] Using template: /templates/navigation/navbar_list.html
0.20260.0005Using sub-template: /templates/navigation/navbar_item.html
0.20290.0003Using sub-template: /templates/navigation/navbar_item.html
0.20360.0008 [1] Using template: /templates/navigation/navbar_list.html
0.20410.0004Using sub-template: /templates/navigation/navbar_item.html
0.20430.0002Using sub-template: /templates/navigation/navbar_item.html
0.2050.0007 [2] Using template: /templates/navigation/navbar_list.html
0.20550.0005Using sub-template: /templates/navigation/navbar_item.html
0.20580.0003 [9] Using sub-template: /templates/navigation/navbar_item.html
0.20720.0014Using sub-template: /templates/navigation/navbar_item.html
0.20740.0002Using sub-template: /templates/navigation/navbar_item.html
0.21230.0049Using template: /templates/search/form_in_menu.html
0.21480.0025 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/events' OR regionPage='*')
0.21540.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=3)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.22660.0113 [1] Using template: /templates/content/profile/social_white_icons.html
0.22770.0011 [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=3)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.23760.0099 [1] Using template: /templates/content/profile/phone.html
0.23870.001 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' OR pageSortPath='/events' LIMIT 1
0.23910.0004 [1] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition
0.23950.0005 [1] Using template: /templates/navigation/breadcrumbs.html
0.24030.0008 [1] SELECT collectionID, collectionTemplate FROM perch3_collections WHERE collectionKey='Events'
0.24070.0004 [3] SELECT idx.itemID FROM perch3_collection_index idx JOIN perch3_collection_revisions c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.collectionID=c.collectionID WHERE (idx.collectionID=3) AND ((idx.indexKey='_category' AND idx.indexValue LIKE 'events/aquathlon/%'))
0.95210.7113 [nil] SELECT * FROM ( SELECT idx.itemID, ci.collectionID, ci.itemJSON, idx2.indexValue as sortval FROM perch3_collection_index idx JOIN perch3_collection_items ci ON idx.itemID=ci.itemID AND idx.itemRev=ci.itemRev AND idx.collectionID=ci.collectionID JOIN perch3_collection_revisions cr ON idx.itemID=cr.itemID AND idx.itemRev=cr.itemRev AND idx.collectionID=ci.collectionID JOIN perch3_collection_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='date' WHERE (idx.collectionID=3) AND idx.itemID IN (7, 10, 8) AND ((idx.indexKey='date' AND idx.indexValue >= '2018-11-21 00:00:00')) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, itemJSON, sortval ORDER BY sortval ASC
0.96520.0131Using template: /templates/content/events/list.html
0.96570.0006Using sub-template: /templates/content/events/card.html
0.96620.0005Using sub-template: /templates/content/events/price.html
0.96660.0004 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='events' LIMIT 1
0.96710.0005 [2] SELECT main.* FROM perch3_categories main WHERE 1=1 AND setID=3 ORDER BY catTreePosition ASC
0.96770.0006 [2] Using template: /templates/categories/events/list.html
0.96860.0009 [1] SELECT * FROM ( SELECT idx.itemID, ci.collectionID, ci.itemJSON, idx2.indexValue as sortval FROM perch3_collection_index idx JOIN perch3_collection_items ci ON idx.itemID=ci.itemID AND idx.itemRev=ci.itemRev AND idx.collectionID=ci.collectionID JOIN perch3_collection_revisions cr ON idx.itemID=cr.itemID AND idx.itemRev=cr.itemRev AND idx.collectionID=ci.collectionID JOIN perch3_collection_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='date' WHERE (idx.collectionID=3) AND ((idx.indexKey='featured' AND idx.indexValue='1')) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, itemJSON, sortval ORDER BY sortval ASC LIMIT 0, 3
0.97970.0111Using template: /templates/content/events/small_card.html
0.98020.0005 [1] Using sub-template: /templates/content/events/price.html
0.9820.0018Request time: 0.982
0.9820Process time: 0.9678
0.9820Memory: 7.479