Questions
Als letztes aktiv
If I leave my page long enough for the user login session to timeout, then reload the page, I get an HTML rendering of the page. Then if I reload it again, the page renders normally. It happens on at least two pages I have tested so far. Firefox gives an engimatic error "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data", but apart from that, nothing else. I don't know what it's looking at when it says "line 1".Line 1 of the HTML itsef is:<!DOCTYPE html> Before I start deconstructing the page line by line till the error goes away, just wondering if anyone had come across any such thing before.
I'm curious if anyone testing out cf2025, that uses CKeditor has figured out what to do about the out of date messages that it produces when using ckeditor? I will probably just convert them all to regular text areas, its just pretty annoying how its not up to date with cf2025. I'm running a development box using the development version.
Hello everyone, I'm trying to output my cfquery to array. I need something like this:[code]<cfset myarray=arrayNew(2)><cfloop query="qryCustomers"> <cfset myarray = [{"CustomerID":ID,"Name":FirstLast}]></cfloop>[/code]I tried this code but that did not work. Error always indicate that something is wrong in my cfset where I have my ID and Customer name together. I'm not sure either if I can do this in cold fusion. I have to put these to values together because I have to use them later to compare with other values from second query. If anyone can tell me what is wrong in my code I would appreciate that. Thanks in advance.
Hello! I'm trying to add a GIF file to a PDF using the CFPDFFORMPARAM tag and not having any success. Attached is a code snippet and a screenshot of the output PDF. The 'sig' form field is just a plain text field, but you can see that the data is captured and being put in. the 'Image1' form field is an image field. I cannot get it to display the actual image. On the output screenshot, the image field and text field are side by side.
Hi experts, I have an issue with the font size in a pdf file that was generated by .cfm files. With the same .cfm files and .css ( baaically the codes are identical), the font size in the generated report pdf file looks different in UAT and production. I am thinking that it could be that .css is not production environment. It works in lower environment because I changed the font size in .css, it reflects in the generated pdf file.Is it possible that the Admin Control has some settings to control that?in a.css file: td.L1 {font-size : 8pt;In .cfm file:<link rel="stylesheet" type="text/css" href="css/a.css"> Thanks very much,Jc
In our Coldfusion application there is a PDF form (created in Adobe Professional) that contains a QR code field. The QR code reflects Field X of the form.When I make changes to X in Adobe Professional, a corresponding QR code is printed into the form. However, if I fill out Field X using ColdFusion (cfpdfformparam), the QR code is not updated.Is it possible in Coldfusion to have the QR code field change dynamically? Is there any parameter or function achieving that behavior or is there a property of the used form? Of course I know I can create the QR code as an image and load it into an image field - this is plan B for me.
Greetings All,After upgrading to update on ColdFusion 2018 I have been getting an error from cffile stating "Uploads with empty file extensions are not allowed". This has been isolated down in my code to an implementation of plupload which will do large file uploads via chunking.When inspecting the headers plupload is changing the filename to "blob" which is stripping the file extension.------WebKitFormBoundaryvA9v8ChjbTSXEt9w Content-Disposition: form-data; name="file"; filename="blob" Content-Type: application/octet-stream Has anyone found a way to disable this check in ColdFusion or at least modify it to allow for the upload of files without extension? I have confirmed it was not present in CF 2018 update 3.Regards,
Using an old server for our internal APP.We also use ColdFusion and O365. O365 will require OAUTH 2.0 as of SeptemeberThe version of CF will not work so I need to update to v18 or v21Support is telling me I can only purchase CF 2025.
if you use the literal word "true" as the value for integer type cfqueryparam, this executes the query with an integer value of "1". <cfif StructKeyExists(arguments, "company_id")> AND tblCompany.company_id = <cfqueryparam value = "#arguments.company_id#" cfsqltype = "cf_sql_integer"> </cfif> This returns a record when the column value equals one "1" ??? Is this the intended behavior? Is there a way around this. I'm guessing IsValid "Integer" might help. I realize CF equates true to 1, but when the type is specified, it should not. Anyone been through this?
I have updated my ColdFusion2021 installation from update 19 to update 20. Everything looked OK during installation but I see the following error in the logs when I try and install the sqlserver package:An error has occurred while installing the package sqlserver. Exception : Illegal character in opaque part at index 2: D:\ColdFusion2021\bundles\repo/bcpkix-jdk15on-153.jarIt looks like the bcpkix-jdk15on-153.jar is missing from the update 20 repo.I copied the file from an update 19 installation and was then able to load the sqlserver package. Anyone else seen this issue or can try replicating to see if it is unique to my installation.
We pushed CF2021 Update 10 with no issues, but four days later a Windows patch was pushed and now we are having an ORM issue. Has anyone ever experience the following error before? ***************************************************************java.lang.ClassNotFoundException: org.hibernate.HibernateException not found by orm [198]at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1597)at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1982)at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:68)at coldfusion.orm.hibernate.HibernateProvider.initializeORMForApplication(HibernateProvider.java:168)at coldfusion.orm.hibernate.HibernateProvider.onPageRequestStart(HibernateProvider.java:131)at coldfusion.fi
Last week we applied Update 12 to our ColdFusion 2023 and are now getting an error when trying to send emails from ColdFusion pages. Error is : ColdFusion Cannot find implementation class coldfusion.tagext.mail.MailTag for the mail tag Code example : <cfmail from="servicedeskplus@xxxx.uk" to="developer@xxxx.uk" subject="Test" type="html" server="smtprelay.xxx.uk">Email sent</cfmail> C:\ColdFusion2023\cfusion\Mail\Undelivr and Spool are both empty We had a problems (remote_user not found) following the Update 12 and Adobe support supplied these additional steps that resolved that issue (including clearing down folders ColdFusion2023\cfusion\wwwroot\WEB-INF\cfclasses and ColdFusion2023\cfusion\bin\felix-cache) : Step 16 : update jvm.configTake the backup of existing the jvm.config file before making changes.Add the below java flags in the jvm.config file under path C:\ColdFusion2023\cfusion\bin -Dcfdocument.metahttpequivrefresh.
Hi All,I am trying to install ColdFusion 2025 on Mac. I am new to Mac so any help is appreciated. During installation, I am getting the following error: I resolved this error by going to System Settings > Privacy and Security > Security and allowed Adobe CF2025 using Allow Anyway button. But after that I am getting following error: and even after using allow anyway as shown below, CF2025 doesn't install. Process get aborted here itself. Mac Details:OS: Mac OS Sequoia 15.3.2Chip: Apple M3 ProRam: 36 GB
Adobe never fails to disappoint. This latest hotfix for CF Server triggers an email notifying us that such-n-such variable is "not expected" by a cffunction with access="remote" attribute. Doesn't matter if it's a form that is posting to the cfc, or using URL parameters (query string), if something is passed to it that doesn't get processed, we get an email telling us about it. Even for things likereturnformat=plainWHY? How, exactly, is this being "more secure"? How do I get these emails to stop? This is ludicrous.
I have some coldfusion servers that are connected to an oracle database and have been having some issues sending queries to the DB from the CF servers. I must also state that both the server and db are quite busy. The issue I am having is that the same query will get processed and shortly after I would receive the aforementioned error. I've done some troubleshooting with the DBA an confirmed the issue is not coming from the DB. Further research into issue led me to make some changes on the CF servers but I am still experiencing this issue. Two actions I normally execute provides a temporary solution to the problem:1. disable all the db connections and then re-enable them.2. Restart the nodes with the datasource connections.The server settings I change are as follows:1. Increase the "Max Pooled Statements" from 100 to 500. 2. Enable "Limit Connections"3. "Restrict connections to" 48 (Simultaneous Requests 16 * 4 nodes) not sure if this is the right approach.I am not sure what else
Hi thereWe are testing cf2025, found an error with cfdocument and pdf print. The code works fine with cf2023, it could be caused by incompatible bouncecastle library. Can someone help me to solve the issue? ThanksEugene
My CF2023 site has been running perfectly until now when suddenly I'm getting errors related to argument names containing hyphens. I'm assuming it's the hyphen that's the problem.The name FILE-0 used for an argument has illegal characters in it. The site is hosted and I'm asking the admins if they've made any changes. They can be slow to respond, so in the meantime I'm just wondering if anyone has a clue. I'm thinking it may be reading the hyphen as a minus sign. But why suddenly? These fields are dynamically appended to the sending form depending on how many files are uploaded by the user. So there could be up to 20 arguments from "FILE-0" to "FILE-20" being passed to the cfc as arguments. The form is submitted like the following:<cfset stRes = oListing.saveListing(argumentCollection=form,json=true)>And it just sends whatever the form contains. Any insight appreciated.
I inherited a Club website and a copy of CF for Dummies. All went well until my ISP upgraded. Now I can't pass variables between pages. What to do?
With "myQuery.ColumnList", I get the list of columns in a database query.Using GetMetaData(), I can then read the data type of each column using typeName.Is there a way to get additional information, such as the length of varchar data types?
Hello all, I've been asked to assist with a departments migration away from CF 2018 due to CF 2018 being EoL. Unfortunately, my experience with CF started with this project and the two previous admins that assisted with the CF 2018 setup are no longer around and I'm unable to locate any internal documentation to reference. I'm following the migration documentation for CF2023 since I can't find a 2025 guide. After installation of the 2025 server configuration using the 30 day trial and setting it up as a development environment, I land on the admin login page/migration wizard. After logging in and clicking to start the migration wizard, I hit an error page wth the following error, "migrationcf2018_export.cfm can not be found" I've followed the manual migration steps as well by stopping services and copying over the neo-*.xml files from cf2018/cfusion/lib in addition to copying over seed.properties and modifying the adminconfig.xml file t
Hi,Trying to connect to SFTP site, was getting connection timed out at first. I looked around for others with the issue found some leads. Finally with try/catch when dumping cfftp after the end of try cfftp is undefinded. I have stop on error turned on and secure. I have tried with Developer Editions of 2023 & and a recent install of Developer 2025. I did add the extensions to the timeout at both the page and tag level. This is the detail message from 2023 for the catch - Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: java.net.ConnectException: Connection timed out: connect. I would like to be able to do this within CF without resorting to WinScp. I have connected to other standard FTP sites successfully. Any help would be appreciated.Mike
Hello there. I have a website with over 5 thousand pages there but none of them have cannonical links included. My question here is, is it possible to add something like: <link rel="canonical" href="##page_url##" />Add this in the head section of html page. Now, here is the deal, will this affect my SEO? Will this change apply only when the page loads? Note: When I say page_url above, it's an actual URL page is connected with. If index.cfm page is on https://test.com/potato , then href of the cannonical should be exactly that.
I'm looking for advices about the rewriting URLs fonction of cfWheels. I'm running an app on Adobe ColdFusion 2025, cfWheels 2.5.1 and CommandBoxI'm looking for rewriting URLs of the website (suppress the"/index.cfm/" prefix) and it works! great! BUT I don't have access to my CFIDE Admin Page, my Database and the cfWheels Routes Page.I have to share with you my .htaccess code: Options +FollowSymLinksRewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^ - [L] RewriteCond %{REQUEST_URI} ^/(CFIDE|cfide|CF_scripts|cf_scripts|wheels/routes) [NC]RewriteRule ^ - [L] RewriteCond %{REQUEST_URI} ^/index.cfm/(.*)$ [NC]RewriteRule ^index.cfm/(.*)$ /$1 [R=301,L]RewriteRule ^(.*)$ /index.cfm/$1 [QSA,L] There is my settings.cfm: <cfscript>set(coreTestDataSourceName="manytomany");set(dataSourceName="manytomany");set(URLRewriting="On");</cfscript> There is my server.json:{"app":{"cfengine":"adobe@2025" },"name
Hello,I am using cf 23 and facing the issue when trying to communicate with remote api on spring. This is my cf codebase:var url = "http://localhost:8806/sftp/private/remove/import/test.xml";var httpService = new http(url=url, method="DELETE", timeout=5);httpService.addParam(type="header", name="Accept", value="application/json");httpService.addParam(type="header", name="cfId", value="123");httpService.addParam(type="header", name="cfToken", value="555-555");var httpServiceResponse = httpService.send();I am trying to delete import/test.xml file on sftp server and if I invoke the call from postman or anywhere else it will work but when I invoke this from CF in request headers it's always fixed accept=application/xml, text/xml;here are headers from spring service - REQUEST headers: [cfid=123; accept=application/xml, text/xml; charset=UTF-8; cftoken=555-555; user-agent=ColdFusion; content-length=0; host=localhost:8806; connection=Keep-Alive; accept-encoding=gzip,
Has the usage of writedump changed in 2025? I have both 2023 and 2025 running side by side on the same dev server using the same cfscripts. However when i do writedump(var=info,abort=true) to debug soemthing in 2023 i get a proper dump in the response. In 2025 all i get is [coldfusion.runtime.AbortException : null] Maybe im missing something but the developer profile is enabled and all debuging is set up the same on both instances. I can also confirm the same behaviour under both Windows and Linux installs of 2025.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.