Season Tickets



Time Δ Debug Message - Perch Runway 3.1.1
0.08270 [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.08750.0048Matched page: /season-tickets, so not using routes.
0.08780.0002Using master page: /templates/pages/default.php
0.08890.0011 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.09740.0085 [1] SELECT * FROM perch3_pages WHERE pagePath='/season-tickets' LIMIT 1
0.10590.0085 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.10680.0009INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.15490.0481 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26035
0.15570.0008 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26035
0.1570.0012 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2018-11-21 03:38:00' AND saleTo>'2018-11-21 03:38:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.15870.0017------------------------------ Calculating cart ------------------------------
0.15880.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26035
0.16430.0055 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26035
0.16760.0033 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.16850.0009 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.16890.0004 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.170.0011 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.17050.0005 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26035
0.1710.0005Tax mode: inc
0.17150.0006 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26035 ORDER BY itemID ASC
0.17340.0019 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/season-tickets' OR regionPage='*')
0.17430.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=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.18430.0101 [1] Using template: /templates/content/text.html
0.1880.0037Using template: /templates/pages/attributes/default.html
0.18850.0005Using sub-template: /templates/pages/attributes/seo.html
0.18880.0003Using sub-template: /templates/pages/attributes/facebook.html
0.18910.0003Using sub-template: /templates/pages/attributes/twitter.html
0.19390.0048 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
0.19470.0008 [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.19640.0017 [5] Using template: /templates/categories/products/shop_nav_list.html
0.1970.0005Using sub-template: /templates/categories/title.html
0.1990.002 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
0.20050.0014 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/season-tickets' LIMIT 1
0.2010.0006 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-005', '000') ORDER BY pageTreePosition DESC
0.20180.0007Using template: /templates/navigation/navbar_list.html
0.2020.0002 [1] Using template: /templates/navigation/navbar_list.html
0.20250.0005Using sub-template: /templates/navigation/navbar_item.html
0.20280.0003Using sub-template: /templates/navigation/navbar_item.html
0.20380.001 [1] Using template: /templates/navigation/navbar_list.html
0.20430.0005Using sub-template: /templates/navigation/navbar_item.html
0.20460.0003Using sub-template: /templates/navigation/navbar_item.html
0.20550.0009 [1] Using template: /templates/navigation/navbar_list.html
0.20620.0007Using sub-template: /templates/navigation/navbar_item.html
0.20650.0003Using sub-template: /templates/navigation/navbar_item.html
0.20740.0008 [2] Using template: /templates/navigation/navbar_list.html
0.2080.0006Using sub-template: /templates/navigation/navbar_item.html
0.20830.0003 [9] Using sub-template: /templates/navigation/navbar_item.html
0.20990.0017Using sub-template: /templates/navigation/navbar_item.html
0.21020.0003Using sub-template: /templates/navigation/navbar_item.html
0.21550.0054Using template: /templates/search/form_in_menu.html
0.21840.0029 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/season-tickets' OR regionPage='*')
0.21940.001 [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.2340.0147 [1] Using template: /templates/content/profile/social_white_icons.html
0.23510.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.25980.0247 [1] Using template: /templates/content/profile/phone.html
0.26090.0011 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/season-tickets' OR pageSortPath='/season-tickets' LIMIT 1
0.26150.0006 [1] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageTreePosition IN ('000-005', '000') ORDER BY pageTreePosition
0.26220.0006 [1] Using template: /templates/navigation/breadcrumbs.html
0.26310.0009 [4] SELECT regionKey, regionHTML FROM perch3_content_regions WHERE regionPage='/season-tickets' OR regionPage='*' ORDER BY regionPage DESC
0.26390.0008 [1] SELECT collectionID, collectionTemplate FROM perch3_collections WHERE collectionKey='Events'
0.26430.0004 [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.27280.0085Using template: /templates/content/events/small_card.html
0.27340.0005 [1] Using sub-template: /templates/content/events/price.html
0.27690.0035 [3] 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 (postStatus='Published' AND postDateTime<='2018-11-21 03:38:00' ) GROUP BY itemID, sortval ORDER BY sortval DESC LIMIT 0, 3
0.29960.0227 [1] SELECT FOUND_ROWS() AS `count`
0.30310.0035 [3] Using template: /templates/blog/sidebar_in_list.html
0.30510.002 [4] SELECT * FROM perch3_blog_authors ORDER BY authorFamilyName, authorGivenName ASC
0.30790.0028 [1] SELECT * FROM perch3_blog_sections ORDER BY sectionTitle ASC
0.310.0021 [1] SELECT * FROM perch3_blogs ORDER BY blogTitle ASC
0.31580.0059Request time: 0.3158
0.31590Process time: 0.3009
0.31590Memory: 8.0004