ImageCR 3 RULES!!!!!!!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 2:09 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? I would like to let people know CFX_JPG is an old, retired product. The problem is a namespace collision on the variable name "image". The problem was dealt with on the release of ImageCR 3 some years ago. -- Magnus > Just reread this, figured I'd clarify, I do not think scoping Image in this > instance would fix it but certainly could try it. Was not aware of Image > being used for something specific in 8, but guess perhaps scoping it might > avoid a conflict with something else in the code on the page and not seen in > the snippet. Probably the tag itself not liking the newer version of CF, > honestly if I relied so heavily on a custom tag then I'd done some heavy > testing with it prior to spending the money to upgrade versions. > > On 10/14/07, Aaron Rouse <[EMAIL PROTECTED]> wrote: > > > > A way around things like this without renaming things is to just scope > > it. We ran into a similar problem going to I think it was CF6 when part of > > some applications did #URL# and all we had to do was go in there and put > > queryName.URL and was fixed. Of course one could argue that the names of > > things should not be so generic which could hopefully prevent the > > possibility of referencing a variable name that later turns into a reserved > > word or is used for something else. > > > > Now in this particular case I am guessing Image is something returned by > > the CFX_JPG tag and that tag is putting it into the local variables scope, > > so could try referencing it as #Variables.Image.Link# and if that works then > > a mass find replace on #Image. with #Variables.Image. would probably fix all > > instances in the application(s). > > > > On 10/14/07, Terry <[EMAIL PROTECTED]> wrote: > > > > > > I had an issue similar to that when going from cf5 to cf7. Try changing > > > your > > > #link# to #linkx# as in my case with #url# it wouldn't allow it. > > > > > > Worth a try. > > > > > > -----Original Message----- > > > From: Rick Faircloth [mailto: [EMAIL PROTECTED] > > > Sent: Saturday, October 13, 2007 8:05 PM > > > To: CF-Talk > > > Subject: What in the world is CF8 trying to say? > > > > > > "Error Occurred While Processing Request" > > > > > > "You have attempted to dereference a scalar variable > > > of type class coldfusion.sql.QueryColumn as a > > > structure with members." > > > > > > Huh???? > > > > > > The code I was processing that threw the error is: > > > > > > 34 : <div id="annPhoto"> > > > 35 : <CFX_JPG Source="#GAP##Get_Announcements.Image#"> > > > 36 : <Img Src="/_cache/#Image.Link#" width="100" border="1"> > > > 37 : </div> > > > > > > I get this sinking feeling that it's because I'm trying to use the > > > CFX_JPG > > > tag from > > > Efflare that I've been using with CF 4.5 for many years. > > > > > > Someone please tell CFX_JPG is compatible with CF8! > > > > > > I've used that tag on almost all of my site and I don't want to have to > > > rewrite all that code! > > > > > > Rick > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291050 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

