Time Δ Debug Message - Perch Runway 3.1.1
0.08060 [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.12540.0449Matched route: shop/[slug/slug:cat]
0.12570.0003Using master page: /templates/pages/shop/index.php
0.12580.0001Page arguments:
Array
(
    [0] => /shop/swimming-lessons/group-lessons
    [cat] => swimming-lessons/group-lessons
    [1] => swimming-lessons/group-lessons
)
0.12750.0017 [67] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.14170.0142 [1] SELECT * FROM perch3_pages WHERE pagePath='/shop' LIMIT 1
0.15340.0117 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.15410.0007INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.1630.009 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26017
0.16370.0007 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26017
0.16490.0012 [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
0.17030.0054 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.17070.0005 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/group-lessons/') ORDER BY catTreePosition ASC
0.17320.0024Using template: /templates/categories/category.html
0.17420.001Using sub-template: /templates/categories/_blocks.html
0.17520.001------------------------------ Calculating cart ------------------------------
0.17530.0001 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26017
0.18380.0085 [1] SELECT * FROM perch3_shop_cart WHERE cartID=26017
0.18610.0022 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.18650.0004 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.18690.0004 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.18770.0009 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.18810.0004 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=26017
0.18850.0004Tax mode: inc
0.18890.0004 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=26017 ORDER BY itemID ASC
0.19060.0016 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/shop' OR regionPage='*')
0.19110.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=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.19750.0063 [1] Using template: /templates/content/text.html
0.20090.0035 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.20130.0004 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/group-lessons/') ORDER BY catTreePosition ASC
0.20180.0005 [1] Using template: /templates/categories/catTitle.html
0.20260.0007Using template: /templates/pages/attributes/default.html
0.2030.0005Using sub-template: /templates/pages/attributes/seo.html
0.20330.0003Using sub-template: /templates/pages/attributes/facebook.html
0.20350.0002Using sub-template: /templates/pages/attributes/twitter.html
0.20530.0018 [1] SELECT setID FROM perch3_category_sets WHERE setSlug='products' LIMIT 1
0.20560.0003 [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.20630.0006 [5] Using template: /templates/categories/products/shop_nav_list.html
0.20670.0005Using sub-template: /templates/categories/title.html
0.20870.0019 [19] SELECT * FROM perch3_pages WHERE pageNew=0 AND pageHidden=0 ORDER BY pageTreePosition ASC
0.20940.0007 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/shop' LIMIT 1
0.20970.0004 [1] SELECT pageID FROM perch3_pages WHERE pageTreePosition IN ('000-006', '000') ORDER BY pageTreePosition DESC
0.21030.0005Using template: /templates/navigation/navbar_list.html
0.21050.0002 [1] Using template: /templates/navigation/navbar_list.html
0.2110.0005Using sub-template: /templates/navigation/navbar_item.html
0.21130.0003Using sub-template: /templates/navigation/navbar_item.html
0.21210.0008 [1] Using template: /templates/navigation/navbar_list.html
0.21270.0005Using sub-template: /templates/navigation/navbar_item.html
0.21290.0003Using sub-template: /templates/navigation/navbar_item.html
0.21370.0008 [1] Using template: /templates/navigation/navbar_list.html
0.21420.0005Using sub-template: /templates/navigation/navbar_item.html
0.21440.0003Using sub-template: /templates/navigation/navbar_item.html
0.21520.0007 [2] Using template: /templates/navigation/navbar_list.html
0.21580.0007Using sub-template: /templates/navigation/navbar_item.html
0.21640.0006 [9] Using sub-template: /templates/navigation/navbar_item.html
0.21920.0028Using sub-template: /templates/navigation/navbar_item.html
0.21980.0006Using sub-template: /templates/navigation/navbar_item.html
0.22830.0085Using template: /templates/search/form_in_menu.html
0.23230.0041 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/shop' OR regionPage='*')
0.23340.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.24490.0116 [1] Using template: /templates/content/profile/social_white_icons.html
0.24590.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.25650.0106 [1] Using template: /templates/content/profile/phone.html
0.25770.0011 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/shop' OR pageSortPath='/shop' LIMIT 1
0.25810.0005 [1] SELECT * FROM perch3_pages WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-006', '000') ORDER BY pageTreePosition
0.25880.0007 [1] Using template: /templates/navigation/breadcrumbs.html
0.25970.0009 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.25990.0003 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/group-lessons/') ORDER BY catTreePosition ASC
0.26040.0005 [1] Using template: /templates/categories/_blocks.html
0.26090.0005Using sub-template: /templates/categories/title.html
0.26190.001 [5] 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/group-lessons/%' OR idx.indexKey='_category' AND idx.indexValue='products/swimming-lessons/group-lessons/'))
0.26310.0012 [5] 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 ('38', '32', '31', '30', '29') 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
0.28030.0171 [5] Using template: /templates/shop/products/list.html
0.28080.0006Using sub-template: /templates/shop/products/card.html
0.28120.0004 [4] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=29 AND productDeleted IS NULL ORDER BY productOrder ASC
0.28380.0026 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=29 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.28620.0024 [20] SELECT valueID AS id, valueTitle AS title, valueSKUCode AS skucode FROM perch3_shop_option_values WHERE optionID=3 AND valueDeleted IS NULL ORDER BY valueOrder ASC
0.28680.0006 [4] SELECT pov.prodoptID, pov.optionID, pov.valueID, o.optionTitle, ov.* FROM perch3_shop_product_option_values pov, perch3_shop_options o, perch3_shop_option_values ov WHERE pov.productID='29' AND pov.optionID=o.optionID AND pov.valueID=ov.valueID AND o.optionDeleted IS NULL AND ov.valueDeleted IS NULL AND o.optionID='3' ORDER BY o.optionPrecendence ASC, ov.valueOrder ASC
0.28850.0017Using sub-template: /templates/shop/products/price.html
0.29010.0016 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.29120.0011 [4] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=30 AND productDeleted IS NULL ORDER BY productOrder ASC
0.2920.0008 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=30 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.2930.001 [20] SELECT valueID AS id, valueTitle AS title, valueSKUCode AS skucode FROM perch3_shop_option_values WHERE optionID=3 AND valueDeleted IS NULL ORDER BY valueOrder ASC
0.29350.0005 [4] SELECT pov.prodoptID, pov.optionID, pov.valueID, o.optionTitle, ov.* FROM perch3_shop_product_option_values pov, perch3_shop_options o, perch3_shop_option_values ov WHERE pov.productID='30' AND pov.optionID=o.optionID AND pov.valueID=ov.valueID AND o.optionDeleted IS NULL AND ov.valueDeleted IS NULL AND o.optionID='3' ORDER BY o.optionPrecendence ASC, ov.valueOrder ASC
0.2960.0025 [4] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=31 AND productDeleted IS NULL ORDER BY productOrder ASC
0.29670.0007 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=31 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.29770.0009 [20] SELECT valueID AS id, valueTitle AS title, valueSKUCode AS skucode FROM perch3_shop_option_values WHERE optionID=3 AND valueDeleted IS NULL ORDER BY valueOrder ASC
0.29820.0005 [4] SELECT pov.prodoptID, pov.optionID, pov.valueID, o.optionTitle, ov.* FROM perch3_shop_product_option_values pov, perch3_shop_options o, perch3_shop_option_values ov WHERE pov.productID='31' AND pov.optionID=o.optionID AND pov.valueID=ov.valueID AND o.optionDeleted IS NULL AND ov.valueDeleted IS NULL AND o.optionID='3' ORDER BY o.optionPrecendence ASC, ov.valueOrder ASC
0.30060.0025 [4] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=32 AND productDeleted IS NULL ORDER BY productOrder ASC
0.30130.0007 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=32 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.30220.0009 [20] SELECT valueID AS id, valueTitle AS title, valueSKUCode AS skucode FROM perch3_shop_option_values WHERE optionID=3 AND valueDeleted IS NULL ORDER BY valueOrder ASC
0.30270.0005 [4] SELECT pov.prodoptID, pov.optionID, pov.valueID, o.optionTitle, ov.* FROM perch3_shop_product_option_values pov, perch3_shop_options o, perch3_shop_option_values ov WHERE pov.productID='32' AND pov.optionID=o.optionID AND pov.valueID=ov.valueID AND o.optionDeleted IS NULL AND ov.valueDeleted IS NULL AND o.optionID='3' ORDER BY o.optionPrecendence ASC, ov.valueOrder ASC
0.30510.0024 [4] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=38 AND productDeleted IS NULL ORDER BY productOrder ASC
0.30590.0008 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=38 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.30680.0009 [20] SELECT valueID AS id, valueTitle AS title, valueSKUCode AS skucode FROM perch3_shop_option_values WHERE optionID=3 AND valueDeleted IS NULL ORDER BY valueOrder ASC
0.30730.0005 [4] SELECT pov.prodoptID, pov.optionID, pov.valueID, o.optionTitle, ov.* FROM perch3_shop_product_option_values pov, perch3_shop_options o, perch3_shop_option_values ov WHERE pov.productID='38' AND pov.optionID=o.optionID AND pov.valueID=ov.valueID AND o.optionDeleted IS NULL AND ov.valueDeleted IS NULL AND o.optionID='3' ORDER BY o.optionPrecendence ASC, ov.valueOrder ASC
0.31030.003Request time: 0.3103
0.31040Process time: 0.2954
0.31040Memory: 8.072