Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
We migrated our Coldfusion 2023 Windows Server to a new server over the weekend, and "cfhtmltopdf" has stopped working. It can generate a PDF fine and display it, but when actually trying to save it to the server, we get this:<cfhtmltopdfdestination="c:\filename.pdf" source="http://#CGI.Server_Name#/filename.html" overwrite="true"></cfhtmltopdf> Jan 31, 2024 13:16:12 PM Error [ajp-nio-127.0.0.1-8022-exec-24] - Connect to 127.0.0.1:8995 [/127.0.0.1] failed: Connection refused: connect http://127.0.0.1:8995/PDFgServlet/Jan 31, 2024 13:16:12 PM Error [ajp-nio-127.0.0.1-8022-exec-24] - Error occurred while generating PDF. Not sure if this helps, but http://127.0.0.1:8995/PDFgServlet/ brings up: HTTP ERROR 400 Bad RequestURI: /PDFgServlet/STATUS: 400MESSAGE: Bad RequestSERVLET: PDFgServletPowered by Jetty:// 9.4.51.v20230217 The service for Coldfusion2023add-onservice is running, and port 8995 is open. Any ideas/suggestions?
I am facing an issue while creating pdf using cfdocument tag where the content are Arabic characters. When I am printing the Arabic in web page(HTML) everything works fine, but when I put the same characters in pdf few ligature(joint letters) are missed out. I have added the code below which creates the pdf in the same location where the file is run and display the content on screen. I have underlined the characters on screen display, which are missed out while rendering the texts in pdf. Is this a bug in cfdocument? Any help is much appreciated. <cfprocessingdirective pageEncoding="utf-8"><cfdocument name="TT" format="pdf" fontEmbed="Yes" margintop="1.1" marginbottom="0.5" backgroundVisible="Yes" pagetype="a4" orientation="portrait">&#1575;&#1587;&#1605; &#1575;&#1604;&#1605;&#1575;&#1604;&#1603;<br>&#1575;&#1604;&#1605;&#1576;&#1604;&#1594; &#1575;&#1604;&#1605;&#1587;&#1
Good morning, In order to be able to put an icon, I test if the file exists! <CFIF fileExists ("#DIRV#")> <A href="../../Admin/_ebooks/Libre_Video.cfm"><img src="../../Admin/_Pictures/Video.gif" width="30" height="30" title ="Presentation Video" /></A> </CFIF> But since I'm in a loop, I'm going to get negative answers! Here is the error message:Security: The requested template has been denied access to /SoLivres/_Ouvrages/APED/Auteurs/IRLES/UNE_ENFANCE_PIEDS-NOIRS/Videos/UNE_ENFANCE_PIEDS-NOIRS.mp4. The following is the internal exception message: access denied ("java.io.FilePermission" "/SoLivres/_Ouvrages/APED/Auteurs/IRLES/UNE_ENFANCE_PIEDS-NOIRS/Videos/UNE_ENFANCE_PIEDS-NOIRS.mp4" "read")Thank you for your help. Bonjour,Afin de pouvoir mettre une icone, je teste si le fichier existe ! <CFIF fileExists ("#DIRV#")> <A href="../../Admin/_ebooks/Libre_Video.cfm"><img src="../../Admin/_Pictures/Video.gif" width
I'm getting this warning in the coldfusion-out.log everytime the application restarts. It started after I installed CF2021 update 12 on Centos 7.9. Using mod_jk connector. I've looked in this post: https://community.adobe.com/t5/coldfusion-discussions/weirdness-after-cf-auto-lockdown-tool/m-p/14111440, however I did not run the lockdowntool.Could someone please explain what this package is used for and is this warning something to look into closely? WARN [main] - Unable to determine dialect of the StAX implementation at jar:file:/CF_HOME/coldfusion2021/appinstance1/lib/bundleaxis/wstx-asl-3.2.9.jar!/ Thank you!
OK. One last item to cure with respect to applicant searches.In CF 4.51 the collection for applicants was based on a huge folder containing .txt files.In CF 2023 the colleciton is based on a huge folder containg: .doc, .docx, .pdf & .txt files. The code that worked against the .txt file collection was.****************************values (#getCurrentSearchID.theSearchID#, #Replace( replace( URL, "/", "" ), ".txt", "" )#)****************************Basically, it stripped off the .txt part of the file name & the "/" that solr inserts into the value of URL> so that we are left with the file # to use in further processing.I have tried the following against the folder with the 4 extensions mentioned above.***************************values (#getCurrentSearchID.theSearchID#, #Replace( replace( URL, "/", "" ), (".doc" or ".docx" or ".txt") ", "" )#)***************************CF is not happy with my (".doc" or ".docx" or ".txt") construct. Would very much appreciate an
So, on my website I have this code that works when it comes to sending an email to the website owner. This is from contact form. Somebody will populate stuff and send to the owner. <!--- Send email after successful registration ---> <cfmail server="131.153.102.58" from="support@almarsguides.com" to="#form.email#" subject="Sample CF e-mail"> This is the body of a test email. </cfmail> However, I want to make registration where user will recieve email to finish registration, however, this is what is happening. <cfmail server="smtp.gmail.com" port="587" useSSL="false" username="AlmarsGmailEmail" password="TEST" from="support@almarsguides.com" to="#form.email#" subject="Sample CF e-mail"> This is the body of a test email. </cfmail> I changed password here
Hello, I have recently installed cfmx 2023 but however I'm unable to access the admin page using the credentials I have provided via silent install. I have done two things here -->1. It first had localhost(default I believe) in allowedAdminIPList but then I have removed it and restarted cfmx. so, now I can see the admin page(planning to restrict through in next phase but wanted to get somewhere) . However, when I provide the admin credentials it gives me 4032. later, I tried changing the admin.security.enabled from true to false. and I was able to view the admin page without passing credentials. However, I believe thats not the right way and its a security risk. I'm not quite sure what the issue is here. can someone provide any inputs on what could be the issue? Stack details:CFMX version : 2023OS : RHEL9Tomcat : 9.0.86JDK17 Thanks,Manoj
So, does anyone have a clue why coldfusion would return a different value from a mysql datetime?I've got a 4 hour difference. Is there some setting I'm missing? Orm or Query. This is bizarre.(Aside from cf adding in milliseconds of 0) Orm record: Database record: Query records: Database records:
Does not seem to be a rhyme or reason to this, but every once in a while I getjavax.servlet.ServletException:Application v1 could not be found.The App CFC in the dir has the name component { this.name = "v1"; this.applicationTimeout = createTimeSpan(1, 0, 0, 0); I saw some other answers that could be the application timing out, but it happens more than once a day.
Hi,We have functionality where we store a mapped pdf in AWS, then when we want to create a pdf with our own values, we read in the binary and use cfpdfform with action populate, then use cfpdfformparam to populate our values. This works fine but when we want to create a lot at the same time, we create them, add them to a directory then do a cfpdf action="merge" on that directory to get what we need. Dependant on the amount i'm getting timeouts if its anything around the 100 mark. Just wondering is there an alternative way of doing it. We're using CF2018. Is there anything in more recent releases which make life easier with pdf generation? Thanks
Our website has been getting alot of direct calls to pages that require parameters that are hidden. The requests are missing the parameters and so the page fails since the parameter is not defined. I was going to just define all undefined parameters but that whould just hide the original problem of the site is being Hacked. I would rather log that the page was requested without parameters and then redirect the call to a "page not found" as if the page did not exist. I'm not sure how to accomplish this. Any Ideas or other solutions?
Hello Community!Recently we migrated to Windows Server 2008 and IIS 7. After that we have been receiving calls from our customers that once they get to the checkout button they receive a message: "The page cannot be displayed blah blah." After reading the reports from customers service, I detected a pattern in the errors: They all occur on our secure pages. Before blaming the servers or the users' browser, I want to make sure that I can do on my end, assume responsibility and try to make things better. Have any of you experienced some issues with IIS 7, SSL and coldfusion pages? Does anyone have been on the same situation? Do you have any thoughts to improve my code if the coding is the problem?Thanks! Ysais.
Hello,I am building a system where intranet users are allowed to drag and drop files into a div on our site, which after some validation will then automatically upload them to a file server. One of my requirements is: when the file which was uploaded is a .msg file (Outlook Email), extract any files which are attachments to that email and upload them individually. I cannot find an existing solution to accomplish this online.The closest thing I found is this https://stackoverflow.com/questions/16473421/coldfusion-extract-information-from-a-msg-file which is fantastic, as it includes everything I need except how to extract the attachments. I believe it is possible with the correct usage of the org.apache.poi.hsmf.MAPIMessage object. With the following code I am able to see each attachment object, and it's filename and extension. I just can't figure out how to save each object to the file system. Any help is GREATLY appreciated!!<cfscript>&
Hi, Adobe writes: The JVM flag -Dcoldfusion.searchimplicitscopes will be removed in the next major release of ColdFusion, hence disallowing searching of an unscoped variable in the implicit scopes. This may require application code changes. We are currently on Coldfusion2021. Does "next major release of ColdFusion" mean something like Coldfusion2025 or some other version than Coldfusion2021 and until we upgrade to that version we can continue to use the flag?
I am playing around with the the SAML SP and IdP configurations in CF2021. I am using CF as both IdP and SP.When I call initSAMLAuthRequest() I receive the following error:coldfusion.util.KeystoreUtils$CertificateException: Errors found in the certificate at coldfusion.saml.SamlHelper.stringToCert(SamlHelper.java:779) I assume this error is related to the IdP certificate. This certificate is a self-signed certficate that was generated with the following command:openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \-nodes -keyout idp.key -out idp.crt \-subj "/C=US/O=IdP Test/OU=SSO/CN=test.internal" \-addext "subjectAltName=DNS:test.internal,IP:192.168.1.2" I used the Manual IdP configuration option and pasted the contents of idp.key into the Signing Certificate box without the ----BEGIN|END PRIVATE KEY----- bits. It looks like MIIJQg....Tnw== If I leave the -----BEGIN PRIVATE KEY----- bits in there then then I receive an error saying "The input string
Hello there. Me again 😛I have a website where I have a link https://whatever.com/membersDataNow, this folder membersData has other folders as well but the main point is that access to it should not be allowed. There should be a new page that is being shown each time somebody tries to enter and its IP doesn't match the IP of the website owner. I would like to do this with Application.cfc or if it's not possible, do it with https://whatever.com/membersData/index.cfm file inside. Keep in mind that index.cfm is always hidden in URL.
What are the feature differences between ColdFusion Developer and Enterprise editions? Is there any online documentation from Adobe that explains what they are?
I've been developing and testing Adobe's pdf autotag api and I'm pretty impressed. I'm wondering why autotag is not in <cfpdf>? With the price of CF these days and single version license upgrades... seems like we should be able to use CF to tag a pdf - not pay more to Adobe to use an api. Really, all the document services should be native to CF. Who's with me???
I have a legacy SOAP API built in Coldfusion. This API is well established and works most times, until it doesn't but just for some third parties integrating with it. The issue I am facing is quite odd, I have checked the logs but not able to pinpoint why it occurs or when.This is what the API Method in question looks like when I access the wsdl directly from browser: As you can see the parameters names for function SubmitJobApplocationRequest are defined and listed as expected; however quite regularly, after the API gets used for sometime (once again, I am not able to find out when it occurs unfortunately nor why it does), the parameter names change to the following:At this stage, some of the third party software's integrating with this API get the following error message back from Coldfusion: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The TOKEN parameter to the SubmitJobApplication function is required but was not passed i
Hello, I am trying to keep my ColdFusion 2021 web server up to date and so far I have updated from update 8 to 10 but I am not able to update to 11 or 12. I have loaded the contents of hotfix-packages-cf2021-012-330257.zip into the bundles directory and then I have ran the update 11 / 12 updateinstaller jar from cmd as an admin and the application server service will not start after. This is exactly what I have done for all prior updates and it has worked without issue. It appear as though it is failing as the service is trying to authentice the license online and the web server does not have internet access. It also appears to uninstall a lot of required packages and so naturally after the upgrade I cannot access CF Admin. Feb 24, 2024 17:07:13 PM Information [main] - Uninstalling the package netty-common-4.1.45.FinalFeb 24, 2024 17:07:13 PM Information [main] - Uninstalling the package reactive-streams-1.0.2Feb 24, 2024 17:07:13 PM Information [main] - Uninstallin
I would like to automate setup of my cf install and wondered how one can set maximum number of post params via the API?
Hi, I use the below code to allow users to upload file(s) from the browser to our File Server. <cffile action="UPLOAD"filefield="#ThisFile#"destination="#NewDir#"nameconflict="Overwrite" <!--- nameConflict="Error" ---> > Every now and then, it will give users an error. "The page was not displayed because the request entity is too large." Today, a coworker was having this issue from his laptop from another location. So, I uploaded the file for him, using the same Cold Fusion interface. Of the 10 attempts, 2 attempts yielded the SAME errors and the other attempts went through without problems. When the error occurred, I could not find anything in the application.log. I have connection speed above 100MB/s both upload and download. The file in concern was only 100k in size. I could only find the below thread on this topic. https://community.adobe.com/t5/coldfusion-discussions/http-er
I have Coldfusion running on Linux 8 behind a firewall. From CF admin, I was able to update from 2 to 3 and then to update 4.I'm having issues upgrading from update 4 to any other version. I selected update 5 download and install. I clicked OK and then it shows Unable to proceed beyong this point. I tried to run the command as suggested. [root@elcfxa03 bin]# pwd/opt/ColdFusion2021/cfusion/bin[root@elcfxa03 bin]# ./cfpm.sh install administratorThe packages repository https://www.adobe.com/go/coldfusion-packages is not accessible. You can only load the packages that are available locally in the /opt/ColdFusion2021/bundles directory.The following packages will be installed : adminapi:2021.0.05.330109,administrator:2021.0.05.330109Downloading the package adminapi-2021.0.05.330109.zipAn error has occurred while installing the package adminapi. Exception : nullThe package adminapi is marked for uninstallation. Uninstallation will be done, on the next server st
Is there a book available on the latest version of ColdFusion? Something akin to a learning guide?
I am using Fluend as a sidecar of a Coldfusion application in Azure AKS. I am facing issues with some log messages getting truncated.I am using this docker image fluent/fluentd-kubernetes-daemonset:v1.16-debian-elasticsearch8-1.FluentD configuration:apiVersion: v1 kind: ConfigMap metadata: name: fluentdconf data: fluent.conf: | <source> @TyPe tail path /opt/coldfusion/cfusion/logs/*.log path_key tailed_path pos_file /var/app/file.log.pos tag aks.coldfusionlog max_line_size 50MB <parse> @TyPe none </parse> </source> <match aks.coldfusionlog> @TyPe stdout </match>
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.