Events

Time Δ Debug Message - Perch Runway 3.1.1
0.11490 [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.11960.0047Matched route: events/category/[slug:cat]
0.11980.0002Using master page: /templates/pages/events/index.php
0.11980Page arguments:
Array
(
    [0] => /events/category/triathlon
    [cat] => triathlon
    [1] => triathlon
)
0.1210.0012 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.12820.0072 [1] SELECT * FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.13610.008 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.14790.0118INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.16460.0166 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26027
0.16530.0007 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26027
0.16640.0011 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2018-11-21 03:27:00' AND saleTo>'2018-11-21 03:27:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.16790.0015------------------------------ Calculating cart ------------------------------
0.16790.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26027
0.17320.0052 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26027
0.17520.002 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.17550.0004 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.17590.0003 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.17670.0008 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.1770.0003 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26027
0.17730.0004Tax mode: inc
0.17780.0005 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26027 ORDER BY itemID ASC
0.17940.0016 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/events' OR regionPage='*')
0.17990.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=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.18530.0054 [1] Using template: /templates/content/text.html
0.1890.0037Using template: /templates/pages/attributes/default.html
0.18950.0005Using sub-template: /templates/pages/attributes/seo.html
0.18980.0003Using sub-template: /templates/pages/attributes/facebook.html
0.190.0003Using sub-template: /templates/pages/attributes/twitter.html
0.19430.0043 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
0.19490.0006 [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.19630.0014 [5] Using template: /templates/categories/products/shop_nav_list.html
0.19680.0005Using sub-template: /templates/categories/title.html
0.19870.0019 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
0.19950.0008 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.19990.0004 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition DESC
0.20050.0006Using template: /templates/navigation/navbar_list.html
0.20070.0002 [1] Using template: /templates/navigation/navbar_list.html
0.20120.0005Using sub-template: /templates/navigation/navbar_item.html
0.20140.0002Using sub-template: /templates/navigation/navbar_item.html
0.20230.0009 [1] Using template: /templates/navigation/navbar_list.html
0.20280.0005Using sub-template: /templates/navigation/navbar_item.html
0.2030.0002Using sub-template: /templates/navigation/navbar_item.html
0.20380.0008 [1] Using template: /templates/navigation/navbar_list.html
0.20420.0004Using sub-template: /templates/navigation/navbar_item.html
0.20450.0003Using sub-template: /templates/navigation/navbar_item.html
0.20520.0007 [2] Using template: /templates/navigation/navbar_list.html
0.20580.0005Using sub-template: /templates/navigation/navbar_item.html
0.2060.0002 [9] Using sub-template: /templates/navigation/navbar_item.html
0.20740.0014Using sub-template: /templates/navigation/navbar_item.html
0.20770.0003Using sub-template: /templates/navigation/navbar_item.html
0.21260.0049Using template: /templates/search/form_in_menu.html
0.21520.0027 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/events' OR regionPage='*')
0.2160.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=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.22670.0107 [1] Using template: /templates/content/profile/social_white_icons.html
0.22860.0019 [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.23880.0102 [1] Using template: /templates/content/profile/phone.html
0.24050.0017 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' OR pageSortPath='/events' LIMIT 1
0.24110.0006 [1] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition
0.24190.0008 [1] Using template: /templates/navigation/breadcrumbs.html
0.2430.0011 [1] SELECT collectionID, collectionTemplate FROM perch3_collections WHERE collectionKey='Events'
0.24340.0004 [2] 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/triathlon/%'))
0.2720.0286 [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 (5, 9) 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.27750.0055Using template: /templates/content/events/list.html
0.28630.0089Using sub-template: /templates/content/events/card.html
0.2870.0007Using sub-template: /templates/content/events/price.html
0.28750.0004 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='events' LIMIT 1
0.28820.0007 [2] SELECT main.* FROM perch3_categories main WHERE 1=1 AND setID=3 ORDER BY catTreePosition ASC
0.28880.0007 [2] Using template: /templates/categories/events/list.html
0.28980.001 [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.29840.0086Using template: /templates/content/events/small_card.html
0.29910.0006 [1] Using sub-template: /templates/content/events/price.html
0.30110.002Request time: 0.3011
0.30110Process time: 0.2709
0.30120Memory: 7.4789