Questions
Recente
After upgrading to CF10, we are having issues getting our server to properly recognize any mimetype associated with the .xls file extension. For some odd reason, the server is viewing them as a word file type and rejecting it. When we upload a file with the .xls extension, the server responds back with the following error message:"The MIME type or the Extension of the uploaded file application/msword was not accepted by the server. Only files of type application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet can be uploaded. Verify that you are uploading a file of the appropriate type. The error type is Application."Our only workaround for the time being is uploading all files in the newer .xlsx format, which the server properly accepts. As you will see from the above error message, those are the mimetypes I have thus far. The other work around is updating the
Hello,We have a ColdFusion application that is currently using Oracle Authentication Manager (OAM) for logging people on to the application. In the application there is a link titled "Log Off". We have been instructed by our management stop using OAM. I have now got the application so that they are logging in using Citrix Netscaler to login in to an Internet explorer window that is exclusive to this application and the login process is working correctly. However when the "Log Off" link is clicked it is currently still redirecting to OAM for the Log Off process. This is confusing as the users are not logging in using OAM and, in the near future the OAM servers will be going away.What I am trying to do is have the logoff page just close the internet explorer window when users click it. After doing some searches on this I have tried modifying the logoff.cfm Page to the following. (Other then a header comment this is the entirety of the logoff.cfm page)&
I have a form that many people share. If more than one person uses it, their data is overwriting the next persons.I am working on a new page that will lock all other users from being able to submit data if another person is "logged" on to the page.The logged in user will get kicked out after three minutes of inactivity.The concern is, you may update several of the fields, get interrupted by a phone call, then get redirected to the home page and lose your data.If I have it redirect to the submission / processing page, will it take the form data with it, then I can send them to the home page?Please keep in mind, I am not a programmer, so I know there are likely many more elegant ways to resolve this.Thank you
We are trying to execute a cfinclude determined by screen width on our responsive website. This if for determining the number of ads that will appear on the page (we want to show a fixed number on screens of 700px or less). We are using Cold Fusion 9 so we can't utilize CF 11's detectDevice function. We realize we can't just use media queries to show or hide the appropriate cfinclude because this will not prevent CF from loading unnecessary ads in the background, it will just hide them and our page speed will be affected. Is Javascript the only way to do this? If so, can someone provide an example without Jquery?
Hi, I'm running CF 2018 on a Mac and trying to change the location the default wwwroot to a folder elsewhere in the system. Previously this was done by editing the server.xml file, but its not having the intended effect. The server.xml file reads as follows: <Context path="/" docBase="/Applications/ColdFusion2018/cfusion/wwwroot" WorkDir="/Users/bigMac/Dropbox/Apps/wwwroot" > <Resources> <PreResources base="/Applications/ColdFusion2018/cfusion/wwwroot/CFIDE" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/CFIDE"/> <PreResources base="/Applications/ColdFusion2018/cfusion/wwwroot/WEB-INF" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF"/></Resources> </Context>Any insights appreciated.
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",
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.