The first productKey value, on that line, has only a single # surrounding the val() function.
On Sat, Feb 23, 2013 at 9:24 PM, Matthew Smith <[email protected]>wrote: > > <cfloop query="qry_itemsIncart"> > <!--- If they have set the quantity to 0, delete from cart ---> > <cfif not val(evaluate("attributes.quantity" & qry_itemsIncart.productID))> > <cfinvoke > component="cfcs.qry" > method="qry_cartRemoveItem" > productKey="val(qry_itemsIncart.productID)#" > cfuserid="#cfid#_#cftoken#"> > <!--- Otherwise, update the qauntity of the item to the value from the > form---> > <cfelse> > <cfinvoke > component="cfcs.qry" > method="qry_cartSetCartQuantity" > productKey="#val(qry_itemsIncart.productID)#" > quantity="#val(evaluate("attributes.quantity" & > val(qry_itemsIncart.productID)))#" > cfUserID="#cfid#_#cftoken#"> > </cfif> > </cfloop> > > Invalid CFML construct found on line 13 at column 36. ColdFusion was > looking at the following text: > > cfcs.qry > > The CFML compiler was processing: > > - An expression that began on line 8, column 50. > The expression might be missing an ending #, for example, #expr instead > of #expr#. > - The tag attribute productKey, on line 7, column 25. > - A cfinvoke tag beginning on line 4, column 18. > - A cfinvoke tag beginning on line 4, column 18. > - A cfinvoke tag beginning on line 4, column 18. > > > I have looked this over several times and cannot for the life of me spot > what is off. > > Thank you. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:361538 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
