Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
It seems like I saw how to do this once, but my Google-fu is weak today and I can't find it. Does anyone know how to manually create a ColdFusion error object? To clarify, I don't mean using cfthrow. I want to be able to control more of the error data than I can using cfthrow. Any ideas?

Re: Creating a ColdFusion Error

2011-11-08 Thread Russ Michaels
what exactly is it you want to do ? On Tue, Nov 8, 2011 at 3:55 PM, Steve Bryant st...@bryantwebconsulting.com wrote: It seems like I saw how to do this once, but my Google-fu is weak today and I can't find it. Does anyone know how to manually create a ColdFusion error object? To

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
I'm doing some functional testing with CFSelenium (thanks Bob!) for a situation that could potentially create a ColdFusion exception on the page being tested. I would ideally like to recreate that exception within my test so that it returns an appropriate error status (complete with correct

Re: Creating a ColdFusion Error

2011-11-08 Thread Dave Watts
It seems like I saw how to do this once, but my Google-fu is weak today and I can't find it. Does anyone know how to manually create a ColdFusion error object? To clarify, I don't mean using cfthrow. I want to be able to control more of the error data than I can using cfthrow. Any ideas?

Re: Creating a ColdFusion Error

2011-11-08 Thread Russ Michaels
This is what CFTHROW is for. Just copy the details from the REAL error and use the same details to THROW an error of the same type. On Tue, Nov 8, 2011 at 4:10 PM, Steve Bryant st...@bryantwebconsulting.com wrote: I'm doing some functional testing with CFSelenium (thanks Bob!) for a

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
I want to specify the stack information as well so that I can see all of the files and lines involved in the original exception. Steve You can specify type, message and detail information with CFTHROW, just like you'd read from CFCATCH. Out of curiosity, what information do you want to

Re: Creating a ColdFusion Error

2011-11-08 Thread Raymond Camden
That will happen automatically when you throw. On Tue, Nov 8, 2011 at 10:33 AM, Steve Bryant st...@bryantwebconsulting.com wrote: I want to specify the stack information as well so that I can see all of the files and lines involved in the original exception. Steve You can specify type,

Re: Creating a ColdFusion Error

2011-11-08 Thread Steve Bryant
Yes, but I will get the stack from the cfthrow. I want the stack of the error on the page that I am calling via CFSelenium. As far as my running ColdFusion application is concerned, that is just any page being called by Selenium-RC. I can get the data from the error (right now by using

cfftp preserve remote file timestamp?

2011-11-08 Thread Yuliang Ruan
is there an option somewhere? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

word doc to PDF

2011-11-08 Thread Russ Michaels
anyone got any recommendations for DOC to PDF conversion ? CFDOCUMENT requires OpenOffice to be on the server, which I don't really want to do, so looking for an alternative. -- -- Snake ~| Order the Adobe Coldfusion

Re: FCKEditor.. XML Request error: Access denied (403)

2011-11-08 Thread Pete Freitag
This is disabled by default, you need to enable it via a Java System Property, see details here: http://www.petefreitag.com/item/718.cfm -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is

Maximum Request Setting CF6

2011-11-08 Thread Brian Cain
Greetings, I have a legacy site running CF6.1 Enterprise. I have noticed that it will only process 8 requests at one time and will que the others. Does anyone know where I might be able to change this in CF6? I cannot find a setting for it.

CFFTP secure bug?

2011-11-08 Thread Yuliang Ruan
having a wierd issue here. i believe it may be a bug in CF. code: cfftp secure=true action=open server=#ftpserver# port=#ftpport# username=#username# password=#password# fingerprint=#fingerprint# connection=myftp cfftp action=getfile connection=myftp remotefile=testfile.txt

Re: CFFTP secure bug?

2011-11-08 Thread Andy Allan
You haven't mentioned which version of CF you're using, but there was a bug in CF9.0 with SecureFTP. It's fixed in 9.01 (8.01 is fine too). Andy On 8 November 2011 21:29, Yuliang Ruan yuliangr...@hotmail.com wrote: having a wierd issue here.   i believe it may be a bug in CF. code: cfftp

Re: CFFTP secure bug?

2011-11-08 Thread Yuliang Ruan
we're already on 9.0.1. yea i saw that bug report. that one dealt with creating the connection. in my situation, the connection establishes fine. i can listdir fine. it's the get command that's causing an issue. ~|

Re: word doc to PDF

2011-11-08 Thread Claude Schnéegans
CFDOCUMENT requires OpenOffice to be on the server, Although it does not answer your question, I understand you don't want to use OpenOffice. I recently installed the last version, tried to open some simple Word documents with it and the result was just horrible. If OpenOffice works that

Re: word doc to PDF

2011-11-08 Thread Mike Chabot
I am assuming this is something you need to have on your Web server, which I believe would rule out Adobe Acrobat Pro. ActivePDF makes some good server PDF tools that I have used in the past with great success. I would recommend that or installing OpenOffice. I personally install OpenOffice on

Re: word doc to PDF

2011-11-08 Thread Judah McAuley
What versions of Office do you have to support? If you can get away with only supporting Open XML doc files, you'll be able to do a lot more. They are zip files of xml docs and resources and MS has an SDK for working with them. You can convert them into a number of formats through XSLT and other

Re: Maximum Request Setting CF6

2011-11-08 Thread Dave Watts
I have a legacy site running CF6.1 Enterprise.  I have noticed that it will only process 8 requests at one time and will que the others.  Does anyone know where I might be able to change this in CF6?  I cannot find a setting for it. It's been a long time since I've looked at CF 6.x. But if