just spotted it. Sorry. Thank you for the help. On Fri, Mar 12, 2010 at 12:48 PM, Matthew Smith <chedders...@gmail.com>wrote:
> Here's the cfc: > <cfcomponent> > <cffunction name="linkgenerator" access="public" returntype="string"> > <cfargument name="productid" type="numeric" required="yes"> > <cfargument name="callkey" type="numeric" required="yes"> > <cfargument name="hardlinkstring" type="string" required="yes"> > <cfargument name="quantity" type="numeric" required="yes"> > <cfargument name="hardlinkquantity" type="numeric" required="yes"> > <cfargument name="self" type="string" required="yes"> > <cfif len(arguments.hardlinkstring) eq 0 or remote_addr contains > "192.168.1" or arguments.hardlinkquanity neq arguments.quantity> > <cfset XFA.viewItemDetail = "thegallery.itemDetail"> > <cfset itemlink = > "#arguments.self#/fuseaction/#XFA.viewItemDetail#/productID/#arguments.productID#/callKey/#arguments.callkey#/index.cfm"> > <cfelse> > <!--- <cfif remote_addr contains "192.168.1"> > <cfset itemlink = > "http://redhotkittiesdotcom#arguments.hardlinkstring#<http://redhotkittiesdotcom#arguments.hardlinkstring%23> > "> > <cfelse> ---> > <cfset itemlink = > "http://www.RedHotKitties.com#arguments.hardlinkstring#<http://www.RedHotKitties.com#arguments.hardlinkstring%23> > "> > <!--- </cfif> ---> > </cfif> > <cfreturn itemlink> > </cffunction> > </cfcomponent> > > > It's working locally. I've uploaded to the live server and it is broken > there. It's like the reference is cached. > > On Fri, Mar 12, 2010 at 12:40 PM, Dave Watts <dwa...@figleaf.com> wrote: > >> >> > I've checked the spelling, cut and paste the reference. Not sure what >> is >> > going on... Works locally but uploading to the live server it is >> broken. >> > Is there some sort of cache for cfcs? >> > >> > Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty >> string] >> > 0 [empty string] [empty string] >> >> You didn't post the CFC, so we can't see for sure. But are you sure >> you checked the spelling? It's "HARDLINKQUANITY", not >> "HARDLINKQUANTITY"? >> >> Dave Watts, CTO, Fig Leaf Software >> http://www.figleaf.com/ >> http://training.figleaf.com/ >> >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on >> GSA Schedule, and provides the highest caliber vendor-authorized >> instruction at our training centers, online, or onsi >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm