The official community for ColdFusion.
Recently active
Hi all. I'm a long tme CF coder, but have never used Fusebox. Now I have a new codebase to maintain that uses Fusebox, and I'm in need of getting up to speed quickly on it. Does anyone know how to tell which version of Fusebox my application is using, so I can get some books for the right version ordered and on the way while I dig in? I see that numerous files in the application begin with fbx_fusebox30... Does that necessarily designate Fusebox 3.0? Thanks!
Hi,We have received a report from our security scanner contractor (SSC) who is testing our application for vulnerabilities with new warning as per subject "Insufficient session expiration". The user logged on to application concurrently two times with the same user credentials. Both sessions are using Chrome and, one of the session is Incognito window. Then, after changing password in one of the sessions (non incognito), the application logged the user out and redirected to login page.The security requiremets as per SSC, all the sessions opened for the user must be logged out.Is it possible? We are using CF2016 on Windows Server 2008 R2.CF is configured to use J2EE session.I tried different methods to invalidate/delete the session and, nothing seem to work for both sessions. Only one session is logged out. Our logout function is using following to delete a session:<CFSET StructClear(SESSION)><cfcookie name="CFID" value="" expires="now"><cfcookie
I'm hoping someone could shed some light. We're testing Redis as session storage. It works just fine, but we're running into an issue where the keys are not properly expired by Redis - they basically just fill up the store. I think the problem is that the keys don't have an expiration? Greatly appreciate any insights. We're on CF2016, SP7.
Considering the following HTML:<!DOCTYPE html><html><head><title>Page Title</title></head><body><ul><li>normal text</li><li style="text-indent: 4em">another text</li><li style="text-indent: 4em">some other text</li></ul></body></html>It renders in my browser (and WYSIWYG editor) like this:But it renders in the PDF produced by both cfdocument and cfhtmltopdf like this:Any ideas for what I can do to get it to render consistently in the PDF? Thanks in advance, Leighton
ı made a form but ı must show all sum nettotal money under of the table.How can ı do it?help please.for exp:the under of nettotal it will be write 100.000 like that.<cfparam name="attributes.keyword" default=""><cfparam name="maxrow" default=20><cfparam name="attributes.start_date" default=""><cfparam name="attributes.finish_date" default=""><cfif isdefined("attributes.form_submitted") and isdefined("form.maxrow")><cfquery name="GET_SALES_EMP" datasource="#DSN#" maxrows="#form.maxrow#">SELECT inv.INVOICE_DATE,inv.INVOICE_NUMBER,inv.TAXTOTAL,inv.OTV_TOTAL,inv.OTHER_MONEY,inv.COMPANY_ID,inv.PARTNER_ID,inv.NETTOTAL,E.EMPLOYEE_NAME,E.EMPLOYEE_SURNAME,sc.IS_ACTIVE,sc.SUBSCRIPTION_HEADFROM [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL_2019_1].[INVOICE] AS invleft join [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL_1].SUBSCRIPTION_CONTRACT as sc on inv.PARTNER_ID=sc.PARTNER_IDleft join [WORKCUBE_TEKNOTEL].[WORKCUBE_TEKNOTEL].EMPLOYEES as e ON e.EMPLOYEE_ID=inv.SALE_
Hello, all, I've got a weird situation that's got me scratching my head. I've got a form page, which includes an older version of jQuery (1.11.2) at the top of the page. Near the bottom of this page I am CFINCLUDING a .js file. Works great. Tried updating to jQuery 3.5.1, and suddenly this included .js file breaks, stating that "'$' is undefined on line 11." But $ is being used on at least seven lines prior to line 11. $('#thisForm').css({..}); /* THESE lines don't break */ $('#thisForm').attr(...); ... function ums(val){ switch(val){ case 'a': case 'b': case 'c': $('#thisForm').css({...}); /* THIS is the line that breaks */ break; default: break; } ums($('#thisSelect').val()); /* Triggered by this line */ Totally stumped on this one. Ideas? V/r, ^ _ ^
Hello,i'm using SendGatewayMessage to send SMS thru an SMPP provider.All works fine , but with a little problem: i can't send message with "special" character like "è" or "ò" or "ì", because they are not correctly interpretate and received message haven't this character.I've open a ticket to SMPP provider that reply me to verify "DCS" value (it must be equal 0).I've search in gateway config file but i've not found nothing about "characters" or "DCS".Anyone can help me ?Thank's in advance !!
example, I have a table like books and I have a table like authors and a junction table (many yo many).cf 2018 and MSSQL 12I can create form and insert a book in the books table. (no problem here)Question is; How do I add a record or records in the junction table? Also, How do I setup the form to input multiple records for the junction table.<thanks>
Hi all. I'm a new employee at a company whose developers installed CF2018 awhile ago, and I'm trying to install my development CF2018 to match theirs. Unfortunately, they don't remember whether they installed using the Development Profile, the Production Profile, or the Production Profile + Secure Profile. Since I'm seeing notes on the Web that this option cannot be changed once installation is complete, I want to determine what they originally selected. Is there a setting in their cf administrators (or elsewhere) that they could check to find out?
Hi all, My organization is in the process of changing authentication process. Rather than authenticating using data in the "Subject" attribute in the certificate (which I can parse out from cgi.CERT_SUBJECT), they want to authenticate using the "Subject Alternative Name" attribute extension of the certificate. However there is no cgi variable (that I am aware of) that I can get the data from that attribute. I've been researching this for weeks, but am stuck. Anyone have any ideas? I apologize if my terminoligy is used incorrectly above...I'm a pretty good programmer, but SSL/Certs is not my strength. Thank much in advance!
In previous versions of CF, someone had created an add-on that allows you to use the UI to view and manage certificates installed on your server(s). That version doesn't seem to work on CF2018. Does anyone know of an add-on that creates a UI to manage the certs?
Hello, all, I know that there is a way to get, sometimes, the hostname of the client system connecting to an app/site. <cfset inet = createObject("java","java.inet.InetAddress") /> <cfset session.remote_host= inet.getByName(cgi.remote_addr).getHostName() /> However, if you are in an air-gapped development network that does not have internet access, is there a way to do the same? V/r, ^ _ ^
Hi Team, Can you please provide some guidance as to what we could look for or do in order to resolve the following issues? We are currently using ColdFusion 2016. We are seeing issues where the application and exception log files are not getting updated when errors occur on the applications. We also see that the mailsent log files are not getting updated when emails are sent from the application. Thanks Hemanth
My ColdFusion 2018 is installed successfully. I can access its Admin page with no problem. My Apache 2.4 is also running ok to access html files. My OS is CentOS 7.6. I used the following command to installed the external Apache connector: /opt/coldfusion2018/cfusion/runtime/bin/wsconfig \-ws apache -bin /usr/local/apache2/bin/httpd -script /usr/local/apache2/bin/apachectl -dir \/usr/local/apache2/conf -v The command seems completed successful. The following two entries are put into my httpd.conf file. Include "/usr/local/apache2/conf/mod_jk.conf"Include "/opt/coldfusion2018/config/wsconfig/1/mod_jk_vhost.conf" I also restarted Apache and ColdFusion servers. Then the access for any html files are still OK. However, if I test any .cfm file, I got the following error message: 503 Service UnavailableThe server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please
Trying to test out <cfhtmltopdf>: <cfhtmltopdf source="http://www.google.com/" >Or when pojnting to an html document on a local drive, nothing happens, browser is blank. When checking the application log on the CF server I get this:Could not initialize class coldfusion.vfs.VFile Any help would be appreciated.
I have Windows server 2016IIS 10Coldfusion 2018 I created sample cfm app, and tried to configure this app in IISWhen I run the app - it gives me below error? Seems handler mapping needs to be added in IIS for cfm/cfc etc?HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
We are trying to use the cfdocument tag on coldfusion 2016 and getting errors on creating the pdf.I have found that the issue only appears on the coldfusion servers where we have defined multiple instances. On the default cfusion instance everything works perfectly. When running from additional instances it does not. In the coldfusion administrtor the Font Managment does not show any fonts on the additional instances. On the cfusion instance I can see all the Adobe installed fonts that were part of the initial install.On startup of the additional instances I am getting the error May 27, 2020 21:45:47 PM Error [Thread-65] - com.lowagie.text.FontFactory.getFontFaces()Ljava/util/Map;May 27, 2020 21:45:47 PM Error [Thread-65] - com.lowagie.text.FontFactory.getFontFaces()Ljava/util/Map; This is also the same error that appears if I try to define my own font directory.How can I get the fonts to appear on the Font Management in the additional instances. W
We've had this issue for a while apparently (now running v11u18) where emails won't get sent but they are also not always logged by CF. We have been using Java 1.8.0_144 since it came out and use a third-party SMTP server (our domain host). Pretty much all errors that do get logged simply say this in the log:"Error","scheduler-2","04/09/19","14:08:40",,"com.sun.mail.smtp.SMTPSendFailedException: 250 Requested mail action okay, completed: id=0MFJUg-1h8QzQ2Nj2-00ERMH ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550-Requested action not taken: mailbox unavailable 550 invalid DNS MX or A/AAAA resource record "Even though the actual error for that message according to what is returned via Outlook is:503 Bad sequence of commandsOne of our client's is BCC'd on every email from their site, but they are not getting messages sent to one of their customer's that does have an invalid email. However, there has been no indication of an issue in CF, but Outlook ind
I need to create a drop down menu and then have the next drop down change its content based on the selection in the previous menuWould anybody have any code that I could play around with that would help me achieve this?Thanks!!Mark
I have installed ColdFusion 10 on a server running Windows Server 2016. I then installed the Mandatory Update. I am getting the following server error 404 - File or directory not found when I try to access the following URL https://saweb1.matrix.txstate.edu/CFIDE/administrator/index.cfm. Searching the Adobe website I found an article that mentions installing an updated wsconfig.jar to correct the problem. I have been unable to locate a copy of the wsconfig.jar to download. Will an updated copy of the wsconfig.jar file resolve my error or do I need to install something else?
I have a partner that is going to pass a transactionid to me in the URL when a user clicks on an ad on their site.Like thiswww.mycompany.com/transactionid=12345abc8964 I need to postback variables to their site when a user converts.I have that part coded already using CFHTTP.My question what is the best way to detect that a user has entered my site with a transactionid and then be able to know that is the same user when they convert.Is it something like this?1. Detect transactionid when user enter website in application.cfc2. If a transactionid is detected - set a session variable like session.transactionid = yes or session.transactionid=12345abc89643. If user converts - check for the existence of transactionid session variable.4. if transactionid session variable exists - postback info the partner siteIt almost seems too easy. So I'd thought I'd check with the ColdFusion geniuses.
Hello, all, I've got a RegEx edit on email addresses that is acting weird. I could use a few more pairs of eyes on this. Okay, so for those not aware, Gmail has a feature whereby one can add arbitrary characters to an email address, I assume primarily for the purpose of tracking who is making your email address available to marketers. For example, let's say someone registered "myname@gmail.com", and is filling out a form online for.. uh.. let's say a free meal at a local restaurant. Said user can enter "myname+restaurantname@gmail.com" and if that restaurant ever makes this user contact information available to marketers, then anyone sending an email to "myname+restaurantname@gmail.com" will alert the user to who gave out that information. I am using a RegEx replace to filter out that "+whatever" in an email address, and for the most part it works great. However.. there is an odd quirk that I can't track. It will filter out that +whatev
On my HTTP request, I kept getting this error.handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Could not build a validated path.Sep 16, 2016 10:26:14 AM Error [ajp-bio-8013-exec-2] - ERROR: failed to read from https://myapps.example.com/units.json. Response code: 'Connection Failure. Status code unavailable.' Error details: 'I/O Exception: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Could not build a validated path.'I found this page, https://www.hass.de/content/coldfusion-java-pkix-path-building-failed-javasecuritycertcertpathbuilderexception-could-not , that talks about the same exact error that I have. However, it didn't resolve my issue even though I verified that the certificate is already exist in my cacerts file.
I'm working towards using Redis to store ColdFusion sessions in an ElastiCache instance. ElastiCache has encryption options:Encryption at Rest (This works easily. It is transparent to Redis Connections)Encryption in TransitRedis Auth Ideally both of the last two options should be enabled. Redis Auth can only be enabled when Encryption in Transit is enabled. When Encryption in Transit is enabled, connection timouts occur while verifying the Redis connections. Redis Connection Verification Failed. java.net.SocketTimeoutException: Read timed outFor this connection, I'm using a plain hostname. I am not modifying the address to create different url in any way. I've seen some articles about the redis url scheme and using redis:// for plain text connectionsrediss:// for SSL connections.However, when either of these are configured in the coldfusion administrator page, the connection verification throws an error.Redis Connection Verification
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2018 release) Update 9 ColdFusion (2016 release) Update 15 In this update, apart from fixing the security vulnerabilities, we’ve also added SameSite cookie support for cfcookie. For more information, see the tech notes below: ColdFusion (2018 release) Update 9 ColdFusion (2016 release) Update 15 These updates fix security vulnerabilities that are mentioned in the security bulletin, APSB20-18. Please update your ColdFusion versions today. Let us know if you face any issues while installing the updates. Your feedback is essential to further enhancing the product. We thank you for your continuing support.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.