Cfcaptcha looks to be working just fine. This is using your code on Jetty Desktop with OpenBD 3.2. Try a different browser. Also use your inspector tools to figure out what's blocking the CFCaptchaengine.cfm file. The networking tab will be helpful too. I'm pretty sure the issue is something with your configuration Magnus. Are you testing this locally or on a server? <https://lh3.googleusercontent.com/-iBSTmcwT1iQ/V-_dV_-rn7I/AAAAAAAAAJo/CpYnPcNhuikj_xYaGWiXjTxFI2JuZ2ndwCLcB/s1600/cfcaptcha.png>
<https://lh3.googleusercontent.com/-iBSTmcwT1iQ/V-_dV_-rn7I/AAAAAAAAAJo/CpYnPcNhuikj_xYaGWiXjTxFI2JuZ2ndwCLcB/s1600/cfcaptcha.png> On Wednesday, September 28, 2016 at 9:50:45 PM UTC-5, Magnus wrote: > > > <https://lh3.googleusercontent.com/-jh-O48nkrDk/V-yBQFmDAwI/AAAAAAAAAxQ/QgMh7LYnYtkkVUv00EHCCedm0pKoV4O8wCLcB/s1600/captcha.jpg> > Here is ny entire file. It is just trying to get a feel for the tag so it > is as simple as can be. There is no URL re-writing and happending at the > app;lication level to influence the page: > > <cfset captchaString = "CFML"> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>Captcha Test</title> > </head> > <body> > > <h1>Captcha Test</h1> > <cfcaptcha width=200 height=50 displaystring="#captchaString#"> > > </body> > </html> > > > And the attached image is what I get. > > So what am I missing? > > Thanks, Magnus > > > > On Friday, 9 September 2016 05:25:56 UTC-7, Aaron J. White wrote: >> >> Hey Magnus, >> >> Unless there is a bug in the engine I imagine you just need to make sure >> that the cfcaptcha resource file is ignored by whatever URL rewriting you >> are using. Are you using an URL rewriting or any other "thing" that manages >> your resource files? As Alan mentioned cfcaptcha needs to caught by the >> engine so if there's anything trying to take control of the captcha >> resource file it won't work. (Hope this is making sense) >> >> It's similar to the other tags like cfjavascript that create files. Here >> is the rule I use in Tuckey to ignore resources that the engine needs: >> >> <rule enabled="true"> >> <name>Generic Pretty URLs Pass-through</name> >> <condition type="request-uri" >> operator="notequal">^/(index\.cfm|error\.cfm|robots.txt|osd.xml|flex2gateway|cfide|cfformgateway|assets|favicon|bluedragon|debugger|media|load\.cfres)</condition> >> <from>^/(.*)$</from> >> <to type="passthrough">/index.cfm/$1</to> >> </rule> >> >> The easiest way to check if cfcaptcha is working is with a completely >> blank application with no MVC framework or URL rewriting. Maybe use >> JettyDesktop to remove your server configuration from the cause too. >> >> Thanks, >> Aaron J. White >> >> >> On Thursday, September 8, 2016 at 5:55:26 PM UTC-5, Magnus wrote: >>> >>> So it seems like it is buggy. it is a bit of a black box, so I don't >>> know what, if anything, I can do to make it work. >>> >>> Can anyone suggest an alternative? >>> >>> Magnus >>> >>> On Tuesday, 6 September 2016 15:05:32 UTC-7, Al Holden wrote: >>>> >>>> My memory is even worse, so I may be confusing this with another issue >>>> when I say: >>>> It may have something to do with whether or not the host machine was >>>> "headless" (had no libraries or daemons with which to prepare graphics for >>>> console use). >>>> Hmmm. Maybe that was for bar codes. If so then never mind. >>>> Al >>>> >>>> >>>> On 9/6/2016 2:07 PM, Ernest McCloskey wrote: >>>> >>>> From what I remember the captacha image is saved in a temp directory >>>> within openbd that I never could figure out how to get too. I gave up on >>>> it along time ago and used Googles Captcha. >>>> >>>> On 9/6/2016 4:52 PM, Magnus wrote: >>>> >>>> I am just getting a broken image. Is there a setting need to set in the >>>> administrator. I am using a fairly recent nightly build. >>>> >>>> Magnus >>>> >>>> On Monday, 5 September 2016 19:12:19 UTC-7, Alan Williamson wrote: >>>>> >>>>> that is a special file that is caught by the engine before it deems it >>>>> unfound >>>>> >>>>> >>>>> >>>>> On September 5, 2016 10:10:24 PM EDT, Magnus <[email protected]> >>>>> wrote: >>>>>> >>>>>> Does CFCAPTCHA work? >>>>>> >>>>>> Using this code: >>>>>> <cfcaptcha width=200 height=50 displaystring="#captchaString#"> >>>>>> >>>>>> ...it produces this output: >>>>>> >>>>>> <img src='/CFCaptchaEngine.cfm?id=1473126765877' width='200' height='50' >>>>>> border='1' style=''> >>>>>> >>>>>> But CFCaptchaEngine/cfm is not a file on my machine so the image does >>>>>> not show. >>>>>> >>>>>> What's up? And if it doesn't work, what is a good alternative? >>>>>> >>>>>> Thanks >>>>>> >>>>>> -- -- online documentation: http://openbd.org/manual/ >>>> http://groups.google.com/group/openbd?hl=en --- You received this >>>> message because you are subscribed to the Google Groups "Open BlueDragon" >>>> group. To unsubscribe from this group and stop receiving emails from it, >>>> send an email to [email protected]. For more options, >>>> visit https://groups.google.com/d/optout. >>>> >>>> -- -- online documentation: http://openbd.org/manual/ >>>> http://groups.google.com/group/openbd?hl=en --- You received this >>>> message because you are subscribed to the Google Groups "Open BlueDragon" >>>> group. To unsubscribe from this group and stop receiving emails from it, >>>> send an email to [email protected]. For more options, >>>> visit https://groups.google.com/d/optout. >>>> >>>> -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
