Make sure the filesystem allows you to write to the folder in which
the image is being written. Check what's returned by
getFileLocation().

On 4/12/07, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
> Hey all -
>
> It's getting late and I'm getting frustrated/desperate.  I'm trying to
> get BlogCFC installed on a Linux box running CFMX 7.  Everything's
> running fine (as far as I can tell so far) except for CAPTCHA.  When I
> launch the window to add a comment the image is broken.  When I call
> the CAPTCHA URI in an iframe (so I can see the error), I get:
>
> An exception occurred when instantiating a java object. The cause of
> this exception was that: .
> The error occurred in /path/to/org/captcha/captchaService.cfc: line 145
> Called from /path/to/org/captcha/captchaService.cfc: line 120
> Called from /wwwroot/showCaptcha.cfm: line 2
> Called from /path/to/org/captcha/captchaService.cfc: line 145
> Called from /path/to/org/captcha/captchaService.cfc: line 120
> Called from /wwwroot/showCaptcha.cfm: line 2
>
> 143 :           <cfelseif arguments.type IS "file">
> 144 :                   <cfset tempFileLocation = getFileLocation() />
> 145 :                   <cfset stream = createObject("java",
> "java.io.FileOutputStream").init(tempFileLocation) />
> 146 :                   <cfset results.type = "file" />
> 147 :                   <cfset results.fileLocation = tempFileLocation />
>
> I can't find any information via Google, but I'm sure I'm just missing
> a setting.  I set this whole deal up fairly hastily, but I can't
> figure out what I didn't do.  If anyone's seen this before and can
> lend a helping hand, I'd certainly appreciate it.
>
> Thanks.
>
> Rob
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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

Reply via email to