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
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291041
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to