home ScalesGalore - Where you'll find the ideal scale for every weighing need
The site is currently unavailable please try again or email sales@scalesgalore.com


Debugging Information
ColdFusion Server Enterprise 10,0,19,298511
Template /product/index.cfm
Time Stamp 24-May-16 05:29 PM
Locale English (US)
User Agent CCBot/2.0 (http://commoncrawl.org/faq/)
Remote IP 10.189.254.6
Host Name 10.189.254.6


Execution Time

Total Time Avg Time Count Template
296 ms 296 ms 1 E:/inetpub/Websites/scalesgalore.com/product/index.cfm
265 ms 265 ms 1 CFC[ E:/inetpub/Websites/global/CFC/cfc_error.cfc | put_error(CFCATCH = [complex value], SITE = scalesgalore.com, CGI = [complex value], PAGE = index product, FORM = [complex value], IP = 54.196.96.128) ] from E:/inetpub/Websites/global/CFC/cfc_error.cfc
31 ms 31 ms 1 E:/inetpub/Websites/global/qry/qry_product.cfm
0 ms 0 ms 1 E:/inetpub/Websites/global/includes/ACT_BLOCK.cfm
0 ms 0 ms 1 E:/inetpub/Websites/scalesgalore.com/includes/inc_site_settings.cfm
0 ms 0 ms 1 E:/inetpub/Websites/scalesgalore.com/includes/top.cfm
0 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
296 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


Exceptions

17:29:12.012 - Template Exception - in E:/inetpub/Websites/scalesgalore.com/product/index.cfm : line 26
	    Context validation error for the cfif tag.
	    


SQL Queries

Product (Datasource=store2008, Time=0ms, Records=1) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
	
	SELECT     product.product_id, product.product_name,product.is_active, product.date_created,product.old_id,product.cloud_map , man.man_id, man.man_name, man.MAN_TITLE ,man.auth_dealer,Product_detail.weight, Product_detail.dim_weight, 
                      Product_detail.X, Product_detail.Y, Product_detail.Z, Product_detail.MAP, Product_detail.use_map, Product_detail.qty_in_stock, Product_detail.eta, 
                      Product_detail.days_till_ship, product_detail.ARcust_code ,Product_detail.UPC, Product_detail.SKU, Product_detail.use_ALOC ,Product_detail.Has_image, Product_detail.Product_note, Product_detail.sale_price,Product_detail.Offer_Tradein,
					  Product_detail.Pre_Sale_QTY,Product_detail.POP_Discount,Product_detail.List_Price,Product_detail.man_Warranty,
					
					  (SELECT ONHAND FROM arinv99 where ITEM = left(product_detail.ARcust_code,15) limit 1) as ONHAND,
					  (select product_name from product p where product_id=Product_detail.Free_product) as Free_product_name,
					  (select product_kit_name from product p where product_id=Product_detail.Free_product) as Free_kit_name,
					  Product_detail.Free_product as Free_product_id,
                      Product_detail.Demo_URL, Product_detail.PDF_URL, Product_detail.Product_note_start, Product_detail.Product_note_end, Product_detail.fk_Warranty_id,
                      Product_detail.show_Ship_USA_only, Product_detail.ship_ground_only,Product_detail.show_please_call, Product_detail.Block_cart ,stock_type.stock_type_id, stock_type.stock_type_name, 
                      stock_type.stock_type_color, stock_type.stock_type_name_internal, product_condition.product_condition_id, 
                      product_condition.product_condition_name, Product_rebate.Product_rebate_id, Product_rebate.rebate_url, Product_rebate.rebate_text, 
                      Product_rebate.rebate_amount, Product_rebate.from_date, Product_rebate.to_date, Product_description.features, Product_description.spec, 
					  Product_description.bulletpoint1,Product_description.bulletpoint2,Product_description.bulletpoint3,Product_description.bulletpoint4,Product_description.bulletpoint5,
                      Product_description.caption, Product_to_cat_sub.fk_Cat_sub_id, Product_detail.alt_item, Product_description.meta_title, 
                      Product_description.meta_Description, Product_description.meta_Keywords, Cat_sub.Cat_sub_id, Cat_sub.sub_name, Cat_Category.Cat_Category_id, 
                      Cat_Category.Category_name, Cat_department.Cat_department_id, Cat_department.Department_name,
                          (SELECT     shipping_type.shipmentDesc
                            FROM          product_shipping INNER JOIN
                                                   shipping_type ON product_shipping.fk_shipping_type = shipping_type.shipping_type_id
                            WHERE      (shipping_type.stateCode IS NOT NULL) AND (shipping_type.countryCode = 'US') AND 
                                                   (product_shipping.fk_product_id = product.product_id)
                            ORDER BY shipping_type.shipping_type_id DESC limit 1 ) AS shipping, product_store.Price, product_store.fk_store_id, 
                      '' as SG_URL ,
					  (SELECT fk_product_id
						FROM feature_value inner join product_to_feature on feature_value.feature_value_id = product_to_feature.fk_feature_value_id
						WHERE feature_value_id = 6 and fk_product_id=product.product_id LIMIT 1) as made_in_usa ,
							(SELECT HTML_page from man_store WHERE FK_MAN_ID=man.MAN_ID and fk_store_id =product_store.fk_store_id) AS HTML_page ,
							
							(SELECT ALOC FROM arinv99 where ITEM = left(product_detail.ARcust_code,15) limit 1) as ALOC
					
FROM
                      product INNER JOIN
                      Product_detail ON Product_detail.fk_product_id = product.product_id INNER JOIN
                      Product_description ON product.product_id = Product_description.fk_product_id INNER JOIN
                      product_condition ON Product_detail.fk_product_condition_id = product_condition.product_condition_id INNER JOIN
                      stock_type ON Product_detail.fk_stock_type_id = stock_type.stock_type_id inner join product_store
					  ON product_store.fk_product_id = product.product_id  LEFT OUTER JOIN
                      Cat_sub LEFT OUTER JOIN
                      Product_to_cat_sub ON Cat_sub.Cat_sub_id = Product_to_cat_sub.fk_Cat_sub_id LEFT OUTER JOIN
                      Cat_Category ON Cat_sub.fk_Cat_Category_id = Cat_Category.Cat_Category_id LEFT OUTER JOIN
                      Cat_department ON Cat_Category.fk_Cat_department_id = Cat_department.Cat_department_id ON 
                      product.product_id = Product_to_cat_sub.fk_product_id LEFT OUTER JOIN
                      Product_rebate ON product.product_id = Product_rebate.fk_product_id LEFT OUTER JOIN
                      man ON product.fk_man_id = man.man_id 
					  
		WHERE     (product_store.fk_store_id = 18) AND 
					product.product_id = 16891 
					AND product.FK_MAN_ID <>224 
					AND product.FK_MAN_ID <> 85
					AND product.FK_MAN_ID <> 262
					
					and Product_detail.Block_cart <> 3
					 and  product_detail.fk_stock_type_id not in (12)
	
	 
	 
group_mini (Datasource=store2008, Time=0ms, Records=1) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
	SELECT     fk_product_group_id
                            FROM          product_group_to_product_id AS product_group_to_product_id_1
                            WHERE      (fk_product_id = 16891)
	
group (Datasource=store2008, Time=0ms, Records=5) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
SELECT     Product_group.Product_group_id, Product_group.Group_name,Product_detail.sku, Product_detail.Has_image, Product_detail.Block_cart,product.product_name, product.product_kit_name,product.Model_name, 
                      product.is_active, product.product_id, product_store.Price,man.man_name,stock_type.stock_type_id, stock_type.stock_type_name, 
                      stock_type.stock_type_color
FROM         product_group_to_product_id INNER JOIN
                      Product_group ON product_group_to_product_id.fk_product_group_id = Product_group.Product_group_id INNER JOIN
                      product ON product_group_to_product_id.fk_product_id = product.product_id INNER JOIN
                      Product_detail ON product.product_id = Product_detail.fk_product_id INNER JOIN
                      product_store ON Product_detail.fk_product_id = product_store.fk_product_id inner join
					  man ON product.fk_man_id = man.man_id INNER JOIN
                      stock_type ON Product_detail.fk_stock_type_id = stock_type.stock_type_id
WHERE (product.is_active = 1) AND
	   (product_store.is_active = 1) AND 
		product_store.fk_store_id=18 AND
	  	product_store.Price > 0 and 
		 Product_detail.Block_cart <> 3 and
		 Product_group.Product_group_id = 1614 and
		  Product_detail.Block_Search = 0 
		  
			 
		


ORDER BY stock_type.order_by,product_store.Price, product_group_to_product_id.order_by
acc (Datasource=store2008, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
SELECT     product_to_acc.fk_product_id, product.product_id  ,product.product_name, product.product_kit_name,product.old_id,product_store.Price, Product_description.caption
FROM         product_store INNER JOIN
                      product ON product_store.fk_product_id = product.product_id INNER JOIN
                      product_to_acc ON product.product_id = product_to_acc.fk_acc_id INNER JOIN
                      Product_description ON product.product_id = Product_description.fk_product_id INNER JOIN
                      Product_detail ON product.product_id = Product_detail.fk_product_id
WHERE     (product_to_acc.fk_product_id = 16891) AND 
		 (product_store.fk_store_id = 18) and (product.is_active = 1) and product_store.Price <> 0
		 and Product_detail.fk_stock_type_id in (1,2,6,7,8,10,11)
		 
ORDER BY product_to_acc.order_by
alt_image (Datasource=store2008, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
SELECT     product_alt_image_id, fk_product_id, image_header
FROM         product_alt_image
where is_active =1 and fk_product_id = 16891 
kit_component_s (Datasource=store2008, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
SELECT product_kit_component.fk_component_id ,product_kit_component.order_by ,product_kit_component.qty ,product.product_name , product_kit_name
FROM product_kit_component inner join product on
	product_kit_component.fk_component_id = product.product_id
Where fk_product_id = 16891 
acc (Datasource=store2008, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
SELECT     product_to_acc.fk_product_id, product.product_id  ,product.product_name,product.product_kit_name, product.old_id,product_store.Price, 
			Product_description.caption,Product_description.features
FROM         product_store INNER JOIN
                      product ON product_store.fk_product_id = product.product_id INNER JOIN
                      product_to_acc ON product.product_id = product_to_acc.fk_acc_id INNER JOIN
                      Product_description ON product.product_id = Product_description.fk_product_id
WHERE     (product_to_acc.fk_product_id = 16891) AND 
		 (product_store.fk_store_id = 18) and (product.is_active = 1) and product_store.Price <> 0
		 
ORDER BY product_to_acc.order_by
warranty (Datasource=store2008, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
		SELECT warranty_group.fk_product_id as PRODUCT_ID, product.product_name, product.old_id, product_store.Price, Product_description.caption
		
		FROM warranty_group inner join warranty on warranty.warranty_id = warranty_group.fk_Warranty_id inner join product
		 on product.product_id = warranty_group.fk_product_id inner join  product_store 
		on product_store.fk_product_id = product.product_id INNER JOIN
         Product_description ON product.product_id = Product_description.fk_product_id
		 
		 where warranty_group.fk_Warranty_id=0 and from_price <= 1295 and to_price >= 1295
		and (product_store.fk_store_id = 18) and (product.is_active = 1) and product_store.Price <> 0
		order by warranty_group.from_price, product.product_name
		
product_review (Datasource=store2008, Time=15ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
		select * , AVG(RATING) as rating_sum
		from product_review 
		where fk_product_id = 16891 and APROVED = 1
		group by the_date
		order by the_date desc
		
product_list_gr (Datasource=store, Time=0ms, Records=5) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
	select product_group_to_product_id_2.fk_product_id 
from product_group_to_product_id inner join product_group_to_product_id product_group_to_product_id_2 on
    product_group_to_product_id.fk_product_group_id = product_group_to_product_id_2.fk_product_group_id
WHERE product_group_to_product_id.fk_product_id = 16891 
product_list_all (Datasource=store, Time=16ms, Records=5) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
	select product_group_to_product_id_2.fk_product_id 
from product_group_to_product_id inner join product_group_to_product_id product_group_to_product_id_2 on
    product_group_to_product_id.fk_product_group_id = product_group_to_product_id_2.fk_product_group_id
WHERE product_group_to_product_id.fk_product_id = 16891
	union
	
	
	SELECT fk_component_id as fk_product_id FROM product_kit_component where fk_product_id in(16887,16888,16889,16890,16891)
	union
	SELECT fk_product_id FROM product_kit_component where fk_component_id in(16887,16888,16889,16890,16891)
	
product_faq (Datasource=store, Time=0ms, Records=0) in E:\inetpub\Websites\global\qry\qry_product.cfm @ 17:29:12.012
		SELECT ticket_id, thedate_time, type
		FROM ticket
		Where fk_product_id in(16887,16888,16889,16890,16891) AND APROVED = 1 and type <> 'News'
		order by type,ticket_id	
		limit 1
		
error_count (Datasource=store, Time=16ms, Records=1) in E:\inetpub\Websites\global\CFC\cfc_error.cfc @ 17:29:12.012
select count(error_log_id) as error_log_count 
from error_log
where IP = '54.196.96.128'


Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=E:\inetpub\Websites\scalesgalore.com\product\index.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=off
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING=x-gzip, gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=
HTTP_HOST=scalesgalore.com
HTTP_REFERER=
HTTP_URL=
HTTP_USER_AGENT=CCBot/2.0 (http://commoncrawl.org/faq/)
LOCAL_ADDR=www.scalesgalore.com
PATH_INFO=
PATH_TRANSLATED=E:\inetpub\Websites\scalesgalore.com\product\index.cfm
QUERY_STRING=product_id=16891
REMOTE_ADDR=10.189.254.6
REMOTE_HOST=10.189.254.6
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/product/index.cfm
SERVER_NAME=scalesgalore.com
SERVER_PORT=80
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.0
SERVER_SOFTWARE=Microsoft-IIS/8.0
WEB_SERVER_API=
Client Variables:
cfid=29770060
cftoken=6b072f17c7639c8c-EEB72946-C867-8F23-02EDF7835D7B1130
hitcount=1
lastvisit={ts '2016-05-24 17:29:12'}
remote_addr=54.196.96.128
timecreated={ts '2016-05-24 17:29:12'}
urltoken=CFID=29770060&CFTOKEN=6b072f17c7639c8c-EEB72946-C867-8F23-02EDF7835D7B1130&jsessionid=1BF52F08A12CE0C1073208E20160C42C.cfusion
Cookie Variables:
CFID=29770060
CFTOKEN=6b072f17c7639c8c-EEB72946-C867-8F23-02EDF7835D7B1130
Session Variables:
sessionid=1BF52F08A12CE0C1073208E20160C42C.cfusion
urltoken=CFID=29770060&CFTOKEN=6b072f17c7639c8c-EEB72946-C867-8F23-02EDF7835D7B1130&jsessionid=1BF52F08A12CE0C1073208E20160C42C.cfusion
URL Parameters:
product_id=16891
Debug Rendering Time: 31 ms