Re: CFMAILing a FILE input
Hi guys. I'm still a noob. So I've got this form, and I'm CFMAILING it somewhere. The form has a FILE input field, for adding a photo. I'd like it to attach the photo to the CFMAIL. You know, send the photo as an attachment. How do I do that in the CFMAIL tag? cfmail spoolenable=No ... cfmailparam file=path_to_file ... /cfmail -- mack / ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217912 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can CSS and Layers Take the Place of Tables for Displaying Dynamic Data?
CSS is perfect for positioning once you understand how to use it and some of the quirks between browsers. The problem is taht there is no if(IE)... else... possibility in CSS It's not in the CSS spec, but there are techniques for hiding/showing CSS to IE (conditional comments, CSS hacks). -- mack / ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217913 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple Regular Expression?
Thanks Michael, that did the trick just fine. -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 18:19 To: CF-Talk Subject: RE: Simple Regular Expression? I'm not sure if someone already answered this, but you should anchor the start and end of the strings. This pattern might do it, but it's not tested: ^(0|5|10|15|20|25|30|35|40|45|50)$ M!ke I am using the cfinput tag, validate=regular_expression and I am totally confusing myself on trying to work out what the pattern should equal. Basically I want the user to only be allowed to enter one of the following values 0,5,10,15,20,25,30,35,40,45,50 They cannot enter anything else i.e. 55 I tried using the following pattern (0|5|10|15|20|25|30|35|40|45|50) but I do not think I an fully understanding this as part of the validation works but it also allows 55 to be entered, I think that is because the individual value 5 is allowed? Can anyone give me some pointers? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217914 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Help! Is there any way to log all database query times to a log?
You should also consider downloading and using SeeFusion from Webapper - this will seriously help you in finding bottlenecks. -Original Message- From: Smith, Ed [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 17:34 To: CF-Talk Subject: Help! Is there any way to log all database query times to a log? Hi all, We're trying to debug a performance problem that has cropped up recently. What happens is that all threads (that use database connections) hang for a period of time. Then, some query passes through the system with a long query time, and there rest of the held up processes blow through. A CFSTAT is at the bottom of the email that shows this behavior. An analysis of the database (Oracle 9i) shows no tables locked, no load problems, plenty of free connections. All threads that use a database seem to be held up. The database settings are Pooled, but no limit to connections. The CF Server is MX6.1 with all current updaters - there are 3 servers load balanced using a BigIP. All servers exhibit the behavior, but not at the same time (although sometimes they do). There are no server, application, or named locks that would account for this behavior. What I was hoping to find is a way to add some code to an OnRequestEnd template that would dump the database query times to a file, so I could look for excessively long queries during that time period. I've not been able to find any documented features in CF that would allow me to do that. Any ideas of how I could get database query times (like they appear in debugging) to be dumped to a file? Thanks in advance! Edward Smith Chief Architect Internet Broadcasting. Pg/Sec DB/Sec CP/Sec Reqs Reqs Reqs AvgQ AvgReq AvgDB Bytes Bytes Now Hi Now Hi Now Hi Q'ed Run'g TO'ed Time Time Time In/Sec Out/Sec 0 17 0 222 -1 -1 0 330 0 46502 13976 0 0 3 17 13 222 -1 -1 0 300 0 30645 2114 0 0 17 17 95 222 -1 -1 0 130 0 10850 62 9120 9 17 65 222 -1 -1 0 7 0 0 30166 10 2908 18466 4 17 43 222 -1 -1 0 6 0 0 4038 7 2654 174042 1 17 1 222 -1 -1 0 5 0 0 2215 1140 0 0 17 0 222 -1 -1 0 7 0 0 2215 1141510 0 2 17 5 222 -1 -1 0 7 0 0 62814 1220 0 0 17 0 222 -1 -1 0 7 0 0 62814 0 0 0 17 0 222 -1 -1 0 9 0 0 62814 1653 0 0 17 0 222 -1 -1 0 9 0 0 62814 0 0 2 17 5 222 -1 -1 0 9 0 0 35342 9970 0 17 0 222 -1 -1 0 9 0 0 35342 0 0 0 17 0 222 -1 -1 0 100 0 35342 9390 0 17 3 222 -1 -1 0 120 0 35312 1689 0 0 17 0 222 -1 -1 0 120 0 35312 0 0 0 17 0 222 -1 -1 0 120 0 35312 0 0 0 17 0 222 -1 -1 0 140 0 35312 1821 0 0 17 0 222 -1 -1 0 190 0 35312 5012 0 0 17 9 222 -1 -1 0 200 0 3536075 9340 0 17 0 222 -1 -1 0 210 0 3536075 0 0 0 17 0 222 -1 -1 0 220 0 3536075 1157 0 0 17 0 222 -1 -1 0 230 0 3536075 9860 Pg/Sec DB/Sec CP/Sec Reqs Reqs Reqs AvgQ AvgReq AvgDB Bytes Bytes Now Hi Now Hi Now Hi Q'ed Run'g TO'ed Time Time Time In/Sec Out/Sec 0 17 3 222 -1 -1 0 230 0 35318212 0 324126 0 17 0 222 -1 -1 0 230 0 35318212 0 70217 0 17 0 222 -1 -1 0 250 0 35318212 1181 39047 1 17 8 222 -1 -1 0 280 0 6405 7237 21307 0 0 17 0 222 -1 -1 0 290 0 6405 7237 6680 0 17 0 222 -1 -1 0 310 0 6405 7237 2053 0 0 17 0 222 -1 -1 0 310 0 6405 7237 0 0 0 17 0 222 -1 -1 0 330 0 6405 7237 1892 46811 0 17 0 222 -1 -1 0 340 0 6405 7237 1377 0 0 17 0 222 -1 -1 0 340 0 6405 7237 0 0 0 17 0 222 -1 -1 0 340 0 6405 7237 0 0 0 17 0 222 -1 -1 0 350 0 6405 7237 7770 0 17 0 222 -1 -1 0 350 0 6405 7237 0 0 0 17 0 222 -1 -1 0 350 0 6405 7237 0 0 0 17 0 222 -1 -1 0 360 0 6405 7237 8270 0 17 0 222 -1 -1 0 370 0 6405 7237 9700 0 17 0 222 -1 -1 0 380 0 6405 7237 9710 0 17 0 222 -1 -1 0 390 0 6405 7237 8970 0 17 0 222 -1 -1 0 390 0
RE: Small Problem with Query Duplicates
What part is being duplicated? The URL? All of the records? If it is all the records then you should have a look at your Database. Unless duplication is okay in your DB. What is the ID field? Is it an auto generated ID or an ID Field you are populating? -Original Message- From: Mark Henderson [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 10:44 PM To: CF-Talk Subject: Small Problem with Query Duplicates I have a query thats run from a user search request, that looks like so: cfquery name=searchFarmLinks dataSource=#request.dsn# SELECT URL, ID, Company, Category, Phone, Email, Paid_listing FROM nzfarming WHERE URL IS NOT NULL ANDuCase(Company) like cfqueryparam value = %#uCase(searchtext)#% cfsqltype=cf_sql_varchar / ORDER BY Paid_listing ASC, Company ASC; /cfquery This is fine and works. However, the url is listed (in the output for display) each time an instance of the search term is matched (obviously) and I would like to get rid of the duplicates. I tried using DISTINCT without success i.e in the query, SELECT UNIQUE URL, Company etc If I do a single QoQ, like so cfquery name=searchDistinctFarmLinks dbtype=query SELECT DISTINCT URL FROMsearchFarmLinks /cfquery it DOES appear to return the correct recordset but I'm stumped as to how to re query based on that result. I also figure there must be a quicker cleaner way to do this. Any ideas?? All help appreciated. TIA regards Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217916 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Can CSS and Layers Take the Place of Tables for Displaying Dynamic Data?
I think basically we are saying that there isn't a layer object (cept in NN 4...) but there is a layer concept... -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 1:44 PM To: CF-Talk Subject: Re: Can CSS and Layers Take the Place of Tables for Displaying Dynamic Data? Okay, yah, that's true. I stand corrected. But, I still think it sounds like he's using the DW layer mumbo jumbo. But, I could be totally wrong. As we said in our family , 10 seconds (as in please rewind 10 seconds and then go on with your regularly scheduled programming). On 9/9/05, Bryan Stevenson [EMAIL PROTECTED] wrote: From: Deanna Schneider [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, September 09, 2005 10:22 AM Subject: Re: Can CSS and Layers Take the Place of Tables for Displaying Dynamic Data? You should be aware that when you're talking about layers you're not really referring to an actual CSS thingy. That's Dreamweaver's way of explaining CSS in a visual environment. There's no such thing as a layer really - just divs and other markup that's positioned via CSS. Ummm...no that is not correct.. I don't use DW...so not sure what it defines layers as, but have a look at z-indexthat is the CSS attribute for layer position (so that's z as in the z axis x= top to bottom...y=left to rightz= up and downall 3 dimensions) ;-) So yes...there are layers in CSS Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com http://www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217917 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Is there a free forum for CF/Oracle?
Does anyone know of a free CF forum that uses Oracle as the DB? The ability to attach files to posts would be nice, as would code colouring, but anything reasonable would do as it's for internal use (allowing a team of developers to pass code snippets and hints etc. around). There is no budget (time or money) and we only have Oracle on the server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217918 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
On Monday 12 September 2005 12:38, Wayne Putterill wrote: server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! Why not a Wikki ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217919 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfapplication
I am not sure. I tried to find a function that gives me the version of cold fusion, but I could not. You using CFMX7? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217920 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfapplication
cfoutput#server.coldfusion.productversion#/cfoutput I believe that will do it. Dave -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:06 AM To: CF-Talk Subject: Re: cfapplication I am not sure. I tried to find a function that gives me the version of cold fusion, but I could not. You using CFMX7? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217921 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfFile - uploading safely
thanks folks. This does help. I appreciate the assistance. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217922 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Small Problem with Query Duplicates
Are you sure that you're really getting duplicates of entirely unique rows? Is this a view you're querying, where you might have one company with multiple phone/email/urls? If you're really getting duplicate distinct rows, that's some odd behavior. If you're getting multiple rows because in each one, there's a column that differs, then that's how distinct works. If you need to display this as one record per company, then just use the group attribute of cfquery: cfoutput query=yourquery group=company #company#br cfoutput#email#/cfoutput /cfoutput On 9/11/05, Mark Henderson [EMAIL PROTECTED] wrote: I have a query thats run from a user search request, that looks like so: cfquery name=searchFarmLinks dataSource=#request.dsn# SELECT URL, ID, Company, Category, Phone, Email, Paid_listing FROM nzfarming WHERE URL IS NOT NULL AND uCase(Company) like cfqueryparam value = %#uCase(searchtext)#% cfsqltype=cf_sql_varchar / ORDER BY Paid_listing ASC, Company ASC; /cfquery This is fine and works. However, the url is listed (in the output for display) each time an instance of the search term is matched (obviously) and I would like to get rid of the duplicates. I tried using DISTINCT without success i.e in the query, SELECT UNIQUE URL, Company etc If I do a single QoQ, like so cfquery name=searchDistinctFarmLinks dbtype=query SELECT DISTINCT URL FROM searchFarmLinks /cfquery it DOES appear to return the correct recordset but I'm stumped as to how to re query based on that result. I also figure there must be a quicker cleaner way to do this. Any ideas?? All help appreciated. TIA regards Mark ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217923 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfapplication
no, 6.1 for now. 7 sometime in the next few months. and thanks Dave for the server variables. I didn't know that they existed. You using CFMX7? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217924 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML, XSD, XSL
MVC? And can you point me to some starter locations? -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Heh... sorry. :) You sound pretty sharp from this end. Give it some time, read some articles on general MVC, you'll figure it out. :) Sir, You are WAY over my head. Try to keep to 3 letter words and 4 word paragraphs, please! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217925 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
A wiki would be great (didn't think of that). Do you know of one? On 9/12/05, Thomas Chiverton [EMAIL PROTECTED] wrote: On Monday 12 September 2005 12:38, Wayne Putterill wrote: server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! Why not a Wikki ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217926 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfformgroup question
Use the cfformitem type=spacer tag. Like this: cfformgroup type=horizontal cfformitem type=spacer/ cfinput type=button name=foo value=click cfformitem type=spacer/ /cfformgroup ---nimer -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 12:16 AM To: CF-Talk Subject: cfformgroup question hi there. i have some buttons in a cfform panel, and i want them to be centered. i have this code below... and they are left justified. ive tried sooo many variations of centering, and i just cannot get it... help :) cfform name=administratorMenu action=nclisAwards.cfm method=post format=flash cfformgroup type=PANEL label=Administrator Menu height=180 width=150 style=#menuPanel#margin:0px;textAlign:center; cfformgroup TYPE=vertical div align=center cfinput type=submit value=Manage Users name=ManageUsers style=#menuButtons# cfformitem height=10 type=spacer visible=No / cfinput type=submit value=Manage Entries name=ManageEntries style=#menuButtons# cfformitem height=10 type=spacer visible=No / cfinput type=submit value=Manage Reviews name=ManageReviews style=#menuButtons# /div /cfformgroup /cfformgroup /cfform -- tony Tony Weeg tonyweeg [at] gmail [dot] com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
On Monday 12 September 2005 14:36, Wayne Putterill wrote: A wiki would be great (didn't think of that). Do you know of one? phpWikki looks very nice but I've not used it, the original twikki is still going strong too. -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217928 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
It has to be CF/Oracle as it will be on one of our in-house servers, if I could use PHP I would have a wealth of free stuff to chose from :( On 9/12/05, Thomas Chiverton [EMAIL PROTECTED] wrote: On Monday 12 September 2005 14:36, Wayne Putterill wrote: A wiki would be great (didn't think of that). Do you know of one? phpWikki looks very nice but I've not used it, the original twikki is still going strong too. -- Tom Chiverton Advanced ColdFusion Programmer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217929 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML, XSD, XSL
MVC = Model-View-Controller It's the most popular way of thinking about software design for maximum code-reuse. Wikipedia actually isn't a bad place to start for this: http://en.wikipedia.org/wiki/MVC MVC? And can you point me to some starter locations? -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Heh... sorry. :) You sound pretty sharp from this end. Give it some time, read some articles on general MVC, you'll figure it out. :) Sir, You are WAY over my head. Try to keep to 3 letter words and 4 word paragraphs, please! ~~ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217930 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML, XSD, XSL
Thanks. And the most beautiful thing about this is that this is it looks like I am already doing the basic version of this. Andy -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 9:31 AM To: CF-Talk Subject: RE: XML, XSD, XSL MVC = Model-View-Controller It's the most popular way of thinking about software design for maximum code-reuse. Wikipedia actually isn't a bad place to start for this: http://en.wikipedia.org/wiki/MVC MVC? And can you point me to some starter locations? -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Heh... sorry. :) You sound pretty sharp from this end. Give it some time, read some articles on general MVC, you'll figure it out. :) Sir, You are WAY over my head. Try to keep to 3 letter words and 4 word paragraphs, please! ~~ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217931 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFOBJECT type=java - severe problems
Can anyone help with this problem, please? It seems that cfobject type=java... does not work for me at all. Whenever I try to run this tag, the ColdFusion server just hangs and the browser keeps waiting for any result. I have tried several different types of java objects, and the result is the same - the box hangs, cfobject type=java name=sys class=java.lang.System action=createcfsetproperties=sys.getProperties()cfdump var=#properties# or cfobject type=JAVA action=Create name=factory class=coldfusion.server.ServiceFactoryCFdump var=#factory# Running CFMX 7 Enterprise Edition on Windows 2000 and Apache 2.0.48. Java version is 1.4.2_05-b04. Can anyone help? Same code runs fine on CFMX7/Developers' edition and CFMX7 Standard. Thanks in advance- ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217932 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217933 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
Just put a cftry tag around your cfmail. You must have an empty TO field in the db or something. Allan -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 16:45 To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217934 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
People have written scripts for Galleon for Oracle, but it's not officially supported. Galleon may be downloaded at my blog. On 9/12/05, Wayne Putterill [EMAIL PROTECTED] wrote: Does anyone know of a free CF forum that uses Oracle as the DB? The ability to attach files to posts would be nice, as would code colouring, but anything reasonable would do as it's for internal use (allowing a team of developers to pass code snippets and hints etc. around). There is no budget (time or money) and we only have Oracle on the server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217935 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
I have verified all records in the database have a valid email in the db. I believe the problem is stemming from the single thread 6.1 uses to send mail where as cf 7 cfmail is a multi-threaded process. The cftry will not work also because I have found the following: Using a recordset of 600. cfmail will work for an undetermined amount of records but once it fails it does, not an cannot, recover in that tag sequence. For instance if it fails on record 300 the last 300 records will not be sent. But once the tag finishes failing, if you run it again the mail will be sent. I have tried to reverse the records and have gotten the same result. I believe the records are independent of the problem besides the sheer amount of them. Thanks. Brian -Original Message- From: Allan Cliff [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 10:49 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Just put a cftry tag around your cfmail. You must have an empty TO field in the db or something. Allan -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 16:45 To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217936 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
I have been looking at Galleon (and have downloaded it), I can't find any oracle scripts for it though - are they on the site? On 9/12/05, Raymond Camden [EMAIL PROTECTED] wrote: People have written scripts for Galleon for Oracle, but it's not officially supported. Galleon may be downloaded at my blog. On 9/12/05, Wayne Putterill [EMAIL PROTECTED] wrote: Does anyone know of a free CF forum that uses Oracle as the DB? The ability to attach files to posts would be nice, as would code colouring, but anything reasonable would do as it's for internal use (allowing a team of developers to pass code snippets and hints etc. around). There is no budget (time or money) and we only have Oracle on the server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217937 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF 6.1: Problem with COM Object
I have a page that uses a COM object in CF5 and tried to run it with CF6.1 but got the following when using cfobject An exception occurred when instantiating a Com object. The cause of this exception was that: java.lang.NullPointerException. The code being executed at that point is: cfobject type=COM action=CREATE class=HPW.ProxServer2 name=Prox I saw another thread here about this which said it may be somthing to do with having empty strings as parmaters but at this point I have't sent any parameters so ca't see why that is the case. Anyone got any ideas? Kevin ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217938 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFFILE Problem with windows 2003
Hello! I have a form that upload a file into server, it worked fine in windows 2000 (iis 5) but when i put the same form into windows 2003 (iis 6) it doesn't work! I try to grant write permissions to IIS User but it fails too. Any one has an idea about this? Thanks for your help! Richard ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217939 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML, XSD, XSL
I love it when that happens. :) Thanks. And the most beautiful thing about this is that this is it looks like I am already doing the basic version of this. Andy -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 9:31 AM To: CF-Talk Subject: RE: XML, XSD, XSL MVC = Model-View-Controller It's the most popular way of thinking about software design for maximum code-reuse. Wikipedia actually isn't a bad place to start for this: http://en.wikipedia.org/wiki/MVC MVC? And can you point me to some starter locations? -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Heh... sorry. :) You sound pretty sharp from this end. Give it some time, read some articles on general MVC, you'll figure it out. :) Sir, You are WAY over my head. Try to keep to 3 letter words and 4 word paragraphs, please! s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217940 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFFILE Problem with windows 2003
Any errors? We have CFFILE working fine on the same setup. Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion and BlueDragon applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm iMS-Lite - the completely free mail server solution for applications and application servers http://www.coolfusion.com/iMSLite --- On Monday, September 12, 2005 11:27 AM, Ricardo Perez scribed: --- Hello! I have a form that upload a file into server, it worked fine in windows 2000 (iis 5) but when i put the same form into windows 2003 (iis 6) it doesn't work! I try to grant write permissions to IIS User but it fails too. Any one has an idea about this? Thanks for your help! Richard ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217941 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFOBJECT type=java - severe problems
Have you tried using CreateObject() instead? cfset sys = CreateObject(java,java.lang.System) or cfset factory = CreateObject(java,coldfusion.server.ServiceFactory) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217942 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Mail Management Program
Hi Guys, We're interested in purchasing a mail management application that will allow us to handle our mail-based customer service needs. The system would need to be able to read in mail from our mail server, store it into a database and allow us to reply, forward, delete, and maintain a conversation history of our replies to our clients with proper date/time stamping on all events. It would also have to provide user based security so that we could limit the type of functionality that specific customer service reps could see. We'd prefer for this solution to: 1) Include modifiable and easy to understand source code (not interested in Fusebox-based solutions at this moment) 2) Preferably be CF based. Anyone know of a solution like this? Rey... -- http://www.ReyBango.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217943 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: payflow pro and CF7 multi-instance
simeon et al, So i have my verisign.jar in the C:\JRun4\lib and i have my CFXPayFlowPro.class in the C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\classes directory. I added a referance to each of these in the JVM setting from the JRUN Administrator Settings Screen for my CF Instance. I'm still getting the following error: HTTP Status Code: 500 Exception Type: class java.lang.NoClassDefFoundError Servlet Name: CfmServlet any ideas? On 9/9/05, Simeon Bateman [EMAIL PROTECTED] wrote: The Verisign.jar file goes in any one of the lib dirs. It can go in the JRun lib directory or the lib directory of the cfusion instance you are running. The CFXPayFlowPro.class file goes in the classes directory for your cfusion instance. With that done I have not had to modify classpaths or anything else. Good Luck, simeon On 9/2/05, jonese [EMAIL PROTECTED] wrote: Anyone installed the payflow pro CustomTag from verisign on a CF7 JRun mutli-instance installation. for thelife of me i can't get it to work and the directions they provide only talk about standalone. I've added the Classpaths for Java VM in the settings section of my cfusion server and i've registered the CT in CF Admin, and i've placed the files into the CFX Custom Tag directory but i still get the error: Requested page cannot be displayed An unexpected error occurred that prevented /includes/PFProCFXtest.cfm from being displayed. com/allaire/cfx/CustomTag Technical Information: HTTP Status Code: 500 Exception Type: class java.lang.NoClassDefFoundError Servlet Name: CfmServlet Exception java.lang.NoClassDefFoundError Which is not a CF generated looking error. so i'm really lost what's causing the issue. Any thoughts? jonese ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217944 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFFILE Problem with windows 2003
Only in the iexplorer send me a Error 500 can't find the file location, i disabled the friendly errors in explorer but it send me the same error. I try auditing the folder trougth windows permission but appears to be problem between iis and coldfusion because in event viewer doesn't show anything. You have a special configuration check list for ColdFusion in windows 2003 enviroment? Regards! On 9/12/05, Howie Hamlin [EMAIL PROTECTED] wrote: Any errors? We have CFFILE working fine on the same setup. Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion and BlueDragon applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm iMS-Lite - the completely free mail server solution for applications and application servers http://www.coolfusion.com/iMSLite --- On Monday, September 12, 2005 11:27 AM, Ricardo Perez scribed: --- Hello! I have a form that upload a file into server, it worked fine in windows 2000 (iis 5) but when i put the same form into windows 2003 (iis 6) it doesn't work! I try to grant write permissions to IIS User but it fails too. Any one has an idea about this? Thanks for your help! Richard ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217945 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: payflow pro and CF7 multi-instance
Got it! had to restart both the jrun admin and jrun cfusion service for it to catch. jonese On 9/12/05, jonese [EMAIL PROTECTED] wrote: simeon et al, So i have my verisign.jar in the C:\JRun4\lib and i have my CFXPayFlowPro.class in the C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\classes directory. I added a referance to each of these in the JVM setting from the JRUN Administrator Settings Screen for my CF Instance. I'm still getting the following error: HTTP Status Code: 500 Exception Type: class java.lang.NoClassDefFoundError Servlet Name: CfmServlet any ideas? On 9/9/05, Simeon Bateman [EMAIL PROTECTED] wrote: The Verisign.jar file goes in any one of the lib dirs. It can go in the JRun lib directory or the lib directory of the cfusion instance you are running. The CFXPayFlowPro.class file goes in the classes directory for your cfusion instance. With that done I have not had to modify classpaths or anything else. Good Luck, simeon On 9/2/05, jonese [EMAIL PROTECTED] wrote: Anyone installed the payflow pro CustomTag from verisign on a CF7 JRun mutli-instance installation. for thelife of me i can't get it to work and the directions they provide only talk about standalone. I've added the Classpaths for Java VM in the settings section of my cfusion server and i've registered the CT in CF Admin, and i've placed the files into the CFX Custom Tag directory but i still get the error: Requested page cannot be displayed An unexpected error occurred that prevented /includes/PFProCFXtest.cfm from being displayed. com/allaire/cfx/CustomTag Technical Information: HTTP Status Code: 500 Exception Type: class java.lang.NoClassDefFoundError Servlet Name: CfmServlet Exception java.lang.NoClassDefFoundError Which is not a CF generated looking error. so i'm really lost what's causing the issue. Any thoughts? jonese ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217946 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
Are the emails unique or are you bcc'ing it to the recipients? Kevin -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: September 12, 2005 8:45 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217947 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFFILE Problem with windows 2003
I don't think we did anything special for CFFILE to work. What I do remember is that the web server has to have permissions to write to the Windows temp folder and that there was a bug in CFMX where none of the CFFILE temp files were deleted as they should be and the disk would eventually fill up. Since you are getting a 500 server error I would suggest looking in the IIS and CF log files to see the error that is occurring. Regards, Howie --- On Monday, September 12, 2005 12:03 PM, Ricardo Perez scribed: --- Only in the iexplorer send me a Error 500 can't find the file location, i disabled the friendly errors in explorer but it send me the same error. I try auditing the folder trougth windows permission but appears to be problem between iis and coldfusion because in event viewer doesn't show anything. You have a special configuration check list for ColdFusion in windows 2003 enviroment? Regards! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217948 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
Unique to each person no bcc'ing... Thanks. -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 12:12 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Are the emails unique or are you bcc'ing it to the recipients? Kevin -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: September 12, 2005 8:45 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail Errors when mass mailing (not spam)
just a thoughtbut if you know the data is there...perhaps there is a problem with your query (ie some rows are missing adresses for some reason)?? Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217950 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
problems implementing Ultraseek Java API
We're struggling to use the Verity Ultraseek Java XPA Search API with CFMX 7 (Windows 2000, IIS, SQL Server 2000). Has anyone had experience with this implementation? Specifically, how do you get started by instantiating an UltraseekServer object and setting the server name, port protocol? eg. The following snippet generates an uninformative error: null null The error occurred on line 3.: cfscript UltraseekServer = CreateObject(Java,com.ultraseek.xpa.server.UltraseekServer); UltraseekServer.setHost(cf.pm.lan); /cfscript We've tried numerous ways to instantiate an UltraseekServer instance, but all attempts to access one of the methods generates the same null null error. However, access to other classes methods from the Ultraseek Java API is fine, eg. this returns an object, but with 8 undefined values since we can't instantiate the UltraseekServer instance. cfset theCollection = CreateObject(Java,com.ultraseek.xpa.server.UltraseekCollection) cfdump var=#theCollection# Any suggestions would be appreciated. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217951 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a free forum for CF/Oracle?
No, you may want to post to the Galleon Forums (sorry, the Galleon section of my forums, ie, the forums for the forums :) and see if anyone has one available. On 9/12/05, Wayne Putterill [EMAIL PROTECTED] wrote: I have been looking at Galleon (and have downloaded it), I can't find any oracle scripts for it though - are they on the site? On 9/12/05, Raymond Camden [EMAIL PROTECTED] wrote: People have written scripts for Galleon for Oracle, but it's not officially supported. Galleon may be downloaded at my blog. On 9/12/05, Wayne Putterill [EMAIL PROTECTED] wrote: Does anyone know of a free CF forum that uses Oracle as the DB? The ability to attach files to posts would be nice, as would code colouring, but anything reasonable would do as it's for internal use (allowing a team of developers to pass code snippets and hints etc. around). There is no budget (time or money) and we only have Oracle on the server it will be on, so it's a bit of a tall order I know. I suppose something like a blog or even a document store might do the trick - basically I'm open to suggestions! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217952 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMail Errors when mass mailing (not spam)
We had issues with sending personalized, generated emails out, so instead of sending them all out with a scheduled task, we send out a limited amount every 10 minutes until we get them all done... Kevin -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: September 12, 2005 10:15 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Unique to each person no bcc'ing... Thanks. -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 12:12 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Are the emails unique or are you bcc'ing it to the recipients? Kevin -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: September 12, 2005 8:45 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFFILE Problem with windows 2003
Are you running the CF services as a domain account with the correct permissions? M!ke -Original Message- From: Ricardo Perez [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 11:03 AM To: CF-Talk Subject: Re: CFFILE Problem with windows 2003 Only in the iexplorer send me a Error 500 can't find the file location, i disabled the friendly errors in explorer but it send me the same error. I try auditing the folder trougth windows permission but appears to be problem between iis and coldfusion because in event viewer doesn't show anything. You have a special configuration check list for ColdFusion in windows 2003 enviroment? Regards! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217954 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFFILE Problem with windows 2003
The CF services are running as a local system account. Richard On 9/12/05, Dawson, Michael [EMAIL PROTECTED] wrote: Are you running the CF services as a domain account with the correct permissions? M!ke -Original Message- From: Ricardo Perez [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 11:03 AM To: CF-Talk Subject: Re: CFFILE Problem with windows 2003 Only in the iexplorer send me a Error 500 can't find the file location, i disabled the friendly errors in explorer but it send me the same error. I try auditing the folder trougth windows permission but appears to be problem between iis and coldfusion because in event viewer doesn't show anything. You have a special configuration check list for ColdFusion in windows 2003 enviroment? Regards! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail Errors when mass mailing (not spam)
No way. One of my apps sends 6k at a time without problem. Try pointing CF to a non-existent mail server for testing. Wrap cftry around the cfmail tag and take a look at the exact query vars when the error is throw. (By pointing to a non-existent server the emails will get put into the undeliverable folder) Turn on debugging and make sure you are showing robust exeption info. -Adam On 9/12/05, Brian Polackoff [EMAIL PROTECTED] wrote: I have verified all records in the database have a valid email in the db. I believe the problem is stemming from the single thread 6.1 uses to send mail where as cf 7 cfmail is a multi-threaded process. The cftry will not work also because I have found the following: Using a recordset of 600. cfmail will work for an undetermined amount of records but once it fails it does, not an cannot, recover in that tag sequence. For instance if it fails on record 300 the last 300 records will not be sent. But once the tag finishes failing, if you run it again the mail will be sent. I have tried to reverse the records and have gotten the same result. I believe the records are independent of the problem besides the sheer amount of them. Thanks. Brian -Original Message- From: Allan Cliff [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 10:49 AM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Just put a cftry tag around your cfmail. You must have an empty TO field in the db or something. Allan -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 16:45 To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) Sending about 600 mails at a time, the error ranges from: CFMail requires a To: attribute when I have tested it is there to the general cf was looking at the following code... Thanks, Brian -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Sunday, September 11, 2005 9:35 PM To: CF-Talk Subject: RE: CFMail Errors when mass mailing (not spam) What error do you get? How many are you sending? -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Monday, 12 September 2005 1:30 p.m. To: CF-Talk Subject: CFMail Errors when mass mailing (not spam) Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: More RegExp help...
And if the filename COULD contain other periods: listDeleteAt(filename,listLen(filename,.),.) which says, delete the last list item using . as list delimiter Scott Stroz wrote: I love RegEx, and use them frequently. However, they are not always my first choice. I would actaully use: ListFirst(fileName,.) Assuming there are no periods in the file name. This may actually be a bit quicker since you don't use the Reg Ex engine. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217957 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Can't use a CF mapping with CFFORMS? is this correct?
I have found I can't get a CFFORM (flash version) to work on the production server, even though it works fine in the dev environment. There's some script source issue, so to get around it for now, I've uploaded the scripts from the CFIDE folder into the site, and used the SCRIPTSRC= attribute in the CFFORM tag to reference them. However, the only way I can get them to work is to type in the relative path to the new scripts folder - If I use a ColdFusion mapping the form doesn't work. This means it's useless to have a set of the forms used on the site in a forms folder to be included in any page that needs them, because there is no guarantee the relative path to the scripts will be right. Am I understanding this correctly or is there something else that I'm getting wrong and not seeing it? Can the CFFORM tag really never have an absolute path like a CFC and a CFINCLUDE can??? How else could I handle this so that the SCRIPTSRC can be a dynamic variable, thereby allowing me to re-use forms around the site in various locations? This begs the main question though - does anyone have any idea why our standard almost-default installation on a shared host wouldn't let the CFFORM tag find the scripts it needs for flash forms?? (or more pertinent, I suppose is the question .. what should we do about it?) -- Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET http://ASP.NET hosting from AUD$15/month ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217958 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFFILE Problem with windows 2003
2003 is a lot tighter than 2000. I would try running the CF service(s) under an account that specifically has been permissions to read/write to the directory. M!ke -Original Message- From: Ricardo Perez [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 12:10 PM To: CF-Talk Subject: Re: CFFILE Problem with windows 2003 The CF services are running as a local system account. Richard On 9/12/05, Dawson, Michael [EMAIL PROTECTED] wrote: Are you running the CF services as a domain account with the correct permissions? M!ke -Original Message- From: Ricardo Perez [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 11:03 AM To: CF-Talk Subject: Re: CFFILE Problem with windows 2003 Only in the iexplorer send me a Error 500 can't find the file location, i disabled the friendly errors in explorer but it send me the same error. I try auditing the folder trougth windows permission but appears to be problem between iis and coldfusion because in event viewer doesn't show anything. You have a special configuration check list for ColdFusion in windows 2003 enviroment? Regards! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Mail Management Program
Rey, shameless_plug This sounds very similar to our product CFTicket. It has threading, keeps history of customer contacts, allows you to reply/delete/forward all emails from the server, etc. You can take a look at it at http://www.cornfeed.com. There is an online demo that you can try, as well as a trial version (if you have CFMX 7+). /shameless_plug The only problem you may have is that the subjects have some identifying string in it, which you may/may not like. Cedric Hi Guys, We're interested in purchasing a mail management application that will allow us to handle our mail-based customer service needs. The system would need to be able to read in mail from our mail server, store it into a database and allow us to reply, forward, delete, and maintain a conversation history of our replies to our clients with proper date/time stamping on all events. It would also have to provide user based security so that we could limit the type of functionality that specific customer service reps could see. We'd prefer for this solution to: 1) Include modifiable and easy to understand source code (not interested in Fusebox-based solutions at this moment) 2) Preferably be CF based. Anyone know of a solution like this? Rey... -- http://www.ReyBango.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: More RegExp help...
Except he also needs to remove the _640x640 part. However, you could do the same thing with underscores instead of periods. --Ben Jann E. VanOver wrote: And if the filename COULD contain other periods: listDeleteAt(filename,listLen(filename,.),.) which says, delete the last list item using . as list delimiter Scott Stroz wrote: I love RegEx, and use them frequently. However, they are not always my first choice. I would actaully use: ListFirst(fileName,.) Assuming there are no periods in the file name. This may actually be a bit quicker since you don't use the Reg Ex engine. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217961 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Expiring time of cookies for session management
Hi, I'm trying to clarify the expiration time for the Cookie.CFID and Cookie.CFTOKEN cookies created when a new session starts. Is it the length of the time that is specified in the sessionmanagement attribute of the cfapplication tag? If so, is this documented anywhere? I did find some documentation (on livedocs) on how to make the cookies automatically expire when the browser is closed, but I need to know what is actually happening when those cookies are created by CF and I need some documentation to back it up if at all possible. Thanks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217962 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Expiring time of cookies for session management
I'm almost positive that those two cookies are unexpiring, because they're used for more than just session management. The session timeout is performed on the server - after period X, the cookies are accepted, but not considered to be part of the session any more. If you le J2EE sessions in the CF admin, then you'll use a jsessionid cookie, which is a memory-only cookie. cheers, barneyb On 9/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm trying to clarify the expiration time for the Cookie.CFID and Cookie.CFTOKEN cookies created when a new session starts. Is it the length of the time that is specified in the sessionmanagement attribute of the cfapplication tag? If so, is this documented anywhere? I did find some documentation (on livedocs) on how to make the cookies automatically expire when the browser is closed, but I need to know what is actually happening when those cookies are created by CF and I need some documentation to back it up if at all possible. Thanks, Dave -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217963 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFOBJECT type=java - severe problems
Yes, and the result is the same - the thread hangs indefinitely with no response whatsoever. It this a problem with the underlying java platform, or??? On 9/12/05, S. Isaac Dealey [EMAIL PROTECTED] wrote: Have you tried using CreateObject() instead? cfset sys = CreateObject(java,java.lang.System) or cfset factory = CreateObject(java,coldfusion.server.ServiceFactory) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217964 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can't use a CF mapping with CFFORMS? is this correct?
CF mappings are server side. The SCRIPTSRC value you are using acts client side, as far as I know. If you add a virtual directory that maps to the same place your CF mapping does, you should be fine. Secondly, the SCRIPTSRC attribute is meant to be used to include the stuff Flash Forms use. Typically you don't use this for your OWN work. You can very easily put files in a folder that use CFFORM, and then call those files via cfmodule using mappings. I think you are confusing two different issues here. From the docs for scriptSRC: Specifies the URL, relative to the web root, of the directory that contains the cfform.js file with the client-side JavaScript used by this tag and its child tags. For XML format forms, this directory is also the default directory for XSLT skins. This attribute is useful if the file is not in the default location. This attribute may be required in some hosting environments and configurations that block access to the /CFIDE directory. On 9/12/05, Mike Kear [EMAIL PROTECTED] wrote: I have found I can't get a CFFORM (flash version) to work on the production server, even though it works fine in the dev environment. There's some script source issue, so to get around it for now, I've uploaded the scripts from the CFIDE folder into the site, and used the SCRIPTSRC= attribute in the CFFORM tag to reference them. However, the only way I can get them to work is to type in the relative path to the new scripts folder - If I use a ColdFusion mapping the form doesn't work. This means it's useless to have a set of the forms used on the site in a forms folder to be included in any page that needs them, because there is no guarantee the relative path to the scripts will be right. Am I understanding this correctly or is there something else that I'm getting wrong and not seeing it? Can the CFFORM tag really never have an absolute path like a CFC and a CFINCLUDE can??? How else could I handle this so that the SCRIPTSRC can be a dynamic variable, thereby allowing me to re-use forms around the site in various locations? This begs the main question though - does anyone have any idea why our standard almost-default installation on a shared host wouldn't let the CFFORM tag find the scripts it needs for flash forms?? (or more pertinent, I suppose is the question .. what should we do about it?) -- Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET http://ASP.NET hosting from AUD$15/month ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217965 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
ODBC for Sybase on MX 7
Gang, We are upgrade from Cold Fusion 5 to 7. On the old system we created an ODBC connection to Sybase with no problems, but we can't get it to work with MX 7. Don't tell me I have to have the enterprise edition just for one lousy Sybase file? Can anybody offer detailed help? p.s. we are running Sybase 12. Thanks, Jeff Notice. This message is intended only for use by the person or entity to which it is addressed. Because it may contain confidential information intended solely for the addressee, you are notified that any disclosing, copying, downloading, distributing or retaining of this message, and any attached files, is prohibited and may be a violation of state or federal law. If you received this message in error, please notify the sender by reply email, and delete the message and all attached files. Thank you. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217966 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFOBJECT type=java - severe problems
It this a problem with the underlying java platform, or??? I'd have to say it's more likley your install and not Java or CF ;-) Isn't it fun being special ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217967 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
MS Word Com problem with CF
I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing ...any help would be GREATLY appreciated!! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217968 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ODBC for Sybase on MX 7
Jeff, On 9/12/05, Pratte, Jeff [EMAIL PROTECTED] wrote: Don't tell me I have to have the enterprise edition just for one lousy Sybase file? Not as long as you have the right Sybase ODBC Driver in place. I just did an installation last week which connected to Sybase, although it was an earlier version (10.5, I think). I didn't install the driver. The folks who owned the facility did so. But when you go to the ODBC control panel, if your driver shows up, you should be able to define a datasource there. From what you've said, I'm guessing you already have that. Then you just do the normal datasource setup in CF Admin, choosing ODBC Socket for a driver. In the next screen, there'll be a drop-down menu from which to pick ODBC sources. Your Sybase installation should be there, if it's a system DSN in ODBC. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 530 Means St NW, Suite 110 Atlanta, GA 30318 404.589.0560 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217969 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
file system access security question
Hey guys, A coworker asked me about this today and although I know there is an answer, and I am almost positive there is a very simple answer, for the life of me I can't think of it. Thinking forward about an upcomming project, we will have files that only certain parties are authorized to view. Binary files such as word documents, pdf files, excel documents, possibly images, etc. If we link to these files in a web page directly, there would be nothing stopping any savvy web-user from viewing the source and seeing where a file is stored, and possibly guessing where other files are stored. Of course they would not only have to guess the file structure (which would probably be relatively simple) but would also have to guess the filename (which could be harder, but still not impossible). So, how would restrict access to those files through the web short of pulling everything through flash or something? Is there a way to possibly make a temporary link to the file, or an actual temporary file, although both of those methods have noticable drawbacks. Would this be a case for cfcontent or cfheader? those are two tags I don't have a very good working knowledge of. Thanks guys for any response. -- Ryan Guill BlueEyesDevelopment [EMAIL PROTECTED] www.ryanguill.com (270) 217.2399 The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com www.ryanguill.com/ The Roman Empire: www.ryanguill.com/blog/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217970 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Is there a way to see webservice request generated by CFMX?
Won't help...this is cfmx consuming a web service deployed in j2ee. Getting argument mismatch exception which means I don't even think the request goes out...so nothing to capture. I believe CF is trying to validate against the locally cached wsdl. This document has helped: http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_st ructure_notes.cfm Banging my head against the wall... :( -Stace -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 7:26 AM To: CF-Talk Subject: Re: Is there a way to see webservice request generated by CFMX? Point your test to a local WS. In the local WS, use the new getSOAPRequest or getSOAPRequestHeader functions. This assumes you have CFMX7 of course. On 9/8/05, Bryan Stevenson [EMAIL PROTECTED] wrote: have a lok at the tools at mindreef.netvery cool!! Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217971 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Expiring time of cookies for session management
I agree. Note that the below will convert the cfid/cftoken to be memory only cookie without the use of jssessionid !--- this is supposed to make the cfid/cftoken cookie expire when the browser closes--- cfset Variables.cfid_local = Cookie.CFID cfset Variables.cftoken_local = Cookie.CFTOKEN cfcookie name=CFID value=#Variables.cfid_local# cfcookie name=CFTOKEN value=#Variables.cftoken_local# DK On 9/12/05, Barney Boisvert [EMAIL PROTECTED] wrote: I'm almost positive that those two cookies are unexpiring, because they're used for more than just session management. The session timeout is performed on the server - after period X, the cookies are accepted, but not considered to be part of the session any more. If you le J2EE sessions in the CF admin, then you'll use a jsessionid cookie, which is a memory-only cookie. cheers, barneyb On 9/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm trying to clarify the expiration time for the Cookie.CFID and Cookie.CFTOKEN cookies created when a new session starts. Is it the length of the time that is specified in the sessionmanagement attribute of the cfapplication tag? If so, is this documented anywhere? I did find some documentation (on livedocs) on how to make the cookies automatically expire when the browser is closed, but I need to know what is actually happening when those cookies are created by CF and I need some documentation to back it up if at all possible. Thanks, Dave -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217972 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is there a way to see webservice request generated by CFMX?
Bryan the broken record says: On 9/8/05, Bryan Stevenson [EMAIL PROTECTED] wrote: have a lok at the tools at mindreef.netvery cool!! This will show your WS request and response in XML, raw, ascii, and hexif you really need all those ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Stacy Young [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, September 12, 2005 1:15 PM Subject: RE: Is there a way to see webservice request generated by CFMX? Won't help...this is cfmx consuming a web service deployed in j2ee. Getting argument mismatch exception which means I don't even think the request goes out...so nothing to capture. I believe CF is trying to validate against the locally cached wsdl. This document has helped: http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_st ructure_notes.cfm Banging my head against the wall... :( -Stace -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 7:26 AM To: CF-Talk Subject: Re: Is there a way to see webservice request generated by CFMX? Point your test to a local WS. In the local WS, use the new getSOAPRequest or getSOAPRequestHeader functions. This assumes you have CFMX7 of course. On 9/8/05, Bryan Stevenson [EMAIL PROTECTED] wrote: have a lok at the tools at mindreef.netvery cool!! Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217973 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: More RegExp help...
Good point...then I might consider this ListFirst(ListFirst(fileName,.),_) Again, this is assuming teh format of th efile name will not change.. On 9/12/05, Ben Doom [EMAIL PROTECTED] wrote: Except he also needs to remove the _640x640 part. However, you could do the same thing with underscores instead of periods. --Ben Jann E. VanOver wrote: And if the filename COULD contain other periods: listDeleteAt(filename,listLen(filename,.),.) which says, delete the last list item using . as list delimiter Scott Stroz wrote: I love RegEx, and use them frequently. However, they are not always my first choice. I would actaully use: ListFirst(fileName,.) Assuming there are no periods in the file name. This may actually be a bit quicker since you don't use the Reg Ex engine. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217974 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
What I generally do is to create an instance of word in the application scope. I first check to see if there is an instance already created and if not then I create one. I then use the same instance for all of my calls, I don't create any new instances and I don't end the one I have got, I just have one instance always there. This works fine for me but you will have to try it to see if it suits your needs. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 20:51 To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing any help would be GREATLY appreciated!! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217975 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFOBJECT type=java - severe problems
It's possible... It's not something I've seen before, although that doesn't mean much... This is your own server right? you're not using this code on a shared server where you don't have access to the cf admin? If it's shared it's possible the security sandbox might not allow you to use cfobject/createobject, although I would expect that to produce an error rather than simply hanging. Make sure you've got any hotfixes from MM installed (has there been an updater for 7 yet?) and if that doesn't work, try removing any extra Java libraries you might have installed or a different JVM version (newer or if you're using the latest one, then revert to the JVM that shipped with CF7). I'm just throwing out ideas here of course since I haven't seen this behavior myself. Yes, and the result is the same - the thread hangs indefinitely with no response whatsoever. It this a problem with the underlying java platform, or??? On 9/12/05, S. Isaac Dealey [EMAIL PROTECTED] wrote: Have you tried using CreateObject() instead? cfset sys = CreateObject(java,java.lang.System) or cfset factory = CreateObject(java,coldfusion.server.ServiceFactory) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217976 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
Well I though about that ...but one of the issues I have is that this client is going to I load balanced environment, so no telling which one of the 4 load balanced servers we would end up on, if I use application scope, won't that blow chunks if I end up on server 1 with an instance then the next person coming in ends up on server 2? -Original Message- From: Andy McShane [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 1:38 PM To: CF-Talk Subject: RE: MS Word Com problem with CF What I generally do is to create an instance of word in the application scope. I first check to see if there is an instance already created and if not then I create one. I then use the same instance for all of my calls, I don't create any new instances and I don't end the one I have got, I just have one instance always there. This works fine for me but you will have to try it to see if it suits your needs. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 20:51 To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing .any help would be GREATLY appreciated!! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217977 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: Click-once submit button techniques?
Anyone got a simple JS function to block multiple submit-button clicks? I've looked a few times but never found anything simple that worked and was cross-browser compatible. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Click-once submit button techniques?
input type=submit onclick=this.disabled=true; / On 9/12/05, Damien McKenna [EMAIL PROTECTED] wrote: Anyone got a simple JS function to block multiple submit-button clicks? I've looked a few times but never found anything simple that worked and was cross-browser compatible. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217979 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Click-once submit button techniques?
-Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] input type=submit onclick=this.disabled=true; / Only problem is that when I add this to an input type=image / and try using Firefox it causes none of the data to get passed to the form. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217980 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
Javier, Did you graduate from Roseville High School, class of 1980? Ken Ketsdever [EMAIL PROTECTED] Sorry this is OT. -Original Message- From: Javier Arroyo [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:04 PM To: CF-Talk Subject: RE: MS Word Com problem with CF Well I though about that ...but one of the issues I have is that this client is going to I load balanced environment, so no telling which one of the 4 load balanced servers we would end up on, if I use application scope, won't that blow chunks if I end up on server 1 with an instance then the next person coming in ends up on server 2? -Original Message- From: Andy McShane [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 1:38 PM To: CF-Talk Subject: RE: MS Word Com problem with CF What I generally do is to create an instance of word in the application scope. I first check to see if there is an instance already created and if not then I create one. I then use the same instance for all of my calls, I don't create any new instances and I don't end the one I have got, I just have one instance always there. This works fine for me but you will have to try it to see if it suits your needs. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 20:51 To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing ..any help would be GREATLY appreciated!! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217981 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Click-once submit button techniques?
I just wrote this and it seems to be working: script type=text/javascript language=javascript1.2 var dupeCounter = 0; function stopDupe() { if(dupeCounter = 1) return false; else dupeCounter += 1; return true; } /script Then I just added the following to the submit buttons: onclick=stopDupe(); -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217982 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
OK ...I just remembered what my issue was with application scope Using the sample here: http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=ColdFusion_Documentationfile=1585.htm ...the second time through where it tries to connect versus create I get an error: Error Diagnostic Information Error on Invoke for: COM error 0x80010001. Call was rejected by callee. The error occurred while processing an element with a general identifier of (CFSET), occupying document position (44:3) to (44:53) in the template file ...BLAH, BLAH, BLAH, BLAH any ideas? -Original Message- From: Andy McShane [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 1:38 PM To: CF-Talk Subject: RE: MS Word Com problem with CF What I generally do is to create an instance of word in the application scope. I first check to see if there is an instance already created and if not then I create one. I then use the same instance for all of my calls, I don't create any new instances and I don't end the one I have got, I just have one instance always there. This works fine for me but you will have to try it to see if it suits your needs. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 20:51 To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing .any help would be GREATLY appreciated!! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217984 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Small Problem with Query Duplicates
I have it sorted now I think, and it's the behaviour I expected Deanna - the duplicates (as in duplicate results) might have been misleading and is probably not the best term to describe this, in that I believe distinct IS working correctly, it just doesn't give me what I want. This problem comes back to the way the results are being formatted (I THINK). On every search that's conducted, the output only displays the corresponding url that correlates to the id of the match. An example might help. The database searches on the fields Company name, URL and Description only. Lets say I do a rather vague search looking for ag. I'll often get several results from the same record in the database (some returned from the URL, some from the description etc), and each match is a unique row in the result set - but if I go and output the URL of each record I will of course end up with several of the same. Does that make sense? The Solution: cfquery name=searchFarmLinks dataSource=#request.dsn# SELECT URL, ID, Company, Category, Phone, Email, Paid_listing FROMnzfarming WHERE ID IN ( SELECT ID FROMnzfarming WHERE uCase(Company) like cfqueryparam value = %#uCase(searchtext)#% cfsqltype=cf_sql_varchar / OR uCase(Description) like cfqueryparam value = %#uCase(searchtext)#% cfsqltype=cf_sql_varchar / ) AND URL IS NOT NULL ORDER BYPaid_listing ASC, Company ASC; /cfquery Then to remove all potential duplicates ( I know, wrong word maybe), I just used QueryDeDupe cfset searchFarmLinks=QueryDeDupe(searchFarmLinks,'URL') / And things are as they should be. Regards Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
Yep ...that's me!! -Original Message- From: Ken Ketsdever [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:38 PM To: CF-Talk Subject: RE: MS Word Com problem with CF Javier, Did you graduate from Roseville High School, class of 1980? Ken Ketsdever [EMAIL PROTECTED] Sorry this is OT. -Original Message- From: Javier Arroyo [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:04 PM To: CF-Talk Subject: RE: MS Word Com problem with CF Well I though about that ...but one of the issues I have is that this client is going to I load balanced environment, so no telling which one of the 4 load balanced servers we would end up on, if I use application scope, won't that blow chunks if I end up on server 1 with an instance then the next person coming in ends up on server 2? -Original Message- From: Andy McShane [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 1:38 PM To: CF-Talk Subject: RE: MS Word Com problem with CF What I generally do is to create an instance of word in the application scope. I first check to see if there is an instance already created and if not then I create one. I then use the same instance for all of my calls, I don't create any new instances and I don't end the one I have got, I just have one instance always there. This works fine for me but you will have to try it to see if it suits your needs. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 20:51 To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing ...any help would be GREATLY appreciated!! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217985 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: file system access security question
Yes, you are right. You have to keep these files behind a .cfm page (or any dynamic page, for that matter). You should keep your documents out of the web root so that they are not web-accessible. Your links would be formatted such as: www.mydomain.com/download.cfmdoc=123 In download.cfm, you check to make sure the user has the appropriate authorization to view the file. If so, use CFCONTENT to drop the file to the browser. If not, show a tsk-tsk page. One other option is to store the files in a database, but that would not be required in this instance. It is just another solution to file storage. (This suggestion could also start one heckuva holy war!) M!ke -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 3:07 PM To: CF-Talk Subject: file system access security question Hey guys, A coworker asked me about this today and although I know there is an answer, and I am almost positive there is a very simple answer, for the life of me I can't think of it. Thinking forward about an upcomming project, we will have files that only certain parties are authorized to view. Binary files such as word documents, pdf files, excel documents, possibly images, etc. If we link to these files in a web page directly, there would be nothing stopping any savvy web-user from viewing the source and seeing where a file is stored, and possibly guessing where other files are stored. Of course they would not only have to guess the file structure (which would probably be relatively simple) but would also have to guess the filename (which could be harder, but still not impossible). So, how would restrict access to those files through the web short of pulling everything through flash or something? Is there a way to possibly make a temporary link to the file, or an actual temporary file, although both of those methods have noticable drawbacks. Would this be a case for cfcontent or cfheader? those are two tags I don't have a very good working knowledge of. Thanks guys for any response. -- Ryan Guill BlueEyesDevelopment [EMAIL PROTECTED] www.ryanguill.com (270) 217.2399 The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217986 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
Try this: [cfset releaseComObject(objectName)] M!ke -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:51 PM To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing any help would be GREATLY appreciated!! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217987 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: file system access security question
Yeah, yeah, everyone forget he said that bit about the database thing lol, no holy war here! Alright, sounds great Michael, thats what I was expecting, but didn't know if there was maybe something I wasn't thinking of. Thanks a lot for the response! On 9/12/05, Dawson, Michael [EMAIL PROTECTED] wrote: Yes, you are right. You have to keep these files behind a .cfm page (or any dynamic page, for that matter). You should keep your documents out of the web root so that they are not web-accessible. Your links would be formatted such as: www.mydomain.com/download.cfmdoc=123 In download.cfm, you check to make sure the user has the appropriate authorization to view the file. If so, use CFCONTENT to drop the file to the browser. If not, show a tsk-tsk page. One other option is to store the files in a database, but that would not be required in this instance. It is just another solution to file storage. (This suggestion could also start one heckuva holy war!) M!ke -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 3:07 PM To: CF-Talk Subject: file system access security question Hey guys, A coworker asked me about this today and although I know there is an answer, and I am almost positive there is a very simple answer, for the life of me I can't think of it. Thinking forward about an upcomming project, we will have files that only certain parties are authorized to view. Binary files such as word documents, pdf files, excel documents, possibly images, etc. If we link to these files in a web page directly, there would be nothing stopping any savvy web-user from viewing the source and seeing where a file is stored, and possibly guessing where other files are stored. Of course they would not only have to guess the file structure (which would probably be relatively simple) but would also have to guess the filename (which could be harder, but still not impossible). So, how would restrict access to those files through the web short of pulling everything through flash or something? Is there a way to possibly make a temporary link to the file, or an actual temporary file, although both of those methods have noticable drawbacks. Would this be a case for cfcontent or cfheader? those are two tags I don't have a very good working knowledge of. Thanks guys for any response. -- Ryan Guill BlueEyesDevelopment [EMAIL PROTECTED] www.ryanguill.com (270) 217.2399 The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217988 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MS Word Com problem with CF
oh ...sorry ...I forgot to mention ...this is on CF5 ..and for varied and sundried reasons, we can't upgrade versions of CF, so I don't have releaseComObject available to me, but looking at the CF 7 docs, that would TOTALLY do what I need it to :( -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:01 PM To: CF-Talk Subject: RE: MS Word Com problem with CF Try this: [cfset releaseComObject(objectName)] M!ke -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 2:51 PM To: CF-Talk Subject: MS Word Com problem with CF I am having to convert an asp program to CF and one of the functions needed is a server based mailmerge. I have it working in CF, except it creates a Word app on the server EVERYTIME the template is invoked, I'm invoking as: CFTRY CFOBJECT ACTION=CONNECT CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH CFTRY CFOBJECT ACTION=CREATE CLASS=Word.Application NAME=WordApp TYPE=COM CFCATCH TYPE=Object FONT COLOR=REDError creating word object./FONT CFABORT /CFCATCH /CFTRY /CFCATCH /CFTRY then at the end: cfset x = ActiveDocument.Close() cfset x = WordApp.Quit() The task manager on the server shows that word, after word, after word is beeing created but not destroyed ...as a point of reference in the asp app the object is created as: Set WordApp = CreateObject(Word.Application) and I KNOW for a fact the line that smokes it out of the task manager is: set wordapp=nothing .any help would be GREATLY appreciated!! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Click-once submit button techniques?
Here are the functions I use to disable/enable buttons. The onclick of the button would call the disbtn(). It would only need to be re-enabled if you had some client side JS checks that found errors and popped up an alert() or something. You'd want to call enbtn() so they cold give it another go. !-- function disbtn(frm, btn, txt) { document.body.style.cursor='wait'; eval('document.' + frm + '.' + btn + '.value=\'' + txt + '\''); eval('document.' + frm + '.' + btn + '.disabled=true'); } function enbtn(frm, btn, txt) { document.body.style.cursor=''; eval('document.' + frm + '.' + btn + '.value=\'' + txt + '\''); eval('document.' + frm + '.' + btn + '.disabled=false'); } //-- Frm is the NAME of your form Btn is the NAME of the button Txt is simply the text you want disaplyed on the button. (VALUE of the button's tag I usually use 'Please Wait...' or 'Processing...' Of course you know this is 80% cosemetics and 20% protection since JS can be easily be turned off. I've seen some pretty clever ideas on stopping double submits come through this list. I'd check the archives for a server side solution. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 5:04 PM To: CF-Talk Subject: OT: Click-once submit button techniques? Anyone got a simple JS function to block multiple submit-button clicks? I've looked a few times but never found anything simple that worked and was cross-browser compatible. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217990 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Click-once submit button techniques?
Are using something like cfif isdeifned('form.button') Process the form vars /cfif (or form.button.x) If you click a form button, image or not... and it submits. The form scope is there. Just use something else to check to see if the form was just submitted. Most any of the fields will work in its place. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 5:29 PM To: CF-Talk Subject: RE: OT: Click-once submit button techniques? -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] input type=submit onclick=this.disabled=true; / Only problem is that when I add this to an input type=image / and try using Firefox it causes none of the data to get passed to the form. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Replacement for cfdirectory
Is there a more scalable option than cfdirectory? we have to perform some file manipulation (read a directory and delete files that are not in a db). Some directories have a size in excess of 25GB and 1 million files. Cfdirectory dies and takes the server down too (works fine for smaller jobs). Thanks Victor ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217992 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Replacement for cfdirectory
You're going to have to get off Java completely; the platform-independance it brings is great, but the performance costs make large-scale file operations horribly slow. I'd recommend something as native as you can to (like a shell script), and then just CFEXECUTE it. Doing that, you can return immediately and let the process run in the background without having to wait, which is nice too. cheers, barneyb On 9/12/05, Victor Moore [EMAIL PROTECTED] wrote: Is there a more scalable option than cfdirectory? we have to perform some file manipulation (read a directory and delete files that are not in a db). Some directories have a size in excess of 25GB and 1 million files. Cfdirectory dies and takes the server down too (works fine for smaller jobs). Thanks Victor -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217993 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Replacement for cfdirectory
Batch files (or shell scripts) may come in handy ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 6:17 PM To: CF-Talk Subject: Replacement for cfdirectory Is there a more scalable option than cfdirectory? we have to perform some file manipulation (read a directory and delete files that are not in a db). Some directories have a size in excess of 25GB and 1 million files. Cfdirectory dies and takes the server down too (works fine for smaller jobs). Thanks Victor ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217994 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Replacement for cfdirectory
Thanks for your quick response. You are right, but I need something that is interactive, meaning that I need to check if the file being returned, exists and if not delete it. I will try to see if I can use filters and run the script a few times. If you have any script example that you can share, I will really appreciate Thanks Victor On 9/12/05, Barney Boisvert [EMAIL PROTECTED] wrote: You're going to have to get off Java completely; the platform-independance it brings is great, but the performance costs make large-scale file operations horribly slow. I'd recommend something as native as you can to (like a shell script), and then just CFEXECUTE it. Doing that, you can return immediately and let the process run in the background without having to wait, which is nice too. cheers, barneyb On 9/12/05, Victor Moore [EMAIL PROTECTED] wrote: Is there a more scalable option than cfdirectory? we have to perform some file manipulation (read a directory and delete files that are not in a db). Some directories have a size in excess of 25GB and 1 million files. Cfdirectory dies and takes the server down too (works fine for smaller jobs). Thanks Victor -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217995 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Replacement for cfdirectory
If you've got a directory with a million files and you need to check for the existance of a specific filename, it's going to be slow no matter what. I'd take a look at finding a new filesystem if you wan't break the directory down into smaller chunks. It's possible that some other file system will have different performance capabilities for searches of this nature, and that's probably the only way you're going to keep your structure as-is and get the performance you need. cheers, barneyb On 9/12/05, Victor Moore [EMAIL PROTECTED] wrote: Thanks for your quick response. You are right, but I need something that is interactive, meaning that I need to check if the file being returned, exists and if not delete it. I will try to see if I can use filters and run the script a few times. If you have any script example that you can share, I will really appreciate Thanks Victor -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217996 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfx_image or cfximage
Does anyone know if the two are related? There is cfximage from gafware.com, and then there's cfx_image from http://www.kolumbus.fi/jukka.manner/ Does anyone know if one is based on the other, or if one is better, etc? Thanks! Mike ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217997 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfx_image or cfximage
They're totally separate. If I recall correctly, Jukka's a very indepth image processing tag that utilizes it's own command language, while the other one is very simple. I might have that backwards, but I'm pretty sure it's right. I preferred Jukka's because the simple stuff wasn't much harder, but you could do some pretty cool stuff with it if you got down and dirty. cheers, barneyb On 9/12/05, Mike Soultanian [EMAIL PROTECTED] wrote: Does anyone know if the two are related? There is cfximage from gafware.com, and then there's cfx_image from http://www.kolumbus.fi/jukka.manner/ Does anyone know if one is based on the other, or if one is better, etc? Thanks! Mike -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Click-once submit button techniques?
If it's CFMX7, you can do this: cfinput type=submit name=submit value=complete order validate=submitonce Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217999 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail Errors when mass mailing (not spam)
On Sun, Sep 11, 2005 at 09:17:25PM -0400, Brian Polackoff wrote: Does anyone know on a cfmx 6.1 box how to send using the CFMAIL tag a slew of emails at a time. I have tried looping through, sending to a single address at a time. I have also tried sending the message to every address at once. Usually CF errors. Any ideas, I know this issue was resolved with cf 7 but can't upgrade just yet. Thanks in advace, Brian Polackoff There's a tutorial on throttling the e-mail loop at http://tutorial256.easycfm.com/ Best regards, Charles Polisher ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218000 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail Errors when mass mailing (not spam)
I've been using Matt's mail trickler. Works like a champ. http://mysecretbase.com/Slowing_Down_CFMAIL.cfm Will ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218001 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
USPS test 400 Bad Request
Any ideas why when I do a test to the USPS test server I get a 400 Bad Request? I have taken the sample code and cut and pasted it, then sent is via cfhttp as shown below: cfsavecontent variable=USPSRequestRateV2Request USERID=x PASSWORD=xPackage ID=0ServicePRIORITY/ServiceZipOrigination10022/ZipOriginationZip Destination20008/ZipDestinationPounds10/PoundsOunces5/OuncesCont ainerFlat Rate Box/ContainerSizeREGULAR/Size/Package/RateV2Request/cfsavecontent cfhttp url=#USPSRequest# method=GET/cfhttp Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer [EMAIL PROTECTED] http://www.aftershockweb.com/ Phone 503-244-3440 Fax 503-244-3454 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218002 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail Errors when mass mailing (not spam)
On 9/12/05, Charles Polisher [EMAIL PROTECTED] wrote: There's a tutorial on throttling the e-mail loop at http://tutorial256.easycfm.com/ That was basically the first generation of the trickler code. I revised it to provide failover recovery and posted it along with the original here: http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm There's no way CF 6.1 is going to fail like its being described on its own. It has to be having some outside help. Bad queries, bad mail server, bad data going in... I've got a version of the trickler that uses try/catch and logs all errors in the mail run to a db, and then sends a failure email to the admin. It should be able to recover from input failures just fine. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com http://mysecretbase.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218003 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: USPS test 400 Bad Request
Maybe they dont' accept get requests? I'm assuming you need to use method=Post and post the xml there... -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:28 PM To: CF-Talk Subject: USPS test 400 Bad Request Any ideas why when I do a test to the USPS test server I get a 400 Bad Request? I have taken the sample code and cut and pasted it, then sent is via cfhttp as shown below: cfsavecontent variable=USPSRequestRateV2Request USERID=x PASSWORD=xPackage ID=0ServicePRIORITY/ServiceZipOrigination10022/ZipOriginationZip Destination20008/ZipDestinationPounds10/PoundsOunces5/OuncesCont ainerFlat Rate Box/ContainerSizeREGULAR/Size/Package/RateV2Request/cfsavecontent cfhttp url=#USPSRequest# method=GET/cfhttp Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer [EMAIL PROTECTED] http://www.aftershockweb.com/ Phone 503-244-3440 Fax 503-244-3454 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218004 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: USPS test 400 Bad Request
I thought so too, but they only accept get. Maybe they dont' accept get requests? I'm assuming you need to use method=Post and post the xml there... -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:28 PM To: CF-Talk Subject: USPS test 400 Bad Request Any ideas why when I do a test to the USPS test server I get a 400 Bad Request? I have taken the sample code and cut and pasted it, then sent is via cfhttp as shown below: cfsavecontent variable=USPSRequestRateV2Request USERID=x PASSWORD=xPackage ID=0ServicePRIORITY/ServiceZipOrigination10022/ZipOriginationZip Destination20008/ZipDestinationPounds10/PoundsOunces5/OuncesCont ainerFlat Rate Box/ContainerSizeREGULAR/Size/Package/RateV2Request/cfsavecontent cfhttp url=#USPSRequest# method=GET/cfhttp Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer [EMAIL PROTECTED] http://www.aftershockweb.com/ Phone 503-244-3440 Fax 503-244-3454 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can't use a CF mapping with CFFORMS? is this correct?
Ray, it's quite likely I'm confused. I'm very easily confused - just ask my wife. I can't see what's wrong with this cfform tag, that works just fine on my dev pc, but when I ftp the same file to the production server, it doesnt work: cfform name=myform2 format=flash skin=HaloBlue preservedata=yes blah blah blah /cfform When I turn on debugging for the Cfforms, it tells me that it can't find cfform.swc That's why I tried uploading the whole tree under CFIDE/Scripts into a folder in this site called formscript and then changed the CFFORM tag to the following, cfform name=myform2 format=flash skin=HaloBlue preservedata=yes scriptsrc=../formscripts ... and now it works. Only if i have this in an include file (which is what i usually do with forms to maximise re-use), I have to make sure the calling file is on the same level so the scriptsrc attribute still works, because I can't use the way I normally call cfcs, which would be like this: cfform name=myform2 format=flash skin=HaloBlue preservedata=yes scriptsrc=#request.appmapping#/formscripts That doesnt work. It tells me it can't find /sitename/formscripts/cfform.swc Huh? What the ... .? Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET http://ASP.NET hosting from AUD$15/month On 9/13/05, Raymond Camden [EMAIL PROTECTED] wrote: CF mappings are server side. The SCRIPTSRC value you are using acts client side, as far as I know. If you add a virtual directory that maps to the same place your CF mapping does, you should be fine. Secondly, the SCRIPTSRC attribute is meant to be used to include the stuff Flash Forms use. Typically you don't use this for your OWN work. You can very easily put files in a folder that use CFFORM, and then call those files via cfmodule using mappings. I think you are confusing two different issues here. From the docs for scriptSRC: [snip] ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218006 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: USPS test 400 Bad Request
I kinda doubt it... since get is a url post... theoretically you can only post up to 255 characters in a get request... Have you tried post? Have you tried actually sending your xml in through a cfhttpparam? -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:38 PM To: CF-Talk Subject: Re: USPS test 400 Bad Request I thought so too, but they only accept get. Maybe they don't' accept get requests? I'm assuming you need to use method=Post and post the xml there... -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:28 PM To: CF-Talk Subject: USPS test 400 Bad Request Any ideas why when I do a test to the USPS test server I get a 400 Bad Request? I have taken the sample code and cut and pasted it, then sent is via cfhttp as shown below: cfsavecontent variable=USPSRequestRateV2Request USERID=x PASSWORD=xPackage ID=0ServicePRIORITY/ServiceZipOrigination10022/ZipOriginationZi p Destination20008/ZipDestinationPounds10/PoundsOunces5/OuncesCon t ainerFlat Rate Box/ContainerSizeREGULAR/Size/Package/RateV2Request/cfsaveconten t cfhttp url=#USPSRequest# method=GET/cfhttp Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer [EMAIL PROTECTED] http://www.aftershockweb.com/ Phone 503-244-3440 Fax 503-244-3454 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218007 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: USPS test 400 Bad Request
Yes I have tried post, and tried cfhttpparam before I started this thead. I even asked the techie from USPS about the limitations on url strings, and he said that is the way they do it. Maybe only certain browsers have the 255 character limitation. I think it rather strange too to use url strings to pass a bunch of xml. I kinda doubt it... since get is a url post... theoretically you can only post up to 255 characters in a get request... Have you tried post? Have you tried actually sending your xml in through a cfhttpparam? -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 8:38 PM To: CF-Talk Subject: Re: USPS test 400 Bad Request I thought so too, but they only accept get. p Destination20008/ZipDestinationPounds10/PoundsOunces5/OuncesCon t ainerFlat Rate Box/ContainerSizeREGULAR/Size/Package/RateV2Request/cfsaveconten t ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218008 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54