What do Charlie Arehart, Sean Corfield, Ray Camden, Ben Forta Ben Nadel have in common?
They have all contributed tutorials to http://learncf.com. Now if these names ring a bell, you probably realise just how busy these guys are, you probably also realise that they already contribute a lot to the community. However they still made the time and put in the effort to contribute. Contributing is actually very easy, LearnCF is a code based tutorial site, we don't show you how to configure the administrator, we show you snippets of code with that code running so that you can see the results instantly. And you know the code in these tutorials works as that's the code running. What you may not know is that you can contribute simply by emailing a link to a blog entry that you may have already posted, or email some code and some text through. We do any necessary edits, set it all up and send it back to you for approval. Now if you manage to contribute sometime in December, you will be in the prize draw. 1st Prize - ColdFusion 8 Standard Boxed 2nd Prize - ColdFusion 8 Documentation Set 3rd Prize - ColdFusion 8 Merchandise So send an email to [EMAIL PROTECTED] and contribute to the ColdFusion community. Regards Dale Fraser http://learncf.com http://learncf.com ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Zip Code Locator
Hi Dave, Thanks for the reply! Can you pass Ray's CFC a full U.S. address? -Jim ~| 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:294070 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse CFEclipse
On Saturday 01 Dec 2007, Rick Faircloth wrote: Can the various sections of the Eclipse interface be dragged onto a second screen apart from the main interface to make more room for viewing code? Right click the tab and choose 'detached'. -- Tom Chiverton Helping to assertively entrench market-driven networks on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294071 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse CFEclipse
Thanks for the info, Tom. Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. Your take on this? Thanks for your time and feedback. Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 6:44 AM To: CF-Talk Subject: Re: Eclipse CFEclipse On Saturday 01 Dec 2007, Rick Faircloth wrote: Can the various sections of the Eclipse interface be dragged onto a second screen apart from the main interface to make more room for viewing code? Right click the tab and choose 'detached'. -- Tom Chiverton Helping to assertively entrench market-driven networks on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:294072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Snake graphs, a longshot
This is a huge longshot, but does anyone recognise what software might have produced this graph (from the styling): http://dev-schoolprofile.teachernet.gov.uk/_i/graph_secondary.gif I'm assuming it wasn't cfchart?! We have to make an identical graph but with new data and it has to appear exactly as above. As usual with this project, the process for producing this graph is completely undocumented :( Thanks in advance, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:294073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Eclipse CFEclipse
I don't know about Tom, but IMHO, even an independent developer should use SVN, it's free and the benefits of it are too great not to use, even if you're working all by yourself. Russ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 9:22 AM To: CF-Talk Subject: RE: Eclipse CFEclipse Thanks for the info, Tom. Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. Your take on this? Thanks for your time and feedback. Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 6:44 AM To: CF-Talk Subject: Re: Eclipse CFEclipse On Saturday 01 Dec 2007, Rick Faircloth wrote: Can the various sections of the Eclipse interface be dragged onto a second screen apart from the main interface to make more room for viewing code? Right click the tab and choose 'detached'. -- Tom Chiverton Helping to assertively entrench market-driven networks on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294074 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse CFEclipse
On Monday 03 Dec 2007, Russ wrote: I don't know about Tom, but IMHO, even an independent developer should use SVN, it's free and the benefits of it are too great not to use, Oh, don't worry, I agree ! -- Tom Chiverton Helping to enormously generate killer systems on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:294076 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Which way is the correct way to write this code?
Hi,all. (CF8) I've been using this code successfully (at least I'm fairly certain I tested it initially.this was final testing), but now I'm getting an error: Error Occurred While Processing Request The C:\websites\bodaford-homes\images\buyers_guide\original\original3 image format is not supported on this operating system. Use GetReadableImageFormats() and GetWriteableImageFormats() to see which image formats are supported. The error occurred in C:\websites\bodaford_sm\cfm\buyers_guide_add_confirm.cfm: line 68 66 : 67 :cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 :destination=#wbg150##cffile.clientfilename#_w150.jpg overwrite=yes 69 :cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg I don't know why it's seemingly using original3 as the file sans extension. Do I need to put write the destination as: destination=#wbg150##cffile.clientfilename#_w150.jpg ??? I tried it this way: 66 : 67 :cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 :destination=#wbg150# name=#cffile.clientfilename#_w150.jpg overwrite=yes 69 : cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg But I got the same error. The image I'm uploading is a simple .jpg. Thanks, Rick ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294075 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Which way is the correct way to write this code?
On Monday 03 Dec 2007, Rick Faircloth wrote: cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# Should the #rbgo# really be there, if you are processing a file sent from a form ? -- Tom Chiverton Helping to proactively enhance best-of-breed interfaces on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:294077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Which way is the correct way to write this code?
Thank God, He looks after idiots... I didn't have the destination folder on my production server as I did on my development server. So, the problem was a missing destination folder. Hmmm... I wonder if I could write the code, so that if a folder is not present that is present as a destination, it is automatically created? ??? Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:41 AM To: CF-Talk Subject: Which way is the correct way to write this code? Hi,all. (CF8) I've been using this code successfully (at least I'm fairly certain I tested it initially.this was final testing), but now I'm getting an error: Error Occurred While Processing Request The C:\websites\bodaford-homes\images\buyers_guide\original\original3 image format is not supported on this operating system. Use GetReadableImageFormats() and GetWriteableImageFormats() to see which image formats are supported. The error occurred in C:\websites\bodaford_sm\cfm\buyers_guide_add_confirm.cfm: line 68 66 : 67 : cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 : destination=#wbg150##cffile.clientfilename#_w150.jpg overwrite=yes 69 : cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg I don't know why it's seemingly using original3 as the file sans extension. Do I need to put write the destination as: destination=#wbg150##cffile.clientfilename#_w150.jpg ??? I tried it this way: 66 : 67 : cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 : destination=#wbg150# name=#cffile.clientfilename#_w150.jpg overwrite=yes 69 :cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg But I got the same error. The image I'm uploading is a simple .jpg. Thanks, 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:294078 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Eclipse CFEclipse
Hi, Russ... But after reading the discussion on the list about trunk, tree, etc., and whatever else SVN involves, it seems like some serious complication that I could see being necessary in a multi-developer environment, but I didn't want to use a hammer to kill a mosquito... I actually installed VMWare Player, and picked up a Subversion Virtual Appliance from Young-Technologies.com and ran it. I installed TortoiseSVN, too. But I just couldn't make sense out of what was supposed to being going on, even after reading the guide. I just abandoned it as overkill. However, with HomeSite 5.5 acting a little strangely, I wouldn't mind getting in on Ecliple/CFEclipse. Rick -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:09 AM To: CF-Talk Subject: RE: Eclipse CFEclipse I don't know about Tom, but IMHO, even an independent developer should use SVN, it's free and the benefits of it are too great not to use, even if you're working all by yourself. Russ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 9:22 AM To: CF-Talk Subject: RE: Eclipse CFEclipse Thanks for the info, Tom. Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. Your take on this? Thanks for your time and feedback. Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 6:44 AM To: CF-Talk Subject: Re: Eclipse CFEclipse On Saturday 01 Dec 2007, Rick Faircloth wrote: Can the various sections of the Eclipse interface be dragged onto a second screen apart from the main interface to make more room for viewing code? Right click the tab and choose 'detached'. -- Tom Chiverton Helping to assertively entrench market-driven networks on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:294079 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Which way is the correct way to write this code?
Thank God, He looks after idiots... Heh, we're all idiotic at some point, right? [snip] Hmmm... I wonder if I could write the code, so that if a folder is not present that is present as a destination, it is automatically created? Yes, check out CFFILE and CFDIRECTORY Cheers, Kris ~| 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:294080 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Which way is the correct way to write this code?
Yes, in my convoluted way of handling file paths for all these years of CF 4.5 (variables in Application.cfm), the #rbgo# represents C:\websites\bodaford-homes\images\buyers-guide\original as the destination folder. The resize action that the code represents is one of a series of actions taken upon the original image uploaded from a form. Then it is resized to various sized needed, then each file renamed and put into a database. I'm sure you've seen my follow-up post that the problem I was having was an oversight on my part that I hadn't created an original folder on the production server. In other words, my production server didn't mirror my development server. :oP Thanks for your help! Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:51 AM To: CF-Talk Subject: Re: Which way is the correct way to write this code? On Monday 03 Dec 2007, Rick Faircloth wrote: cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# Should the #rbgo# really be there, if you are processing a file sent from a form ? -- Tom Chiverton Helping to proactively enhance best-of-breed interfaces on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294084 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse amp; CFEclipse
Rick, I may be missing something, but CFEclipse has nothing to do with SVN. CFEclipse is simply a CF IDE. SVN plugins for Eclipse are simply added functionality that many CF developers utilize. SVN is not required for using CFEclipse. I am a solo developer and shifted to CFEclipse about 3 years ago and now only rarely use Homesite + for occasional RDS connectivity to CF5. I have found CFEclipse to be a very productive IDE. Sometimes installing plugin can be a pain, but those issues can all be worked through. CFEclipse can be as easy or complicated as you want. Junior CF programmers can use it for basic CF coding, while more advance programmers may throw in some SVN, ANT and more. I would also highly recommend using SVN as a solo developer. Once again you can make it as easy or complicated as is needed for your situation. My first step for any project is to configure SVN. I wouldn't worry about learning how to setup and run a SVN server though. For 6 bucks/mth you can get a really nice hosted SVN solution... And then you get TRAC as well! Terry ~| 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:294083 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Which way is the correct way to write this code?
Rick Faircloth wrote: Hmmm... I wonder if I could write the code, so that if a folder is not present that is present as a destination, it is automatically created? ??? Rick Shouldn't be too hard with directoryExists() and cfdirectory... functionality. ~| 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:294082 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Snake graphs, a longshot
On Monday 03 Dec 2007, Dominic Watson wrote: with new data and it has to appear exactly as above. As usual with this *exactly* i.e to the pixel ? Or just close enough (in which case, how close is enough ?), in which case Flex's Charting should get you fairly close, if you can afford the licence. -- Tom Chiverton Helping to quickly network customized functionalities on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:294085 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Which way is the correct way to write this code?
Yes, check out CFFILE and CFDIRECTORY Also FileExists() and DirectoryExists() Dominic ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294086 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Which way is the correct way to write this code?
I send all my uploads to a /cache folder for processing.. I ALWAYS forget to make it on the prod server :-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:57 AM To: CF-Talk Subject: RE: Which way is the correct way to write this code? Thank God, He looks after idiots... I didn't have the destination folder on my production server as I did on my development server. So, the problem was a missing destination folder. Hmmm... I wonder if I could write the code, so that if a folder is not present that is present as a destination, it is automatically created? ??? Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:41 AM To: CF-Talk Subject: Which way is the correct way to write this code? Hi,all. (CF8) I've been using this code successfully (at least I'm fairly certain I tested it initially.this was final testing), but now I'm getting an error: Error Occurred While Processing Request The C:\websites\bodaford-homes\images\buyers_guide\original\original3 image format is not supported on this operating system. Use GetReadableImageFormats() and GetWriteableImageFormats() to see which image formats are supported. The error occurred in C:\websites\bodaford_sm\cfm\buyers_guide_add_confirm.cfm: line 68 66 : 67 : cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 : destination=#wbg150##cffile.clientfilename#_w150.jpg overwrite=yes 69 : cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg I don't know why it's seemingly using original3 as the file sans extension. Do I need to put write the destination as: destination=#wbg150##cffile.clientfilename#_w150.jpg ??? I tried it this way: 66 : 67 : cfimage action=resize height= width=150 source=#rbgo##cffile.serverfile# 68 : destination=#wbg150# name=#cffile.clientfilename#_w150.jpg overwrite=yes 69 :cfset form.section_photo_w150=#cffile.clientfilename#_w150.jpg But I got the same error. The image I'm uploading is a simple .jpg. Thanks, 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:294088 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse CFEclipse
On Dec 3, 2007 6:21 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. 1) why are you equating eclipse/cfe with checking code in and out? that in and of itself, has little to nothing to do with eclipse/cfe. eclipse is a platform, cfeclipse is a plugin. yes, there are other plugins for version control software (svn, perforce, surround), but whether or not you need to worry about checking code in or out is a completely different question than should I be using eclipse/cfeclipse. 2) there's a cfeclipse mailing list that you might want to subscribe to, even if to just lurk for a while and see what it's all about. see http://groups.google.com/group/cfeclipse-users 3) might also want to peruse the cfeclipse website (http://cfeclipse.org/) 4) since eclipse and cfeclipse are both free (as are a number of other quality plugins), there's really nothing to stop you from downloading it and trying it out on your own. -- Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter. - Dave Barry ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294081 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Passing URL in URL variables and CFLOCATION
Hi All, thanks for any help on this topic. I'm working on a project for a client where I need to build some simple tracking from and adwords click to a landing page and need to incorporate google tracking and affiliate links. I'm working with 3 pages/urls. 1. Landingpage.cfm 2. go.cfm 3. Final Affiliate Link - http://www.affiliatelink.com?id=1site=3product=4 A user clicks from AdWords and lands on Landingpage.cfm. When they click on a link on landingpage.cfm they go to go.cfm where I drop the google conversion pixel and then redirect to the final affiliate link. I'm passing the affiliate link as a url variable on landingpage.cfm and then using CFLOCATION to send the user to the affiliate link. http://www.site.us/folder1/go.cfm?link=http://aff.primaryads.com/t.asp?id=338e=13610depid=1976subid=cfoutput#url.kw#/cfoutput I can't get this method to work on all affiliates so I need another way. 2 QUESTIONS: 1. Is there a better way to redirect urls for this situation? 2. Is there a way to make the affiliate url in the url variable just a string and not a link? If someone could point me in the right direction I would appreciate it. Thanks, Steev ~| 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:294089 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
While we're talking about AJAX...
Okay, I got my other question taken care of, it ended up being a manual Javascript function. Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. Any ideas? Thanks! Hatton ~| 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:294090 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
jrun.xml
Could we consider this file as a configuration file for CF8 (my box OS is Windows XP)? And I would think the following would tell Jrun or the like NOT to use its internal web server, !-- This is the built-in JRun Web Server -- !-- == -- service class=jrun.servlet.http.WebService name=WebService attribute name=port8501/attribute attribute name=interface*/attribute attribute name=deactivatedtrue/attribute ... Then, move on to use an external web server part and I would think the following would tell Jrun to use an external web server at port 8000 !-- This service is for communicating with a native (IIS, Apache, Netscape) -- !-- web server. -- !-- To run this service in a secure mode via SSL, set the keyStore, -- !-- keyStorePassWord, trustStore and socketFactoryName attributes. -- !-- = -- service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService my comment: skip less critical attributes... attribute name=deactivatedfalse/attribute attribute name=interface*/attribute attribute name=port8000/attribute !-- set this to false for multi-hosted sites -- attribute name=cacheRealPathfalse/attribute btw, don't know if the above attribute has anything to do with a single host sites/apps. Now, here's part of the all important jdni.properties file with revision, (with revision because the default failed, error Could not connect to any JRun/ColdFusion servers on host localhost.) btw, localhost file does not exist on my box's {windows\drivers...} directory, # if you use a value between 2900-3000 # #java.naming.provider.url=localhost:2930 java.naming.provider.url=localhost:3033 Please let me know if the problem statement is clear. Thank you. ~| 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:294087 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jrun.xml
d l wrote: And I would think the following would tell Jrun or the like NOT to use its internal web server, !-- This is the built-in JRun Web Server -- !-- == -- service class=jrun.servlet.http.WebService name=WebService attribute name=port8501/attribute attribute name=interface*/attribute attribute name=deactivatedtrue/attribute Try it? Then, move on to use an external web server part and I would think the following would tell Jrun to use an external web server at port 8000 !-- This service is for communicating with a native (IIS, Apache, Netscape) -- !-- web server. -- !-- To run this service in a secure mode via SSL, set the keyStore, -- !-- keyStorePassWord, trustStore and socketFactoryName attributes. -- !-- = -- service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService my comment: skip less critical attributes... attribute name=deactivatedfalse/attribute attribute name=interface*/attribute attribute name=port8000/attribute This tells CF to listen on port 8000 for connections from the webserver plugin. It does not tell on which port the webserver will listen (because that is configured in the webserver itself). !-- set this to false for multi-hosted sites -- attribute name=cacheRealPathfalse/attribute btw, don't know if the above attribute has anything to do with a single host sites/apps. It should be false if you have multiple websites on the server. Now, here's part of the all important jdni.properties file with revision, (with revision because the default failed, error Could not connect to any JRun/ColdFusion servers on host localhost.) Did you disable the firewall and try again? btw, localhost file does not exist on my box's {windows\drivers...} directory, It should be in windows\system32\drivers\etc\hosts # if you use a value between 2900-3000 # #java.naming.provider.url=localhost:2930 java.naming.provider.url=localhost:3033 I'm not sure what you are getting at here. Jochem ~| 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:294091 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Eclipse amp; CFEclipse
Thanks for the clarification and info, Terry. The relationship between CFEclipse and SVN was just my misconception. I'll definitely check into a hosted SVN solution and TRAC. I've never heard of a hosted SVN solution before. Who do you use for $6 per month? Rick -Original Message- From: Terry Schmitt [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 11:27 AM To: CF-Talk Subject: Re: Eclipse amp; CFEclipse Rick, I may be missing something, but CFEclipse has nothing to do with SVN. CFEclipse is simply a CF IDE. SVN plugins for Eclipse are simply added functionality that many CF developers utilize. SVN is not required for using CFEclipse. I am a solo developer and shifted to CFEclipse about 3 years ago and now only rarely use Homesite + for occasional RDS connectivity to CF5. I have found CFEclipse to be a very productive IDE. Sometimes installing plugin can be a pain, but those issues can all be worked through. CFEclipse can be as easy or complicated as you want. Junior CF programmers can use it for basic CF coding, while more advance programmers may throw in some SVN, ANT and more. I would also highly recommend using SVN as a solo developer. Once again you can make it as easy or complicated as is needed for your situation. My first step for any project is to configure SVN. I wouldn't worry about learning how to setup and run a SVN server though. For 6 bucks/mth you can get a really nice hosted SVN solution... And then you get TRAC as well! Terry ~| 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:294093 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse CFEclipse
Thanks for the tip on the cfeclipse list, Charlie. I've already signed up. On the matter of SVN and checking code in and out, because I see so much discussion that involved both Eclipse/CFEclipse and SVN, I have been assuming they were part of the same package. Thanks for clearing that up. I've been on the Eclipse/CFEclipse site and done some reading, but it's amazing how misconceptions persist. As far as installing it, I'm asking my final preparation questions before making the leap. Yes, I can install and uninstall, but I hate doing that too much on my system. Parts are always left behind somewhere after uninstalling. And there's always the risk of a system becoming unstable/usable for whatever reason when anything is installed. Just trying to be cautious, trying to look before leaping... Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 11:31 AM To: CF-Talk Subject: Re: Eclipse CFEclipse On Dec 3, 2007 6:21 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. 1) why are you equating eclipse/cfe with checking code in and out? that in and of itself, has little to nothing to do with eclipse/cfe. eclipse is a platform, cfeclipse is a plugin. yes, there are other plugins for version control software (svn, perforce, surround), but whether or not you need to worry about checking code in or out is a completely different question than should I be using eclipse/cfeclipse. 2) there's a cfeclipse mailing list that you might want to subscribe to, even if to just lurk for a while and see what it's all about. see http://groups.google.com/group/cfeclipse-users 3) might also want to peruse the cfeclipse website (http://cfeclipse.org/) 4) since eclipse and cfeclipse are both free (as are a number of other quality plugins), there's really nothing to stop you from downloading it and trying it out on your own. -- Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter. - Dave Barry ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294092 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jrun.xml
Thanks, Jochem, and good to hear from you after these years ... more below... d l wrote: And I would think the following would tell Jrun or the like NOT to use its internal web server, !-- This is the built-in JRun Web Server -- !-- == -- service class=jrun.servlet.http.WebService name=WebService attribute name=port8501/attribute attribute name=interface*/attribute attribute name=deactivatedtrue/attribute Try it? Yes, not accessible as instructed. Then, move on to use an external web server part and I would think the following would tell Jrun to use an external web server at port 8000 service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService my comment: skip less critical attributes... attribute name=deactivatedfalse/attribute attribute name=interface*/attribute attribute name=port8000/attribute This tells CF to listen on port 8000 for connections from the webserver plugin. It does not tell on which port the webserver will listen (because that is configured in the webserver itself). Right, I was concerned about WHAT EXACTLY THIS PORT is ABOUT. So, this PORT is really for communiation between JRUN and cf8, then why NOT name it such like INTERNAL_PORT? I've now revised it to 8800. !-- set this to false for multi-hosted sites -- attribute name=cacheRealPathfalse/attribute btw, don't know if the above attribute has anything to do with a single host sites/apps. It should be false if you have multiple websites on the server. Now, here's part of the all important jdni.properties file with revision, (with revision because the default failed, error Could not connect to any JRun/ColdFusion servers on host localhost.) Did you disable the firewall and try again? YES. btw, localhost file does not exist on my box's {windows\drivers...} directory, It should be in windows\system32\drivers\etc\hosts Yeah, I know the location and the hosts file name. But does the text in the jndi.properties, # This is the JNDI listen port. Any port number is okay, but # the webserver connector installer will auto-discover the port # if you use a value between 2900-3000 mean the hosts file must contain the following line? localhost:2930 I added the above line to this file. After these these settings and all firewalls turning off, I still got the same error, The specified procedure could not be found. The following is from the jrun071201.log file when I first attempted to install cf8, jrISAPI[init] JRun Connector v2.3.153 for IIS - Aug 2 1999 20:07:54 jrISAPI[init] JRun ISAPI Filter v2.3.153 for IIS - Aug 2 1999 20:07:41 jrISAPI[filter] rules.properties not configured. Skipping request It seems to suggest: it's possible cf8 was trying to call an old running jrun... Also, netstat indicates that 6 instances of TCP jrun is listening at port 1012 # if you use a value between 2900-3000 # #java.naming.provider.url=localhost:2930 java.naming.provider.url=localhost:3033 I'm not sure what you are getting at here. Jochem ~| 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:294094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Can a QofQ be performed on result set of a cfhttp call?
I can't get past this. Any ideas? Gracias. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery ~| 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:294097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: jrun.xml
d l wrote: And I would think the following would tell Jrun or the like NOT to use its internal web server, !-- This is the built-in JRun Web Server -- !-- == -- service class=jrun.servlet.http.WebService name=WebService attribute name=port8501/attribute attribute name=interface*/attribute attribute name=deactivatedtrue/attribute Try it? Then, move on to use an external web server part and I would think the following would tell Jrun to use an external web server at port 8000 !-- This service is for communicating with a native (IIS, Apache, Netscape) -- !-- web server. -- !-- To run this service in a secure mode via SSL, set the keyStore, -- !-- keyStorePassWord, trustStore and socketFactoryName attributes. -- !-- === == -- service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService my comment: skip less critical attributes... attribute name=deactivatedfalse/attribute attribute name=interface*/attribute attribute name=port8000/attribute This tells CF to listen on port 8000 for connections from the webserver plugin. It does not tell on which port the webserver will listen (because that is configured in the webserver itself). !-- set this to false for multi-hosted sites -- attribute name=cacheRealPathfalse/attribute btw, don't know if the above attribute has anything to do with a single host sites/apps. It should be false if you have multiple websites on the server. Now, here's part of the all important jdni.properties file with revision, (with revision because the default failed, error Could not connect to any JRun/ColdFusion servers on host localhost.) Did you disable the firewall and try again? btw, localhost file does not exist on my box's {windows\drivers...} directory, It should be in windows\system32\drivers\etc\hosts # if you use a value between 2900-3000 # #java.naming.provider.url=localhost:2930 java.naming.provider.url=localhost:3033 I'm not sure what you are getting at here. Jochem Additional info. coldfuion-event.log file hast the following # Created by JRun on 12/01 16:19:23 12/01 16:19:23 error Exception creating connection to: 192.168.15.?; nested exception is: java.net.SocketException: Permission denied: connect [1]java.net.SocketException: Permission denied: connect ok, a more informative log from coldfusion-out.log Starting Macromedia JRun 4.0 (Build 108487), coldfusion server 12/01 16:19:20 warning Unable to open C:\ColdFusion8\runtime/lib/license.properties 12/01 16:19:22 info JRun Naming Service listening on *:2930 12/01 16:19:23 error Exception creating connection to: 192.168.15.?; nested exception is: java.net.SocketException: Permission denied: connect Please note I changed the actual ip from the log to 192.168.15.? -- this is cf8 standard/stand_alone? trial version for windows -- cf8/Adobe's self congrats log below 12/03 13:34:05 info No JDBC data sources have been configured for this server (see jrun-resources.xml) 12/03 13:34:05 info JRun Proxy Server listening on *:8800 12/03 13:34:05 info Deploying enterprise application Adobe_ColdFusion_8 from: file:/C:/ColdFusion8/ 12/03 13:34:05 info Deploying web application Adobe ColdFusion 8 from: file:/C:/ColdFusion8/ 12/03 13:34:08 INFO License Service: Flex 1.5 CF Edition enabled 12/03 13:34:08 INFO Starting Flex 1.5 CF Edition 12/03 13:34:08 user JSPServlet: init 12/03 13:34:09 user ColdFusionStartUpServlet: init 12/03 13:34:09 user ColdFusionStartUpServlet: ColdFusion: Starting application services 12/03 13:34:09 user ColdFusionStartUpServlet: ColdFusion: VM version = 1.6.0_01-b06 12/03 13:34:10 Information [main] - Starting logging... 12/03 13:34:10 Information [main] - Starting license... 12/03 13:34:12 Information [main] - Evaluation Edition enabled 12/03 13:34:13 Information [main] - Starting crypto... 12/03 13:34:13 Information [main] - Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512) 12/03 13:34:13 Information [main] - Starting security... 12/03 13:34:13 Information [main] - Starting scheduler... 12/03 13:34:13 Information [main] - Starting WatchService... 12/03 13:34:13 Information [main] - Starting debugging... 12/03 13:34:13 Information [main] - Starting sql... 12/03 13:34:13 Information [main] - Starting mail... 12/03 13:34:13 Information [main] - Starting
RE: While we're talking about AJAX...
Got a link? -Original Message- From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 11:54 AM To: CF-Talk Subject: While we're talking about AJAX... Okay, I got my other question taken care of, it ended up being a manual Javascript function. Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. Any ideas? Thanks! Hatton ~| 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:294100 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
nobody on Linux
CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? Any comments greatly appreciated. Richard Colman ~| 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:294096 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: nobody on Linux
Nope, not at all. I usually run CF and Apache as the same user (usually 'apache'), but it's kind of irrelevant what user you use, as long as it has the permissions it needs. cheers, barneyb On Dec 3, 2007 11:20 AM, Richard Colman [EMAIL PROTECTED] wrote: CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? Any comments greatly appreciated. Richard Colman ~| 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:294098 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can a QofQ be performed on result set of a cfhttp call?
What error do you get? Query of query can be used on _any_ query result in CF. On Dec 3, 2007 1:30 PM, Che Vilnonis [EMAIL PROTECTED] wrote: I can't get past this. Any ideas? Gracias. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery ~| 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:294101 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: While we're talking about AJAX...
This is a model of the form and is breaking in the same fashion - http://www.solarxeyewear.com/quick.cfm Something else that I've noticed - it takes IT a LOT longer to populate the dropdown. Thanks! Hatton On Dec 3, 2007 3:11 PM, Andy Matthews [EMAIL PROTECTED] wrote: Got a link? -Original Message- From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 11:54 AM To: CF-Talk Subject: While we're talking about AJAX... Okay, I got my other question taken care of, it ended up being a manual Javascript function. Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. Any ideas? Thanks! Hatton ~| 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:294103 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse CFEclipse
On Dec 3, 2007 10:14 AM, Rick Faircloth [EMAIL PROTECTED] wrote: As far as installing it, I'm asking my final preparation questions before making the leap. Yes, I can install and uninstall, but I hate doing that too much on my system. Parts are always left behind somewhere after uninstalling. And there's always the risk of a system becoming unstable/usable for whatever reason when anything is installed. Yet another advantage of Eclipse. it doesn't get installed the way you're thinking. You extract the install file to a directory, and that's it. You can install it to a folder on your desktop, and run it from there. Then, copy the folder to another location (c:\program files\eclipse, for example) and run it from there. You can pop it on a flash drive and run it from there. to delete it, just delete the folder. no messy remnants left behind. This is a very nice feature when new versions are released. I've had Eclipse 3.2 and Eclipse 3.3 running side by side for some time now. They're just executables running from different locations. It's all very nice and neat :) -- Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter. - Dave Barry ~| 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:294099 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: nobody on Linux
Was CF8 installed as root? I would say it wasn't, if you are having access problems. And seeing as you haven't mentioned it, what sort of access problems are you having? On 12/4/07, Richard Colman [EMAIL PROTECTED] wrote: CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? Any comments greatly appreciated. Richard Colman ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294105 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Zip Code Locator
If i remember correctly yes you can Hi Dave, Thanks for the reply! Can you pass Ray's CFC a full U.S. address? -Jim ~| 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:294104 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Problem with Coldfusion 8 running on Oracle 10G AS
Not sure if this is the right place to post this - if anyone can suggest somewhere better, please let me know: I've deployed an EAR on an OC4J instance (called CFSF) and I am trying to access the administrator through IIS. I've added the OPII.dll to the web server and it seems to be redirecting to my CF Instance correctly and is displaying the CF 8 Login screen for the administrator. The problem is that after I enter a valid username and password, it just redisplays the login screen - If I enter an invalid user name, it tells me that the user name is invalid (so it appears to be validating). I can login to the same application using the Apache http server that comes with Oracle and everything works fine (I can login to the administrator, change settings etc) but if I connect using IIS I can't get past the login screen. I'm pretty clueless with the Oracle AS (or any j2ee server for that matter) but does anyone have any idea why this might be happening? The fact that the Apache server allows me to log on makes me think that CF is fine but there must be some sort of permissions issue when I come into the application through IIS. Windows Server 2003 IIS 6 Oracle AS 10g 10.1.2 Any hints or suggestions on where to look next are appreciated, Thanks - Kirk ~| 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:294106 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: nobody on Linux
We installed an outside NAS under NFS, so the Linux server could access files there. Apache can get to the new NFS section under /mnt, but CF8 cannot ... because it was installed as nobody and nobody does not have permission to access the /mnt files. I am concerned that letting nobody get to the /mnt file would be a security risk? I am also concerned that, if I change the account that CF8 runs under (from nobody to some new user account) that something will break under CF8. Fear and loathing ... Rick. -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 1:26 PM To: CF-Talk Subject: Re: nobody on Linux Was CF8 installed as root? I would say it wasn't, if you are having access problems. And seeing as you haven't mentioned it, what sort of access problems are you having? On 12/4/07, Richard Colman [EMAIL PROTECTED] wrote: CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? Any comments greatly appreciated. Richard Colman ~| 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:294113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: While we're talking about AJAX...
Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. Well, after some searching I came across this post: http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2007/11/5/CF8-AJAX-Features-CFInput-TypeDateField--CFDiv---Internet-Explorer--Glitch which is demonstrating something extremely similar to the problem I'm having. Silly question now but where can I check on the status of the bug he reported? Thanks! Hatton ~| 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:294102 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Remote Admin of CF server
We are in the process of writing an administrator tool for a flex application. The over all idea behind this application is a one stop shop to manage the data for each instance. At this point, we have everything planned out save a few minor details. One issue that I am researching right now is how we are going to deal with the different cf server installs on our webservers. Right now I have a testing cluster setup with a test admin server, 2 cf servers, and 2 database servers. So basically, what I am in the process of doing is. Creating a web application that will allow me to add datasources to the two webservers. This application would reside on our admin server. Anyone have any idea if this is even possible? ~| 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:294119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Can a QofQ be performed on result set of a cfhttp call?
Subject: Can a QofQ be performed on result set of a cfhttp call? Yes, if the CFHTTP call returns a query object (as yours does below). I can't get past this. Any ideas? Gracias. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery Your aggregation isn't written correctly. If you SELECT columns along with an aggregate function, you must GROUP BY those columns. SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY domain, search ORDER BY ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:294116 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Can a QofQ be performed on result set of a cfhttp call?
I think you problem is this: GROUP BY COUNT(search) I don't think you can group on an aggregate. You have to group on a field and then SELECT or ORDER BY aggregates of that field: SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY domain, search ORDER BY COUNT(search) DESC .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:31 PM To: CF-Talk Subject: Can a QofQ be performed on result set of a cfhttp call? I can't get past this. Any ideas? Gracias. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery ~| 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:294110 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: jrun.xml
service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService my comment: skip less critical attributes... attribute name=deactivatedfalse/attribute attribute name=interface*/attribute attribute name=port8000/attribute This tells CF to listen on port 8000 for connections from the webserver plugin. It does not tell on which port the webserver will listen (because that is configured in the webserver itself). Right, I was concerned about WHAT EXACTLY THIS PORT is ABOUT. So, this PORT is really for communiation between JRUN and cf8, then why NOT name it such like INTERNAL_PORT? I've now revised it to 8800. It's a port for the JrunProxyService. It's obviously not a port you'd connect to from a public client. Yeah, I know the location and the hosts file name. But does the text in the jndi.properties, # This is the JNDI listen port. Any port number is okay, but # the webserver connector installer will auto-discover the port # if you use a value between 2900-3000 mean the hosts file must contain the following line? localhost:2930 I added the above line to this file. The hosts file is only used for resolving names to IP addresses, just like DNS servers do. It doesn't have anything to do with ports. So, don't add ports to your hosts file. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:294115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
finding a substring in string, target attribute of an anchor tag
I have a variable containing a string in which might appear any number of links to to kbb.com: a href=http://www.kbb.com/kb/ki.dll/kw.kc.uy?dlr3 http://www.kbb.com/kb/ki.dll/kw.kc.uy?dlr3amp;;tamp;21amp;amp amp;;tamp;21amp;amp; target=mainsome text/a I need to programmatically find each anchor tag with said link, then force it's target attribute to be target=_blank. I originally thought I could do it with regex but I don't think that's going to work. I was thinking that I could get the kbb.com's starting position, then find the next instance of target, then work from there. Might you chaps have a better/more efficient means to do this? Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| 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:294112 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: nobody on Linux
Don't worry. As long as you recursively chown the CF application files /opt/coldfusionwhatever/ to the new user it should run fine. We had the same problem where we ran CF as nobody, but then didn't want to give nobody rights to our mount drives for obvious reasons. Just test in on your test server. You have one, right? :) ~Brad -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 4:32 PM To: CF-Talk Subject: RE: nobody on Linux We installed an outside NAS under NFS, so the Linux server could access files there. Apache can get to the new NFS section under /mnt, but CF8 cannot ... because it was installed as nobody and nobody does not have permission to access the /mnt files. I am concerned that letting nobody get to the /mnt file would be a security risk? I am also concerned that, if I change the account that CF8 runs under (from nobody to some new user account) that something will break under CF8. Fear and loathing ... 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:294118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument: 3x2 document but only uses 3/4 of it
Hi Rupesh, Do you have any updates on this problem? I am kind of waiting for any suggestions/solutions. Thanks. ~| 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:294108 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf_2selectsrelated
I apologize for posting such a junior level question especially since I have been at this for 6 years. I havent used 2selectsrelated in a number of years but it never gave me a problem. Now I need to use it and cannot get it to work. Whats worse is I made my query relect the exact example in the help file. Is my issue in the query with grouping? The second dropdown will not populate. My query and codse are below. cfquery name=qCats datasource=#application.dsn# SELECT c.CategoryID AS MCode, c.CategoryName AS Master_Cat, s.SubCategoryID AS Code, s.SubCategoryName AS Cat FROMCategories c INNER JOIN SubCategories s ON c.CategoryID = s.FK_CategoryID GROUP BY c.CategoryName, s.SubCategoryName, c.CategoryID, s.SubCategoryID ORDER BY c.CategoryName ASC /cfquery CF_TwoSelectsRelated QUERY=qCats NAME1=Cat NAME2=Selected DISPLAY1=Master_Cat DISPLAY2=Cat VALUE1=MCode VALUE2=Code FORCEWIDTH1=52 FORCEWIDTH2=52 HTMLBETWEEN=BR EMPTYTEXT1=(choose a category) EMPTYTEXT2=(now choose a subcategory) ~| 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:294114 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can a QofQ be performed on result set of a cfhttp call?
Not sure, but I don't think you can do a GROUP BY on a Q of Q. The SQL functionality on QoQ is severely limited. To see if your Q of Q actually works, take out the GROUP BY and Count(), and see if it works. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery ~| 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:294107 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Remote Admin of CF server
You'll need to make calls the default JRun webserver. This is my one beef with running clustered instances, these settings won't propagate. The default webserver has its root located so that CFIDE, WEB-INF, and cfdocs are accessible. You can place any code you like here and execute it. If you're unsure of the port, the config file is found in {jrunroot}/servers/{instance}/server-inf/jrun.xml. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: While we're talking about AJAX...
Probably a known IE CSS bug. If you are running IE6, and the form element which is obscuring your auto-suggest is a drop-down, there isn't a solution that I know of. Take a look at PIE: www.positioniseverything.net. They have a whole section on IE CSS bugs. This bug is resolved in IE7. Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. ~| 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:294111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: nobody on Linux
Nope. No problems with this kind of setup at all. I would surmise that the main reason that the nobody account is used by default is because it is present on most Linux servers by default. There should be no problems at all with creating a user specifically for CF and using it for CF8. Hope this helps! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Richard Colman wrote: CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? Any comments greatly appreciated. Richard Colman ~| 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:294109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOLVED: Query help...
I got it fixed. Thanks, Will ~| 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:294126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: nobody on Linux
CF8 is currently running on the nobody account on our Linux server. This is causing problems with access permissions. Can you be more specific about the problems? Are there are potential issues with creating another account (like coldfusion etc.) and running CF8 under this new account, instead of as the default nobody account? You can certainly do this, if you prefer. Some Unix admins prefer that you not do this, because they want to use a security context that has no shell, but I don't know whether that's even an issue on Linux, only Solaris. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294117 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Query help...
Hey, I have 3 tables - one to many rel. tblreports reportid PK lotsmorefieldsforfiltering tblquestioncomments questioncommentid PK reportid FK questionid FK tblquestions questionidPK Originally I just needed a question count based off a specific question ID. As my loop's output generated question ID's, I ran a query like this to get a count. SELECT COUNT(questionid) as numcomments FROM tblquestioncomments WHERE questionid = cfqueryparam cfsqltype=cf_sql_integer value=#questionid# Now I need to add some filters to it that filter off of tblreports criteria. I've got this but it doesn't work: SELECT tblreports.reportid, COUNT(*) as numcomments, tblquestioncomments.questionid FROM tblreports, tblquestioncomments WHERE tblreports.reportid = tblquestioncomments.reportid AND questionid = cfqueryparam cfsqltype=cf_sql_integer value=#questionid# !--- Filters goe here --- cfif FORM.tier7 NEQ All AND tblreports.orgtier7id = '#FORM.tier7#' /cfif cfif FORM.tier6 NEQ All AND tblreports.orgtier6id = '#FORM.tier6#' /cfif GROUP BY tblquestioncomments.questionid, tblreports.reportid How can I make this query give me a count of comments using the criteria provided? Thanks, Will ~| 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:294122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Eclipse CFEclipse
Rick, It sounds complicated because you're making it complicated. If you're a solo developer, you can get started by creating a repository on your own computer using tortoiseSVN and then accessing it via the file protocol. You can access the repository either using tortoise or subclipse. Get started by creating three folders, branches, tags, and trunk. This is the recommended way to use SVN. Put all your code into trunk, and check it in after you certain milestones. If you do nothing else, you should already be getting benefits out of SVN, by having revision history, being able to go back to an older version of the code, seeing what changed between different revisions and having a backup in a different place. Then head over http://svnbook.red-bean.com/ when you have some spare time, and maybe even sign up for the svn-users list to learn more about subversion. The more you learn about it, the more you're going to love it, but as I showed above, it's pretty simple to get started. Russ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 11:11 AM To: CF-Talk Subject: RE: Eclipse CFEclipse Hi, Russ... But after reading the discussion on the list about trunk, tree, etc., and whatever else SVN involves, it seems like some serious complication that I could see being necessary in a multi-developer environment, but I didn't want to use a hammer to kill a mosquito... I actually installed VMWare Player, and picked up a Subversion Virtual Appliance from Young-Technologies.com and ran it. I installed TortoiseSVN, too. But I just couldn't make sense out of what was supposed to being going on, even after reading the guide. I just abandoned it as overkill. However, with HomeSite 5.5 acting a little strangely, I wouldn't mind getting in on Ecliple/CFEclipse. Rick -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 10:09 AM To: CF-Talk Subject: RE: Eclipse CFEclipse I don't know about Tom, but IMHO, even an independent developer should use SVN, it's free and the benefits of it are too great not to use, even if you're working all by yourself. Russ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 9:22 AM To: CF-Talk Subject: RE: Eclipse CFEclipse Thanks for the info, Tom. Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production versions. It can get quite crazy trying to keep up with what change are where. Your take on this? Thanks for your time and feedback. Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 6:44 AM To: CF-Talk Subject: Re: Eclipse CFEclipse On Saturday 01 Dec 2007, Rick Faircloth wrote: Can the various sections of the Eclipse interface be dragged onto a second screen apart from the main interface to make more room for viewing code? Right click the tab and choose 'detached'. -- Tom Chiverton Helping to assertively entrench market-driven networks on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Download
Re: cf_2selectsrelated
Is it throwing any JS errors in Firefox via is js debug console or if you have it Firebug? Personally I'd maybe take this as a sign to just write your own canned routine for n-selects related. There are a lot of examples online that you could pull ideas from or just plain use. On Dec 3, 2007 4:25 PM, Scott Dowling [EMAIL PROTECTED] wrote: Yes the js error is documents.forms.0.cat.SelectIndex is null or not an object. I am using IE on Vista. I never go tthis error before it used to work just fine. And I am in a time crunch and unable to build from scratch. Any help? ~| 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:294128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse CFEclipse
I had forgotten about that feature! Thanks! Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:51 PM To: CF-Talk Subject: Re: Eclipse CFEclipse On Dec 3, 2007 10:14 AM, Rick Faircloth [EMAIL PROTECTED] wrote: As far as installing it, I'm asking my final preparation questions before making the leap. Yes, I can install and uninstall, but I hate doing that too much on my system. Parts are always left behind somewhere after uninstalling. And there's always the risk of a system becoming unstable/usable for whatever reason when anything is installed. Yet another advantage of Eclipse. it doesn't get installed the way you're thinking. You extract the install file to a directory, and that's it. You can install it to a folder on your desktop, and run it from there. Then, copy the folder to another location (c:\program files\eclipse, for example) and run it from there. You can pop it on a flash drive and run it from there. to delete it, just delete the folder. no messy remnants left behind. This is a very nice feature when new versions are released. I've had Eclipse 3.2 and Eclipse 3.3 running side by side for some time now. They're just executables running from different locations. It's all very nice and neat :) -- Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter. - Dave Barry ~| 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:294121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Can a QofQ be performed on result set of a cfhttp call?
Please disregard. I've figured out the problem. -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:31 PM To: CF-Talk Subject: Can a QofQ be performed on result set of a cfhttp call? I can't get past this. Any ideas? Gracias. cfhttp method=Get url=http://www.mydomain.com/data.txt; name=auctionSearch textqualifier= cfquery name=q dbtype=query SELECT domain, search, COUNT(search) AS searchCount FROM auctionSearch GROUP BY COUNT(search) ORDER BY COUNT(search) DESC /cfquery ~| 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:294125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow Speed of Ajax Driven CF Tags
Like I said... I have a Spry Menu working great and would be ok to keep using it. But, I was hoping to take advantage of the new CF8 tags to make my life easier, but it seems many of the AJAX tags don't play well with the Google ads and other code that might find itself on a typical web page. I don't get how the Google AdSense code could be causing the CFMENU's to render so slowly. If I remove the Google Ad, the CF8 CFMENU works just fine. Phil On Dec 2, 2007, at 8:43 PM, Claude Schneegans wrote: Yes, I saw the un-rendered menu before the real menu-bar loads. Me too. I don't know about using CFMENU, but I have my own menu designed far before CFMENU existed and I have the whole DIV embeding the menu with style invisible. The style is set to visible only when the whole menu is set up. -- ___ 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:294124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf_2selectsrelated
Is it throwing any JS errors in Firefox via is js debug console or if you have it Firebug? Personally I'd maybe take this as a sign to just write your own canned routine for n-selects related. There are a lot of examples online that you could pull ideas from or just plain use. On Dec 3, 2007 4:25 PM, Scott Dowling [EMAIL PROTECTED] wrote: I apologize for posting such a junior level question especially since I have been at this for 6 years. I havent used 2selectsrelated in a number of years but it never gave me a problem. Now I need to use it and cannot get it to work. Whats worse is I made my query relect the exact example in the help file. Is my issue in the query with grouping? The second dropdown will not populate. My query and codse are below. cfquery name=qCats datasource=#application.dsn# SELECT c.CategoryID AS MCode, c.CategoryName AS Master_Cat, s.SubCategoryID AS Code, s.SubCategoryName AS Cat FROMCategories c INNER JOIN SubCategories s ON c.CategoryID = s.FK_CategoryID GROUP BY c.CategoryName, s.SubCategoryName, c.CategoryID, s.SubCategoryID ORDER BY c.CategoryName ASC /cfquery CF_TwoSelectsRelated QUERY=qCats NAME1=Cat NAME2=Selected DISPLAY1=Master_Cat DISPLAY2=Cat VALUE1=MCode VALUE2=Code FORCEWIDTH1=52 FORCEWIDTH2=52 HTMLBETWEEN=BR EMPTYTEXT1=(choose a category) EMPTYTEXT2=(now choose a subcategory) ~| 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:294127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: While we're talking about AJAX...
Unfortunately this is happening in IE7. On Dec 3, 2007 5:24 PM, Kris Jones [EMAIL PROTECTED] wrote: Probably a known IE CSS bug. If you are running IE6, and the form element which is obscuring your auto-suggest is a drop-down, there isn't a solution that I know of. Take a look at PIE: www.positioniseverything.net. They have a whole section on IE CSS bugs. This bug is resolved in IE7. Now I'm trying to get the form to be nice to me in IE. I have the form built in a tabular fashion... the auto-suggest is falling behind the form elements below it. I'm pretty sure this isn't a CF specific issue but since these are CF tags being called I'm going to ask here. ~| 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:294129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
can't use the result of a regular expression as a variable?
I tried to do this: cfset thestring = user.listid={id}username={username}/ cfset reReplace(thestring,'\w*{(\w+)}','#qryUser[\1]#','all')/ but I got an error. Is it possible to use \1 as a variable? I even tried '#evaluate(qryUser[\1])# but it doesn't work. ~| 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:294130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: can't use the result of a regular expression as a variable?
The back-reference variables (\1, etc.) can't be used as a value of a ColdFusion function within a RE tag. On Dec 3, 2007 10:42 PM, Johnny Le [EMAIL PROTECTED] wrote: I tried to do this: cfset thestring = user.listid={id}username={username}/ cfset reReplace(thestring,'\w*{(\w+)}','#qryUser[\1]#','all')/ but I got an error. Is it possible to use \1 as a variable? I even tried '#evaluate(qryUser[\1])# but it doesn't work. ~| 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:294133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow Speed of Ajax Driven CF Tags
Ah, I think I've got it. Place the Google ad code (the js call) inside the body of the doc right where the ad will be shown. If its in the head it may be interfering with the external calls for js libraries. Speculation, but that's the only way that the two different apps would really interact. On Dec 3, 2007 8:43 PM, Philip Hayes [EMAIL PROTECTED] wrote: Like I said... I have a Spry Menu working great and would be ok to keep using it. But, I was hoping to take advantage of the new CF8 tags to make my life easier, but it seems many of the AJAX tags don't play well with the Google ads and other code that might find itself on a typical web page. I don't get how the Google AdSense code could be causing the CFMENU's to render so slowly. If I remove the Google Ad, the CF8 CFMENU works just fine. Phil On Dec 2, 2007, at 8:43 PM, Claude Schneegans wrote: Yes, I saw the un-rendered menu before the real menu-bar loads. Me too. I don't know about using CFMENU, but I have my own menu designed far before CFMENU existed and I have the whole DIV embeding the menu with style invisible. The style is set to visible only when the whole menu is set up. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| 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:294132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Remote Admin of CF server
Yes, this is what the Administration API is for. We've just created an app to do exactly this, via the admin API and secure webservices. On Dec 4, 2007 7:36 AM, Jeremy Rottman [EMAIL PROTECTED] wrote: We are in the process of writing an administrator tool for a flex application. The over all idea behind this application is a one stop shop to manage the data for each instance. At this point, we have everything planned out save a few minor details. One issue that I am researching right now is how we are going to deal with the different cf server installs on our webservers. Right now I have a testing cluster setup with a test admin server, 2 cf servers, and 2 database servers. So basically, what I am in the process of doing is. Creating a web application that will allow me to add datasources to the two webservers. This application would reside on our admin server. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:294131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4