Events

Time Δ Debug Message - Perch Runway 3.1.1
0.06990 [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.0740.004Matched page: /events, so not using routes.
0.07410.0001Using master page: /templates/pages/events/index.php
0.07520.0011 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.08220.007 [1] SELECT * FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.08940.0072 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.08990.0005INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.12010.0302 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26061
0.12070.0006 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26061
0.12170.0011 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2018-11-21 04:11:00' AND saleTo>'2018-11-21 04:11:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.12310.0013------------------------------ Calculating cart ------------------------------
0.12310.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26061
0.12820.005 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26061
0.13010.002 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.13050.0003 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.13080.0003 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.13160.0008 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.1320.0003 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26061
0.13230.0003Tax mode: inc
0.13280.0004 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26061 ORDER BY itemID ASC
0.13440.0016 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/events' OR regionPage='*')
0.13490.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.14010.0052 [1] Using template: /templates/content/text.html
0.14370.0036Using template: /templates/pages/attributes/default.html
0.14410.0004Using sub-template: /templates/pages/attributes/seo.html
0.14440.0003Using sub-template: /templates/pages/attributes/facebook.html
0.14470.0003Using sub-template: /templates/pages/attributes/twitter.html
0.14880.0041 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
0.14930.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.15080.0015 [5] Using template: /templates/categories/products/shop_nav_list.html
0.15130.0005Using sub-template: /templates/categories/title.html
0.15330.002 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
0.15410.0008 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' LIMIT 1
0.15450.0004 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition DESC
0.15510.0007Using template: /templates/navigation/navbar_list.html
0.15530.0002 [1] Using template: /templates/navigation/navbar_list.html
0.15580.0005Using sub-template: /templates/navigation/navbar_item.html
0.1560.0002Using sub-template: /templates/navigation/navbar_item.html
0.15690.0009 [1] Using template: /templates/navigation/navbar_list.html
0.15730.0004Using sub-template: /templates/navigation/navbar_item.html
0.15760.0002Using sub-template: /templates/navigation/navbar_item.html
0.15890.0014 [1] Using template: /templates/navigation/navbar_list.html
0.15970.0007Using sub-template: /templates/navigation/navbar_item.html
0.16010.0004Using sub-template: /templates/navigation/navbar_item.html
0.16090.0008 [2] Using template: /templates/navigation/navbar_list.html
0.16160.0008Using sub-template: /templates/navigation/navbar_item.html
0.16190.0002 [9] Using sub-template: /templates/navigation/navbar_item.html
0.16390.002Using sub-template: /templates/navigation/navbar_item.html
0.16420.0002Using sub-template: /templates/navigation/navbar_item.html
0.16990.0057Using template: /templates/search/form_in_menu.html
0.1730.0032 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/events' OR regionPage='*')
0.17390.0009 [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.1850.0111 [1] Using template: /templates/content/profile/social_white_icons.html
0.18650.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=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.19750.0111 [1] Using template: /templates/content/profile/phone.html
0.19850.001 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/events' OR pageSortPath='/events' LIMIT 1
0.1990.0005 [1] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageTreePosition IN ('000-008', '000') ORDER BY pageTreePosition
0.19960.0007 [1] Using template: /templates/navigation/breadcrumbs.html
0.20050.0008 [1] SELECT collectionID, collectionTemplate FROM perch3_collections WHERE collectionKey='Events'
0.20090.0005 [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.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.20530.0043Using template: /templates/content/events/list.html
0.20590.0006Using sub-template: /templates/content/events/card.html
0.20650.0006Using sub-template: /templates/content/events/price.html
0.20690.0003 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='events' LIMIT 1
0.20730.0004 [2] SELECT main.* FROM perch3_categories main WHERE 1=1 AND setID=3 ORDER BY catTreePosition ASC
0.20780.0006 [2] Using template: /templates/categories/events/list.html
0.20880.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.21540.0065Using template: /templates/content/events/small_card.html
0.21590.0005 [1] Using sub-template: /templates/content/events/price.html
0.21810.0023Request time: 0.2181
0.21820Process time: 0.2052
0.21820Memory: 7.4733