RE: What in the world is CF8 trying to say?
Well...with CF8 also supports C++ CFX tagsso shouldn't be a problem. I believe, as far as, C++ datatypes are properly typecastd by CF, there shouldn't be any problem using them. I would suggest you to refer the documentation for CF8, as it will have History of changes done and may explain you how it should be used. But since you are directly jumping from the CF4.5 to CF8, there might have been some change around this. Thanks Regards, Jayesh Viradiya Adobe CF Team -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Saturday, October 13, 2007 11:03 PM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? Thanks for the feedback, Jayesh. It's must be Image.Link# since that's a variable used by the CFX_Tag. Would the fact that the CFX_tag, CFX_JPG, is a C++ tag cause any problems? Rick -Original Message- From: Jayesh Viradiya [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 12:36 AM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? This kind of errors are usually seen when there is a specific type of datatype used for a wrong reason or purpose. Although I can not run your code on my machine, I would like to give some pointers which may help you. Error message says that a datatype which is QueryColumn type is being used as a structure datatype which is wrong. Any of the below three variables are not returning the expected kind of data #GAP# - #Get_Announcements.Image# - #Image.Link# Thanks Regards, Jayesh Viradiya Adobe CF Team -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 ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
Thanks for the feedback, Jayesh. It's must be Image.Link# since that's a variable used by the CFX_Tag. Would the fact that the CFX_tag, CFX_JPG, is a C++ tag cause any problems? Rick -Original Message- From: Jayesh Viradiya [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 12:36 AM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? This kind of errors are usually seen when there is a specific type of datatype used for a wrong reason or purpose. Although I can not run your code on my machine, I would like to give some pointers which may help you. Error message says that a datatype which is QueryColumn type is being used as a structure datatype which is wrong. Any of the below three variables are not returning the expected kind of data #GAP# - #Get_Announcements.Image# - #Image.Link# Thanks Regards, Jayesh Viradiya Adobe CF Team -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 ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291024 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
That kind of error normally occurs when you try to access a variable as a type that it isn't Like cfset testVar = {} / cfoutput#testVar['one']['two'] Regards Dale Fraser http://learncf.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, 14 October 2007 4:03 PM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? Thanks for the feedback, Jayesh. It's must be Image.Link# since that's a variable used by the CFX_Tag. Would the fact that the CFX_tag, CFX_JPG, is a C++ tag cause any problems? Rick -Original Message- From: Jayesh Viradiya [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 12:36 AM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? This kind of errors are usually seen when there is a specific type of datatype used for a wrong reason or purpose. Although I can not run your code on my machine, I would like to give some pointers which may help you. Error message says that a datatype which is QueryColumn type is being used as a structure datatype which is wrong. Any of the below three variables are not returning the expected kind of data #GAP# - #Get_Announcements.Image# - #Image.Link# Thanks Regards, Jayesh Viradiya Adobe CF Team -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 ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291027 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
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 ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291030 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: What in the world is CF8 trying to say?
I think the problem is with #Image.Link#. I suppose that Image is a structure returned by CFX_JPG? But if you are inside a CFOUTPUT loop on query Get_Announcements., then Image is also a column in the query, and CF tries to get to the element .Link inside Image, which does not work. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291034 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: What in the world is CF8 trying to say?
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=finderproductID=1522loc=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
Re: What in the world is CF8 trying to say?
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 ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291042 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What in the world is CF8 trying to say?
I didn't purchase CF 8... I purchased a VPS for $70 per month that has beefy hardware and CF 8 installed... a good deal. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 1:22 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? 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 ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291044 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What in the world is CF8 trying to say?
Where? VPS with CF8?? Might need to really look more into a new host for VPS -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 4:35 PM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? I didn't purchase CF 8... I purchased a VPS for $70 per month that has beefy hardware and CF 8 installed... a good deal. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 1:22 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? 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 ~| 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=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291046 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
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 ~| 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=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291047 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
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
Re: What in the world is CF8 trying to say?
Only a good deal if what you plan to run on it, will in fact run without issues on it or can easily be modified to run on it without issues. On 10/14/07, Rick Faircloth [EMAIL PROTECTED] wrote: I didn't purchase CF 8... I purchased a VPS for $70 per month that has beefy hardware and CF 8 installed... a good deal. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 1:22 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? 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 ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291051 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
AHPhosting.net... found their ad right on the houseoffusion website. I highly recommend it. I've been running my own server since CF 4.5 and this gives me complete control over the OS, installing/deleting software, settings, database, and CF 8 admin. It's cheaper that what I pay now just for my connection to the Internet. Rick -Original Message- From: ColdFusion [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 5:07 PM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? Where? VPS with CF8?? Might need to really look more into a new host for VPS -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 4:35 PM To: CF-Talk Subject: RE: What in the world is CF8 trying to say? I didn't purchase CF 8... I purchased a VPS for $70 per month that has beefy hardware and CF 8 installed... a good deal. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 1:22 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? 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 ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
Most of the sites I'm running on my server now are due for an update. So I'll be bringing them along slowly and hopefully rebuilding them as I migrate them anyway. I hope there won't be too many issues. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 6:59 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? Only a good deal if what you plan to run on it, will in fact run without issues on it or can easily be modified to run on it without issues. On 10/14/07, Rick Faircloth [EMAIL PROTECTED] wrote: I didn't purchase CF 8... I purchased a VPS for $70 per month that has beefy hardware and CF 8 installed... a good deal. Rick -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Sunday, October 14, 2007 1:22 PM To: CF-Talk Subject: Re: What in the world is CF8 trying to say? 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 ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291063 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What in the world is CF8 trying to say?
Could this be because CFX_JPG is a C++ tag? As soon as I changed the code to just a regular img tag, the error message disappeared... Rick 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=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291022 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What in the world is CF8 trying to say?
This kind of errors are usually seen when there is a specific type of datatype used for a wrong reason or purpose. Although I can not run your code on my machine, I would like to give some pointers which may help you. Error message says that a datatype which is QueryColumn type is being used as a structure datatype which is wrong. Any of the below three variables are not returning the expected kind of data #GAP# - #Get_Announcements.Image# - #Image.Link# Thanks Regards, Jayesh Viradiya Adobe CF Team -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=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291021 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4