Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
Hello all,I am currently working with a simple coldfusion page that presents the user with a dropdown list. When a user selects one of the values a new page opens up and allows them to upload a photo to a specific directory based on their dropdown selection. This is working just fine but I've been asked to have the dropdown list reset back to the default value when the new page pops up. Is there a way to do this?See below the code for the dropdown list:<cfform name="directorySelection" method="post" action="photo.cfm?userID=#userID#" target="_blank" onchange="form.submit()"> <cfselect name="directName" onChange="form.submit()"> <option value="" selected="true" disblaed>-- Select One --</option> <option value="nature">Nature</option> <option value="city">City<
<cfset ftpurl=ftp.myserver.com><cfset ftpusername="myusername"><cfset ftppassword="mypassowrd"><cfset ftplocal="C:\Users\MyUser\Documents\MyFile.txt"><cfset ftpremote="MyFile.txt"><cfftp connection = "Myftp" action = "PutFile" localFile="#ftplocal#" remoteFile="#ftpremote#" failifexists="no" passive = "Yes">I use above code to copy a local file from local machine to FTP server.I checked that the file exists and spelling is correct, but I got following error(The system cannot find the path specified). Any suggestions is great appreciated,Regards,Souries
I followed the steps in this StackOverflow response (coldfusionbuilder - ColdFusion Builder - Open project - Stack Overflow ) to import an already existing ColdFusion folder as a new project but now I can't find that project that was imported. I know it's imported because when I try to retrace my steps to import the folder, it says that it's already been imported but it doesn't exist anywhere for me to open as a project.Please advise on where I can find Projects. There's a tab that says Project with a drop down menu shows Open Project but it's greyed out and inaccessible. I also don't see a Navigator panel. Is there a way to enable having that panel show?
We use Amazon S3 for storing the majority of our products and the code is well established and has been working hundreds of times a day for well over 8 months, so it's very stable however today I've had loads and loads of problems with errors - Is anyone else seeing issues? The code is very simple: <cfset fileWrite("#baseS3Url#/#amazonFileName#", "#binFileData#")><cfset storeSetMetadata("#baseS3Url#/#amazonFileName#", { content_type="#setContentType(XML)#" })>OR <cfset fileWrite("#baseS3Url#/#amazonFileName##fileExtension#", "#binFileData#")><cfset storeSetMetadata("#baseS3Url#/#amazonFileName##fileExtension#", { content_type="#setContentType(fileExtension)#" })>but is throwing the following stack trace StackTrace: coldfusion.vfs.VFileOutputStream$VFSFileSystemException: Request Error. nullCould not close the output stream for file "s3://<cname>/0/0/1/1/3/4/5/1134503_SRBDG7FY8U.pdf".. at coldfusion.vfs.VFileOutputStream.close(VFileOutputS
Dear support,I've installed CF 2018 to my PC with this following details:Windows Server 2012 R2 Standard16 Gb MemoryIntel Xeon 2.40 GHzI'm unable to click anything on the admin CF website.it looks like the path to access jquery.js not be set correctly. But I don't know how to update my neo-runtime.xml.Please advise.Here's my neo-runtime.xml<wddxPacket version='1.0'><header/><data><array length='19'><boolean value='true'/><struct type='coldfusion.server.ConfigMap'><var name='application_variables'><boolean value='false'/></var><var name='server_variables'><boolean value='false'/></var><var name='session_variables'><boolean value='false'/></var></struct><struct type='coldfusion.server.ConfigMap'></struct><struct type='coldfusion.server.ConfigMap'><var name='/WEB-INF/customtags10000'><string>#server.coldfusion.rootdir#/CustomTags</string></var></stru
Dear,Please advise for my current issue with CF 11. I have 3 instances under my CF 11. two of them are working well. But for the third one, I can't access the admin pages properly.I can log in but there are several pages that I can't open it such as Settings, memory variables, server updates.I got the error said: An error occurred while executing the application. Please try again or contact the administrator. And in the log said Apr 9, 2019 15:24:01 PM Error - Not able to connect to Update Site: The getProxyHost method was not found.Apr 9, 2019 15:24:01 PM Error - Not able to connect to Update Site: The getProxyHost method was not found.Apr 9, 2019 15:24:01 PM Error - The getProxyHost method was not found.Either there are no methods with the specified method name and argument types or the getProxyHost method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you ver
Hi!I've installed the newest version of ColdFusion 2018 and its most recent update on my Windows 10 with IIS.Now the installation itself does not ask for IIS websites you want to put a ISAPI connection. After the installation, you need to run a CMD script that finds every IIS websites to put each one a configuration to run a cfm page, including the jakarta and cf_script virtual directories, the handler mappings for each ColdFusion file type and the ISAPI redirections.Although you finish the website connector configuration, you can access a index.cfm just typing the website url without describing the cfm template at the address bar. But, when you try to access any cfm page describing it's file name at the browser's address bar, a 404.0 error occurs:HTTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable.Most likely causes:The directory or file specified does not exist on the Web server.The URL contains a typograp
We are upgrading from ColdFusion 9 to ColdFusion 11. We noticed a change in back button behavior. On pages running CF 9 the back button works, but on pages running CF 11, when clicking the back button, we get a browser "confirm form resubmission" message. Since it is the same browser, it is clearly a change in ColdFusion. Does anyone know when the change was made? Is there a setting that controls the behavior?Thank you,David
Hi,So after spending the best part of 3 weeks trying to get cfhtmltopdf working on CF11 installed on Linux (RHEL 7), I am about to give up. I have systematically:1) Read and followed all previous advice and posts on the subject, ensuring the additional packages are installed together with the required fonts (e.g. Adobe ColdFusion 11 Support for cfhtmltopdf (PDFg) on Linux » Adobe ColdFusion Blog etc)2) Checked the permissions are correct for the various directories3) Altered the apache config filesThe PDF service is definitely running on 127.0.0.1 port 8987. However, every time I run a test the page processes for ages and then effectively times out. The error messages are not very helpful:1) Message displayed on page - Error occurred whilst generating PDF - reason: Error occurred while handling request2) Application.log shows - 'Error occurred while generating PDF.Reason: Error occurred while handling request. The specific sequence of files included or processed is: /www/dev/htdo
Guys,We have may CFC in our system and we primarily use them as a means to organize the application, as we have no instance date, but to use them we have to create instances using cfinvoke. It is similar to this post made a over 10 years back: using CFCs statically without cfinvoke That said from what I can tell CF doesn't have static methods: i.e. a means to create a method in an object and just call that object without instantiating the entire objects (which I'd like to avoid doing).
We have migrated our application from Cf-8 to Cf-2016 (enterprise edition). With lot of difficulties, we managed to do the migration. We manually did all the settings and mappings from old version to new. We haven't done much on IIS side assuming it will automatically host the new CF version there and overwrite old CF8 mappings. Now my test server has both CF8 and CF2016 present. I just stopped the cf8 services. Now what's happening is - I need to start both the services (CF-8 and CF-2016) to run my application. If I only start CF-2016, then application doesn't run. It's weird.Can someone help here pls?Screen shot from IIS:
It should be on the debugging settings page next to Enable Robust Exception Information. I need to see CF debug info, not IIS errors!!!
Hey Everyone!This is what I hope will be helpful information to anyone pulling out their hair on why the hell the Patch 10 for CF2016 is showing Patch 8 or 9 as the major version on the CFIDE Info page.After patching our Test environment with Update 10 we noticed that there were some errors reported but that the patch install was complete.Our test environment can throw errors for non existent instances in our instances.xml - anyways, we didn't think much of it until we noticed the version was off in the CFIDE information page (2010.0.08.314028 instead of 2010.0.10.314028). What was alarming - was that if we didn't notice that version and relied only on the Update Level (chf20160010.jar) - we would have thought our patch was successful.After reviewing the patch log we noticed a fatal error that was not brought up during the patching - (why on earth wouldn't a patch roll back automagically if there was a fatal error??) To make matters worse, we were not allowed to run the uni
Hello community, we are still having some issues about timeouts. Users are reporting they get timeouts errors much before the 20 minutes set on the application.cfm file.I decided to do a CF2016 installation from scratch just to test different setting and while creating the connection to the web server using the Web Server Configuration tool, when I clicked on Advanced, I found these settings:At this point I am confused about the different places where different time outs can be adjusted.Would this affect the issue the users are having?Thank you in advance!
Hello, all,I'm submitting a form to itself (form target is set for an iframe on the same page) to generate an Excel file and offer it to the user for either download or open. So far, everything is working great except one minor thing.When the form submits, I add an animated circle 'progress' image to imply working in the background. Once CFHEADER and CFCONTENT offer the file, I'm trying to get the gif to detach or hide.I've tried using the iframe onLoad and onChange, but apparently that isn't being triggered. Is there another way to trigger some kind of event when the file is offered?<form target="exportToExcel" method="post" enctype="application/x-www-form-urlencoded">...<select id="FQDN" name="FQDN">...</select></form><iframe id="exportToExcel" width="1" height="1" src="about:blank"></iframe>Javascript:FQDN = document.getElementById('FQDN');... // set FQDN onchange to submit the formifrm = document.getElementById('exportToExcel');
Hello, all,Our public facing page has recently developed some bizarre activity.For days it will run with no issues, then it will suddenly start generating error emails stating that a CFOUTPUT tag is exceeding the allowable time limit for a few hours, THEN it will start sending emails to us indicating that a CFINCLUDEd file cannot be found (the file that was originally exceeding the allowable time limit.)Specifically, we have a file called trans_form_new.cfm. It is a cost estimate request form. It CFINCLUDEs a menu from another folder. The menu is the file that starts taking too long for a CFOUTPUT tag to complete. After a few emails stating the CFOUTPUT tag is exceeding the allowable time, we start getting emails from trans_form_new.cfm stating that CF cannot find the /otherFolder/menu.cfm file that is clearly present.I am not aware if the CF service (or the CF server) is being restarted during any of this. I _am_ aware that we have recently been applying
Could anybody tell me if there are any built in functions within CF2016 that would assist in importing a CSV file into SQL?At the moment I'm downloading a ZIP file from a data provider, taking the CSV out of it, putting it into Access, importing the Access into SQL, what a pain! It's time to automate it all!
I have the following cfif statement:<cfif status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >It works however in rare occasions status.datetime might not be defined. When I change it to:<cfif isdefined("status.datetime") AND status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >it stops working. What am I doing wrong?Thanks in advance for any help.Gary
I've been creating some forms and have run into an issue dragging text from Adobe Acrobat Pro DC into CF Builder 2016 V3.1.4 302777. If I drag and drop blocks of text (list items) some text gets "stuck" in the buffer and is kept at the end of the next block if it is smaller. It's like Builder doesn't clear the buffer before putting the new text into it and just overwrites from the start of the buffer leaving the old text at the end of the buffer. If I copy & paste the extra text is not retained. It appears to only happen on drag and drop operations.Has anyone else run into this issue?
I know the cfmailparam below marks my emails as Urgent (red exclamation mark) in Outlook mail:<cfmailparam name="X-Priority" value="1">However, I want the Urgent mark to show ONLY on the recipients in the TO: line and NOT the recipients in the CC: line. Is there a way to do that, or do I have to send two emails, one with the tag above and one without?Thanks.-Dale
Hello community, we have found today a very large isapi_redirect.log file under the C:\Coldfusion11\config\wsconfig\ folder.Does anyone know where can I set either the size or duration of the file?Thank you.
Hi,I have an application running on colfusion server and i am trying to install it.I have already done that with ColdFusion2016 and it is running smoothly yet when i try it on ColdFusion 11 i get an error.The setup is as follows:Under ColdFusion11/cfusion/lib:I add:libsodium.dlllibsodium-jna-1.0.4.jarcommons-codec-1.10.jarjna-4.2.2.jarAnd in the coldfusion Administrator, the lib path is added under Dcoldfusion.libPathWhen trying to use it in a java class from the directory of ColdFusion Class Path ,I am getting the error:Could not initialize class com.muquit.libsodium jna.SodiumLibrary$SingletonHelper In my java code:i load the library through:SodiumLibrary.setLibraryPath("C:/ColdFusion11/cfusion/lib/libsodium.dll"); and then i call:SodiumLibrary.cryptoBoxSealOpen Please advise,
Kind of a newbie question.... We started using Twilio for SMS. Inbound texts are sent via an HTTP post using webhooks. I'm a bit lost on how to convert the string I get to a structure I can work with. When I use: <cfset requestBody = toString( getHttpRequestData().content ) /> and dump requestbody to a text file I get:ToCountry=US&ToState=MA&SmsMessageSid=SMcaba8a187004c59cf83f1b97d3ff091c&NumMedia=0&ToCity=ROXBURY&FromZip=01760 ...etcLooks like & is the delimiter. Thanks in advance for any suggestions.Gary
I was about to buy a hosting from a very famous hosting provider. They showed a list of features which they were offering along with that hosting for which they were charging so much money. Most of those features are available online for free you just need to integrate them with your site. All I want to say is don't get fooled by a company which uses fancy terms for its services and expect from you to buy that.
I have code to create a pdf like this. It works great<cfdocument format="pdf" localUrl="yes" orientation="landscape" marginleft="0.10" marginright=".10" margintop="0.15" ><cfdocumentitem type="footer"> <cfoutput>Page #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#</cfoutput> </cfdocumentitem><cfquery name="Loads" datasource="dsn">SELECT [company_id]FROM datatableWHERE ID =16598</cfquery>Rest of code based on ID</cfdocument>Now I want to loop through a list of ID's and create a combined pdf of all of the ID's in the listlike this<cfloop list="16958,17019,17020" index="idx"><cfdocument format="pdf" localUrl="yes" orientation="landscape" marginleft="0.10" marginright=".10" margintop="0.15" ><cfdocumentitem type="footer"> <cfoutput>Page #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#</cfoutput> </cfdocumentitem><cfquery name="Loads" datasource="dsn">SELECT
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.