Summer Swim Courses

Time Δ Debug Message - Perch Runway 3.1.4
0.00540 [53] 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.00670.0013Matched route: shop/[slug/slug:cat]
0.00680.0001Using master page: /templates/pages/shop/index.php
0.00680Page arguments:
Array
(
    [0] => /shop/swimming-lessons/summer-swim-courses
    [cat] => swimming-lessons/summer-swim-courses
    [1] => swimming-lessons/summer-swim-courses
)
0.0070.0002 [70] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.00770.0007 [1] SELECT * FROM perch3_pages WHERE pagePath='/shop' LIMIT 1
0.00860.0009 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.00880.0002INSERT INTO perch3_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
0.01040.0016 [1] SELECT * FROM perch3_shop_cart WHERE cartID=918278
0.01080.0005 [1] SELECT * FROM perch3_shop_cart WHERE cartID=918278
0.01110.0003 [nil] SELECT * FROM perch3_shop_sales WHERE saleFrom<='2019-03-18 19:27:00' AND saleTo>'2019-03-18 19:27:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
0.01310.002 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.01320.0001 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/summer-swim-courses/') ORDER BY catTreePosition ASC
0.01350.0003Using template: /templates/categories/category.html
0.01420.0007Using sub-template: /templates/categories/_blocks.html
0.01440.0002------------------------------ Calculating cart ------------------------------
0.01440 [1] SELECT * FROM perch3_shop_cart WHERE cartID=918278
0.01510.0007 [1] SELECT * FROM perch3_shop_cart WHERE cartID=918278
0.01540.0003 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.01550.0001 [1] SELECT locationID FROM perch3_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
0.01560.0001 [1] SELECT * FROM perch3_shop_tax_locations WHERE locationID=1 AND locationDeleted IS NULL LIMIT 1
0.01590.0003 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.0160.0001 [1] SELECT COUNT(productID) AS product_count, SUM(itemQty) AS item_count FROM perch3_shop_cart_items WHERE cartID=918278
0.01640.0004Tax mode: inc
0.01660.0001 [nil] SELECT * FROM perch3_shop_cart_items WHERE cartID=918278 ORDER BY itemID ASC
0.01710.0006 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Profile' AND (regionPage='/shop' OR regionPage='*')
0.01730.0002 [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=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01750.0002 [1] Using template: /templates/content/profile/contact_intro_contact.html
0.01850.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=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01870.0002 [1] Using template: /templates/content/profile/contact_intro_social.html
0.01930.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=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.01950.0002 [1] Using template: /templates/content/profile/social_white_icons.html
0.02010.0007 [1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch3_content_regions WHERE regionKey='Site Name' AND (regionPage='/shop' OR regionPage='*')
0.02030.0001 [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.02040.0001 [1] Using template: /templates/content/text.html
0.02070.0003 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.02080.0001 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/summer-swim-courses/') ORDER BY catTreePosition ASC
0.02090.0001 [1] Using template: /templates/categories/catTitle.html
0.02180.0009Using template: /templates/pages/attributes/default.html
0.02190.0001Using sub-template: /templates/pages/attributes/seo.html
0.0220.0001Using sub-template: /templates/pages/attributes/facebook.html
0.0220Using sub-template: /templates/pages/attributes/twitter.html
0.02330.0012 [1] SELECT groupID FROM perch3_navigation WHERE groupSlug='header-menu' LIMIT 1
0.02340.0001 [13] SELECT np.pageID, np.pageParentID, p.pagePath, p.pageTitle, p.pageNavText, p.pageNew, p.pageOrder, np.pageDepth, p.pageSortPath, np.pageTreePosition, p.pageAccessTags, p.pageAttributes FROM perch3_navigation_pages np, perch3_pages p WHERE p.pageID=np.pageID AND np.groupID=6 AND p.pageNew=0 AND np.pageDepth >=0 AND np.pageDepth<=2 ORDER BY np.pageTreePosition ASC
0.02360.0002 [1] SELECT np.pageTreePosition FROM perch3_pages p, perch3_navigation_pages np WHERE np.pageID=p.pageID AND np.groupID=6 AND p.pagePath='/shop' LIMIT 1
0.02370.0001 [1] SELECT pageID FROM perch3_navigation_pages WHERE groupID=6 AND pageTreePosition IN ('000-003', '000') ORDER BY pageTreePosition DESC
0.02390.0002Using template: /templates/navigation/item.html
0.0240 [3] Using template: /templates/navigation/item-lvl-2.html
0.02450.0005 [2] Using template: /templates/navigation/item-lvl-2.html
0.02480.0003 [2] Using template: /templates/navigation/item-lvl-2.html
0.02510.0003 [5] Using template: /templates/navigation/item-lvl-2.html
0.02650.0014 [1] SELECT pageTreePosition FROM perch3_pages WHERE pagePath='/shop' OR pageSortPath='/shop' LIMIT 1
0.02660.0002 [1] SELECT * FROM perch3_pages WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-004', '000') ORDER BY pageTreePosition
0.02680.0002 [1] Using template: /templates/navigation/breadcrumbs.html
0.02720.0004 [0] SELECT setID FROM perch3_category_sets WHERE setSlug='' LIMIT 1
0.02730.0001 [1] SELECT main.* FROM perch3_categories main WHERE 1=1 AND (catPath='products/swimming-lessons/summer-swim-courses/') ORDER BY catTreePosition ASC
0.02740.0001 [1] Using template: /templates/categories/_blocks.html
0.0280.0006Using sub-template: /templates/categories/title.html
0.02850.0004 [4] 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/summer-swim-courses/%' OR idx.indexKey='_category' AND idx.indexValue='products/swimming-lessons/summer-swim-courses/'))
0.02860.0002 [4] 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 ('162', '161', '163', '164') 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.02970.0011 [4] Using template: /templates/shop/products/list.html
0.03060.0009Using sub-template: /templates/shop/products/card.html
0.03080.0002 [5] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=162 AND productDeleted IS NULL ORDER BY productOrder ASC
0.03160.0008 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=162 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.0320.0004 [4] 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.03210.0001 [nil] 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='162' 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.03270.0005Using sub-template: /templates/shop/products/price.html
0.03360.0009 [1] SELECT * FROM perch3_shop_currencies WHERE currencyID=47 LIMIT 1
0.03410.0006 [5] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=161 AND productDeleted IS NULL ORDER BY productOrder ASC
0.03430.0002 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=161 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.03450.0001 [4] 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.03460.0001 [nil] 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='161' 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.03560.001 [5] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=163 AND productDeleted IS NULL ORDER BY productOrder ASC
0.03590.0003 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=163 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.0360.0001 [4] 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.03610.0001 [nil] 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='163' 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.0370.0008 [5] SELECT productID, productVariantDesc, stock_level FROM perch3_shop_products WHERE parentID=164 AND productDeleted IS NULL ORDER BY productOrder ASC
0.03720.0002 [1] SELECT o.* FROM perch3_shop_options o, perch3_shop_product_options po WHERE o.optionID=po.optionID AND po.productID=164 AND o.optionDeleted IS NULL ORDER BY optionPrecendence ASC
0.03740.0002 [4] 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.03750.0001 [nil] 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='164' 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.03870.0012 [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=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.03890.0002 [1] Using template: /templates/content/profile/location_address.html
0.03910.0002 [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=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.03930.0002 [1] Using template: /templates/content/profile/footer_logos.html
0.03970.0004 [1] SELECT groupID FROM perch3_navigation WHERE groupSlug='footer' LIMIT 1
0.03980.0002 [2] SELECT np.pageID, np.pageParentID, p.pagePath, p.pageTitle, p.pageNavText, p.pageNew, p.pageOrder, np.pageDepth, p.pageSortPath, np.pageTreePosition, p.pageAccessTags, p.pageAttributes FROM perch3_navigation_pages np, perch3_pages p WHERE p.pageID=np.pageID AND np.groupID=5 AND p.pageNew=0 ORDER BY np.pageTreePosition ASC
0.040.0001 [0] SELECT np.pageTreePosition FROM perch3_pages p, perch3_navigation_pages np WHERE np.pageID=p.pageID AND np.groupID=5 AND p.pagePath='/shop' LIMIT 1
0.04010.0001 [2] Using template: /templates/navigation/footer-list.html
0.04060.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=156 AND idx.itemRev=4)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
0.04070.0002 [1] Using template: /templates/content/profile/footer_contact.html
0.04110.0004Request time: 0.0411
0.04110Process time: 0.0405
0.04110Memory: 1.3955