![]() | |||||
| About LylaCaptcha | Download | FAQs | Known Issues | Contact | |
| Know Bugs or Problems |
I'm getting this error: Object Instantiation Exception. An exception occurred when instantiating a java object. The cause of this exception was that: . |
| The outputDirectory setting in your XML config file is incorrect. If you have outputDirectoryIsRelative set to TRUE, you must make sure that your outputDirectory exists. For example, ./img/ points to a directory relative to the calling file. If you use /img/, it points to a directory relative to your web root. |
| This FAQ hasn't been added to the PDF documentation yet. |
I keep getting a CAPTCHA image that says "Captcha not available". |
| You're probably getting somethig like this image. The font is automatically rotated so that will differ: |
![]() |
| You'll get this type of image if you pass in a "" string of text for the CAPTCHA or the hash reference lookup in the cache was unsucessful. The captchaService.cfc is a stateful CFC because is holds a LRU type cache for hash references. Also, if you have the saltType config option to auto, the salt is automatically generated for that instance of the class. The captchaService must be init'ed into a persistent scope (i.e. application or server) to function properly. |
| This FAQ hasn't been added to the PDF documentation yet. |
I getting the following error: The selected method setColor was not found. The error occurred in C:\CFusionMX7\wwwroot\captcha\captchaService.cfc: line 278 |
| Line 278 that currently reads: |
| <cfset graphics.setColor(getConfigBean().getFontColor()) /> |
| Should read: |
| <cfset graphics.setColor(getColorByType(getConfigBean().getFontColor())) /> |
| This has been fixed and will be released in v.03Alpha. |
| This FAQ hasn't been added to the PDF documentation yet. |
I'm getting: Variable IsXML is undefined. |
| This is a ColdFusion MX 7+ functions and accidentially made it into this release. Just comment out the offending logic. |
| This has been fixed and will be released in v.03Alpha. |