Individual Lessons

Time Δ Debug Message - Perch Runway 3.1.1
0.13150 [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.13830.0068Matched route: shop/[slug/slug:cat]
0.13850.0002Using master page: /templates/pages/shop/index.php
0.13850Page arguments:
Array
(
    [0] => /shop/swimming-lessons/individual-lessons
    [cat] => swimming-lessons/individual-lessons
    [1] => swimming-lessons/individual-lessons
)
0.13960.0011 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.14820.0086 [1] SELECT * FROM perch3_pages WHERE pagePath='/shop' LIMIT 1
0.16030.0121 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.16330.003INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
1.82781.6645 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26015
1.83240.0046 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26015
1.83390.0015 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2018-11-21 03:26:00' AND saleTo>'2018-11-21 03:26:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
1.83910.0053 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
1.83960.0005 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/individual-lessons/') ORDER BY catTreePosition ASC
1.84130.0017Using template: /templates/categories/category.html
1.87810.0368Using sub-template: /templates/categories/_blocks.html
1.8790.0008------------------------------ Calculating cart ------------------------------
1.8790.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26015
1.88460.0056 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26015
1.88630.0017 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
1.88670.0004 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
1.8870.0003 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
1.88780.0008 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
1.88810.0003 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26015
1.88850.0004Tax mode: inc
1.8890.0005 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26015 ORDER BY itemID ASC
1.89060.0017 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/shop' OR regionPage='*')
1.89110.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
1.89640.0052 [1] Using template: /templates/content/text.html
1.90170.0053 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
1.90220.0006 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/individual-lessons/') ORDER BY catTreePosition ASC
1.90280.0006 [1] Using template: /templates/categories/catTitle.html
2.16190.259Using template: /templates/pages/attributes/default.html
2.16290.001Using sub-template: /templates/pages/attributes/seo.html
2.16350.0006Using sub-template: /templates/pages/attributes/facebook.html
2.16410.0006Using sub-template: /templates/pages/attributes/twitter.html
2.16740.0032 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
2.16790.0005 [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
2.16870.0008 [5] Using template: /templates/categories/products/shop_nav_list.html
2.16940.0007Using sub-template: /templates/categories/title.html
2.17130.0019 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
2.17210.0008 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/shop' LIMIT 1
2.17240.0003 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-006', '000') ORDER BY pageTreePosition DESC
2.17290.0005Using template: /templates/navigation/navbar_list.html
2.17310.0002 [1] Using template: /templates/navigation/navbar_list.html
2.17360.0005Using sub-template: /templates/navigation/navbar_item.html
2.17380.0003Using sub-template: /templates/navigation/navbar_item.html
2.17470.0009 [1] Using template: /templates/navigation/navbar_list.html
2.17520.0004Using sub-template: /templates/navigation/navbar_item.html
2.17540.0003Using sub-template: /templates/navigation/navbar_item.html
2.17620.0008 [1] Using template: /templates/navigation/navbar_list.html
2.17680.0006Using sub-template: /templates/navigation/navbar_item.html
2.1770.0003Using sub-template: /templates/navigation/navbar_item.html
2.1780.0009 [2] Using template: /templates/navigation/navbar_list.html
2.17850.0005Using sub-template: /templates/navigation/navbar_item.html
2.17880.0003 [9] Using sub-template: /templates/navigation/navbar_item.html
2.18030.0015Using sub-template: /templates/navigation/navbar_item.html
2.18050.0002Using sub-template: /templates/navigation/navbar_item.html
2.18540.0049Using template: /templates/search/form_in_menu.html
2.18830.0028 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/shop' OR regionPage='*')
2.18980.0015 [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
2.2130.0232 [1] Using template: /templates/content/profile/social_white_icons.html
2.21470.0017 [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
2.25060.036 [1] Using template: /templates/content/profile/phone.html
2.25220.0016 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/shop' OR pageSortPath='/shop' LIMIT 1
2.25290.0006 [1] SELECT * FROM perch3_pages WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-006', '000') ORDER BY pageTreePosition
2.25360.0007 [1] Using template: /templates/navigation/breadcrumbs.html
2.25450.0009 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
2.25490.0004 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/individual-lessons/') ORDER BY catTreePosition ASC
2.25540.0005 [1] Using template: /templates/categories/_blocks.html
2.25590.0005Using sub-template: /templates/categories/title.html
2.25660.0006 [2] SELECT DISTINCT idx.itemID FROM perch3_shop_index idx JOIN perch3_shop_products main ON idx.itemID=main.productID AND idx.itemKey='productID' AND ((idx.indexKey='_category' AND idx.indexValue LIKE 'products/swimming-lessons/individual-lessons/%' OR idx.indexKey='_category' AND idx.indexValue='products/swimming-lessons/individual-lessons/'))
3.43951.1829 [1] SELECT tbl.* FROM ( SELECT idx.itemID, main.*, idx2.indexValue as sortval FROM perch3_shop_index idx JOIN perch3_shop_products main ON idx.itemID=main.productID AND idx.itemKey='productID' JOIN perch3_shop_index idx2 ON idx.itemID=idx2.itemID AND idx.itemKey='productID' AND idx2.indexKey='productOrder' AND idx.itemID IN ('33', '37') WHERE 1=1 AND idx.itemID=idx2.itemID AND idx.itemKey=idx2.itemKey GROUP BY idx.itemID, idx2.indexValue, productID ) as tbl WHERE (productDeleted IS NULL AND productStatus=1 AND parentID IS NULL) GROUP BY itemID, sortval ORDER BY sortval * 1 ASC
3.47830.0388 [1] Using template: /templates/shop/products/list.html
3.53120.053Using sub-template: /templates/shop/products/card.html
3.54620.015Using sub-template: /templates/shop/products/price.html
3.5480.0018 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
3.55110.0031Request time: 3.5511
3.55110Process time: 3.5191
3.55120Memory: 7.7068