Facing Issue while creating captcha using cfx_captcha in coldfusion 2021 - coldfusion

I'm facing issue while creating captcha using ColdFusion extension tag (cfx). And I'm getting the error message like com/sun/image/codec/jpeg/JPEGCodec. And I'm getting this issue in cf2021 server. My java version is 1.8. Anyone have any thoughts on this?
<cfx_captcha
height="50"
width = "100"
background_image=""
text="#client.word#"
outfile="#result_dir#\#filename#.jpg"
font="#listGetAt(fonts,randRange(1,listLen(fonts)))#"
font_color="#listgetat(colors,randrange(1,10))#"
fontsize="23"
distortion_method="#randRange(1,3)#"
font_opacity="100"
quality="100"
bgcolor1="eeeeee"
bgcolor2="eeeeee">
Click here to view the error message

Related

"Connection Error" When Adding A Product Through Admin Panel

ISSUE: I ran my project and tried adding a product through Django's Jet Dashboard, but it's giving me errors.
Project Repository: https://github.com/Bilal815/ecommerce_storee
ecommerce_storee/products/models.py/
https://github.com/Bilal815/ecommerce_storee/blob/master/products/models.py
ecommerce_storee/products/documents.py/
ecommerce_storee/products/urls.py/
ecommerce_storee/products/views.py/
ecommerce_storee/products/viewsets.py/
My Redis giving warning:
Redis Warning
My Logging Messages:
Log Messages
POST request's response:
POST request's response
Question: What do I do here? Is it an SSL issue or an elasticsearch issue?
I've tried disabling elasticsearch but to no avail and also tried adding product via MySQL and it worked!
P.S. StackOverflow would not allow me to paste the images but is itself making links out of them.
Thank you for any help!

ColdFusion Websocket: The channel entry specified for subscribeTo is not valid

My company is using cfwebsocket on our ColdFusion 11 server. In the past it has worked fine, but recently we started getting this message every time we try to access the page that calls cfwebsocket:
Attribute validation error for the CFWEBSOCKET tag The channel entry specified for subscribeTo is not valid.
"testing123" is not a valid channel registered for this application.
However in our Application.cfc I have setup the channel:
<cfset this.wschannels = [{name="testing123"}] />
Another weird problem is that when I go to the WebSocket section of the ColdFusion Administrator. I get an error as well:
It's really weird because we had this working before. We haven't changed our firewall at all. Can anyone point me in the right direction?
If you have updated to Update 3 then the reason for the problems is due to Adobe breaking websockets in that update.
I submitted a bug just after it was released - http://bugbase.adobe.com/index.cfm?event=bug&id=3865461
Its been fixed and you can request a hotfix from them which does resolve the issue, otherwise you will have to wait until Update 4!

Not able to send mail from ColdFusion 10

In my application I am using ColdFusion 10. I am not able to send any mail using the cfmail tag.
When I log into the administrator and click on the Undelivered Mail button, it is throwing the following error:
Error retrieving markup for element mailBody : Client verification failure. [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]
Error invoking CFC /CFIDE/administrator/mail/undeliveredmail.cfc : Client verification failure. [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]
Can anyone tell me what is wrong?
It sounds like you have a bad CF installation. The admin should not be throwing errors, this looks like a permissions issue at first glance.
Have you tried setting all the params within the cfmail tag (eg, mailserver, username, pwd) instead of using the values set in CFadmin?
Do you get an error when you create a single CFM page with just a CFMAIL tag in it?
You need to ensure your CF install is up to date with all the hotfixes and that they are installed correctly.
see http://forums.adobe.com/thread/884947
or post the error message you are getting when you use your CFMAIL tag

Server home is not valid for ColdFusion10 in CF Builder

Today when I was trying to configure my ColdFusion10 Server with the ColdFusion Builder 2, It shown me a error message like "Sever home is not valid", Screenshot:
I can not move forward both the "Next" and "Finish" button is disabled and showing the error message.
Can anyone please suggest me which path I should provide ?
As per your comment above: you've selected "JRun" as your application server, but ColdFusion 10 runs on Tomcat. That'll be your problem.

Coldfusion 8 & Twitter - cffeed unable to read the source URL. Status Code: 400

In Coldfusion 8 Enterprise (8,0,1,195765), the following two lines of code causes this error:
Unable to read the source URL. Status Code: 400 Try adding or changing UserAgent attribute in the CFFeed tag
<cffeed source="http://twitter.com/statuses/user_timeline/62944327.rss" query="twitter">
<cfdump var="#twitter#">
Yet, on my development box with Coldfusion 8 Standard (8,0,0,176276), it's working.... Argh. Any ideas why?
Not sure, but possibly it is caused by rate limiting as explained on this page
http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors
and this page:
http://apiwiki.twitter.com/Rate-limiting
Does the server running Enterprise have to go through a proxy to get out? I've had that happen before with cfhttp, it works on dev but not in production because the production box goes out through a proxy and you have to supply the proxy info to make it work.