The official community for ColdFusion.
Recently active
I have a site that is written in CF and running on Windows server.The question I have is, if I wanted to run it on Linux would the code literally port over or is there a chance I will run into problems?Maybe issues with case sensitivity which does not generally effect me in Windows so I did not pay a lot of attention to itThanksMark
We are upgrading from CF11 to CF2018. We have update 2 applied. Whenever we access CFMAIL tag, we get exception "Could not initialize class coldfusion.mail.MailImpl". Any ideas what might cause this? I'm not heavy into java, but I can't seem to locate where the coldfusion package is to see if the coldfusion.mail.MailImpl is defined ...any help greatly appreciated.
Hi folks,I am hoping someone can point me in the right direction to fixing a problem I am having with the lockdown tool. I have been following the CF2018 lockdown guide, I installed Coldfusion 2018 developer edition on a Server 2016 OS. I applied hotfix 3, only weird thing I found was that the ODBC server service would not start after.I checked the hotfix log and found no errors.Spent of a ton of time researching that problem, found there was issues in previous versions of CF, realized I don't have any ODBC datasources to worry about, so I set the ODBC Agent and ODBC Server service to be disabled following guidance from several of those threads.Successfully logging into CF Administrator. Followed the guide.Ran the lockdown tool following the guide, only major change's was that I selected no to the coldfusion update since I manually updated it, and I had the lockdown tool create the ColdFusion Runtime User for me. In checking the lockdown the log, I found it successfully created the use
Please help me to get the $("#txt").val(id); into coldfusion variable to do some sql query. Thanks<body><script>$(document).ready(function (){$(".ap").click(function (){var id = this.id;$("#txt").val(id);})})</script><div id="Test" class="ap">click</div><input id="txt" name="txt" value="" type="text"></body>
Newbie question here… how do I get / set these values in this (sub)Struct to variables?In the end, I want to have them set to variables like:<cfset CategoryID = StructVar><cfset CategoryName = StructVar>Thanks!
Hallo, I installed CFB2018 on my mac and trying to run my application.In application.cfc i have a <cfinclude template="/adirectoryunderwwwroot/fileincluded.cfm"> and always i get a could not find the template error.Some informations:-The code directory is under wwwroot folder-The path is mapped with a sym link.-CFB2018 server is Coldfusion+Tomcat version and i changed the context.xml file to allow linking.-CFB2018 server document root is under wwwroot folder-When i try to navigate to the path using the browser I can reach that folder (so I think tomcat is correctly setup)-I passed a chmod 777 on all files under the wwwroot-I unchecked save class in the server admin console-I tried with and without mapping in coldfusion and it doesn't change the behaviour.Do you have any advice?
Hi All,Need some help/pointers on what could be wrong here.ColdFusion Server fails to start, when giving add-exports java.args. The error in the Windows service log is "file not found" (no further details on what file is missing). Since the server fails to start, there is no CF logs to post.Environment: ColdFusion 2018Java 10.0.1Windows 2016# Arguments to VMjava.args=-server -Xms1024m -Xmx2048m --add-exports java.instrument/sun.instrument=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-modules=java.xml.ws --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.util.cldr=ALL-UNNAMED --add-opens=java.base/sun.util.locale.provider=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+UseParallelGC -Xbatch -Djdk.attach.allowAttachSelf=true -Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Dcoldfusion.libPath={appl
I am finding and uploading documents with this code:<cfif structKeyExists(form, "uploadfile1") and len(form.uploadfile1)> <cfset destination = "//server/target folder/"> <cffile action="upload" filefield="uploadfile1" destination="#destination#" nameConflict="makeUnique"></cfif>However, I would also like to create Shortcuts to this file in one or more other folders. In Windows Explorer, shortcut entries look like this:MyFile.docx - Shortcut 6/17/2019 1:40 PM Shortcut 3 KBIs there a way to do this in CF? If so, can you provide some code or a location where I can find some advice on how to do it? I use Dreamweaver CS6 as my development environment.Thanks.
Hello,I am attempting on adding an additonal PDF Service manager in order to spread the load between two, but when I click "Add PDF Service Manager" I receive the following message:Error adding PDF Service Manager. Please ensure that you have entered a correct PDF Service hostname and port. Check logs for more detailsThe current Service manager has the default port with localhost for the "Host Name"The new one I am attempting to create also has the local host for hostname and I have tried a few ports around the default as well as some in the 5000-7000 range and still getting the same issue.These are found in the coldfusion-out log:"Error adding PDF Service Manager. Please ensure that you have entered a correct PDF Service hostname and port.""coldfusion.document.DocumentServiceImpl$LocalServiceManagerException: You are not allowed to add Local service manager."
Questions about ColdFusion Builder or possibly ColdFusion in general. I'm trying to wrap my head around Projects and Workspaces. With Java, there's a directory-namespace hierarchy that associates programs under one package. I'm simplifying it, of course, but having this structure allows me to share code within one package but I'm still unclear how that works with CF.I incorrectly imported a CF project into CF Builder using these steps: https://stackoverflow.com/questions/10488276/coldfusion-builder-open-project. Now CF Builder says that my project doesn't belong to a CF project and tried to follow these steps to apply CF Nature to the project (https://helpx.adobe.com/coldfusion/using-coldfusion-builder/managing-projects.html#Importexportanddeleteprojects) but error message says "Project is already open in the workspace." So now I'm confused because I'm told that my project isn't and also is a CF Project? And why would it make a difference if it's open in the workspace? What's a Project
Anyone know why my Server Updates page has quit showing the installer or updates pane? I was able to apply previous updates to 2016 so not sure why it’s just decided to quit working.
Hi,CF 10 docs seem a tad thin on the subject of silent / unattended / scripted installation and configuration.I need to find a fully automated (scripted) way to do these things:1) install of ColdFusion 10 server in standalone mode2) create additional servers instances3) configure each server instance separately (settings, data sources, mappings, etc)Is this currently possible with CF 10? If yes, where's the documentation?I'm aiming for a Chef cookbook for performing unattended CF10 installations on a farm of headless Linux hosts. Manual configuration through the Administrator UI is a definite deal breaker here.Thanks in advance!Best regards,Jan
I'm getting the following error in the CF Administrator after I installed Release/Update 3 (ColdFusion 2018). The Enterprise manager option has appeared in the left hand side menu when I login to all CF instances and when I click on it I get the error below. Previously, this option was only available on the CFUSION instance. Has anyone had the issue like this before?Variable PROCESSSERVER is undefined.The error occurred in /cfdisk/coldfusion2018/<instance>/wwwroot/CFIDE/administrator/entman/serverlist.cfm: line 13Called from /cfdisk/coldfusion2018/<instance>/wwwroot/CFIDE/administrator/entman/serverlist.cfm: line 1Called from /cfdisk/coldfusion2018/<instance>/wwwroot/CFIDE/administrator/entman/index.cfm: line 32711 : 12 : 13 : <cfset servers=processServer.doList()>14 : 15 : <cfset clusters=clusterManager.getClusters()>....Stack Traceat cfserverlist2ecfm1056828963._factor9(/cfdisk/coldfusion2018/<instance>/wwwroot/CFIDE/administrator/entman/serverlist
I just installed CF 2016 Update 11 on 3 servers (updating from CF 2016 U10). I use the manual process (using the silent installation via the GUI never works for me, even though I have full access to start and stop services). The update worked fine, and I verified the build number afterward. I also verified that the websites on those server instances were running as expected.About an hour later, I noticed some sites were down. 2 of the 3 servers had failed. The CF Application Server service was simply stopped on those 2 servers.There are no errors or logs about it stopping (nothing in the CF logs or the Windows event log). I restarted the service and the sites came back up. The third server was fine.Just in case, I ended up restarting 1 server that had failed and the 1 server that was fine. (I can't restart the other server that failed because it's production). I'm now watching this closely to see if/when it fails again.We're on Wind
I have recently installed CF on Mac OSX. I tried to work on projects previously developed on Windows; in these projects paths are defined like this: <cfset path = '/folder1/folder2/file.cfm'>It seem to me incredibile, but CF don't recognize "/" as character to define path instead of Window's "\". How can I fix this problem? Is there a way to fix it without edit project's code (like define a rule for CF) ?Thanks in advance,R.
Looking to create a schedule by week. The current DB just has the short date format in it.
Hi all, Recently upgraded our CF servers to CF2018 (from a version I'm embarrassed to mention), and installed Builder 2018 license on a workstation - previously Builder 3.I'm now confused to find the "Generate Phonegap Build" project option, "Phonegap Status" tab, and Preferences->Coldfusion->Phonegap dialog is missing. What am I missing - I found it very convenient. Is it no longer necessary?Thanks,
This is not an advanced issue ... but I cannot find in this forums software where to ask general questions about CF. Navigation could be far better!Ok ... I have an integer ... 43629 ... the day of a given date since 1/1/1900. How do I do the reverse? I need to make a date from that integer? Anyone?
Hi,We see a lot of these errors in coldfusion-out.log:"removeOnExceptions is true for ourdsn. Closed the physical connection."The errors are expected in this case, but we get a lot of them. Is there any way to disable this specific error? There was an article online about editing one of CF's XML files, but it was for CFMX and we are on CF2018 Enterprise. Advice appreciated, as always.Thanks,Mark
Hi,I have a new ColdFusion 9 install on a CentOS server with Apache 2.2I applied the 9.0.1 update.The install is Standard, not Enterprise.I can access the admin at /CFIDE/... perfectly.The problem is when I try to access the first domain I have setup on server, where I installed ColdFusion on Wheels. When I type (using example instead of real domain) www.example.com or www.example.com/index.cfm, I get a ColdFusion error screen saying that it cannot find index.cfm . But index.cfm is there.I checked ColdFusion logs, and I have noticed that apparently, somewhere, two single quotes are being appended to the file name.This is what I see in cfserver.log:05/14 09:28:47 Error [jrpp-140] - File not found: /index.cfm The specific sequence of files included or processed is: /home/folder/folder/index.cfm''(with those two single quotes in the end. The file, without the single quotes, exists. The path included in the log file is the real valid path)From application.log:"Error","jrpp-140","05/14/12",
My client is considering buying a system that is based on Coldfusion.How should I evaluate whether this application has had the care and feeding necessary for it to be a healthy application with a future?What is the future of Coldfusion in general? Has Adobe published an official roadmap (I am not interested in seeing some blog)?What are the license fees for an application deployed on a client site?What are some of the dependencies installed on the host computer? (installed on a windows computer)?Are there RPA (robotic process automation) tools that work well with Coldfusion based web pages?I am asking the vendor these same questions but I want to do my own independent research.What other questions should I ask the vendor?
Just to let folks know, I have done a small update on cflive.net and added togetherJS to allow collaboration.Hope you find it useful.
Environment: Coldfusion2016 StandardI've imported the domain root certificate to both jre/bin/cacerts and to jre/lib/security/cacerts successfully but when using secure="CFSSL_CLIENT_AUTH" and useTLS="True", I get the message "CFSSL_CLIENT_AUTH, a client certificate is required to be imported into the security database". Both the clientcert path and clientcertpassword are correct.
Hi,We are on a cloud server with CF2018 Enterprise. We want to implement access restrictions to specific folders for certain user IP addresses and, of course, CGI variables such as REMOTE_ADDR are useless since we just get our cloud proxy address. CGI.REMOTE_ADDR has bit more promise as I am not sure it can be easily spoofed, but has anyone tackled such a problem and what technique did you use?We also have CGI.X_FORWARDED_FOR and this does have the client's IP address, but again I am not sure as to its "spoofability". If we ensured that the X_FORWARDED_FOR was the IP we wanted and the REMOTE_ADDR was our proxy gateway address, would that be sufficient to allow/disallow users to certain folders to run .cfm scripts?Thanks,Mark
I have this code <cfif len(trim(form.fileUpload))> <cffile action="upload" fileField="fileUpload" destination="#FileDirectory#" nameconflict="makeunique"> <cfset FileName ="#FORM.lname#_#FORM.file_type#_#FORM.key#"> <cffile action="rename" source="#FileDirectory##cffile.serverfile#" destination="#FileDirectory##variables.filename#-0.#cffile.serverFileExt#" nameconflict="makeunique"></cfif>It is code where users upload files and they get uploaded. If there are files with the same name they get renamed and made unique.For exampleUpload 1 = REV-D_166032-0.docxUpload 2 = REV-D_166032-01.docxUpload 3 = REV-D_166032-02.docxI have this on a Railo server and it works fine.But I have the exact same code on a windows server and it works differently.It overwrites the existing file. Like thisUpload 1 = REV-D_166032-0.docxUpload 2 = REV-D_166032-0.docxUpload 3 = REV-D_166032-0.doc
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.