The official community for ColdFusion.
Recently active
We've recently upgraded our production servers from CF9 to CF11 and are looking into the CFHTMLTOPDF tag to replace the existing CFDOCUMENT.However, upon testing, CFHTMLTOPDF does not show page-break's correctly with the page-break-after:always CSS rule. See code below :<cfsavecontent variable="x"><html> <head> <style type="text/css"> p {page-break-after: always;} </style> </head> <body> <p>blah</p> <p>blah blah</p> </body></html></cfsavecontent><cfhtmltopdf name=y pagetype="A4"><cfoutput>#x#</cfoutput></cfhtmltopdf><cfcontent reset="yes" type="application/pdf" variable="#ToBinary(ToBase64(y))#">The page breaks show correctly when generating PDF using CFDOCUMENT
Hi there,I am trying to install ColdFusion 11 using the main Apache root on the Mac. This will be using port 80, and will be the localhost on the Mac, and the file structure is - /Library/WebServer/Documents. The first part installs fine, but the second part (The web step and accessing the ColdFusion administrator) fails.However, when I set-up ColdFusion 11 using the build in Web-Server everything goes fine.Is this a bug in El Capitan?Also, I tried to use the ws_config application to connect to port 80, but this failed too.Can somebody help in getting ColdFusion 11 installed on port 80?Thanks!Johnny
We are running the latest CF 9 server running JVM 1.6_26 on a Win2003 server with an i7 processor and 8GB of ram.Here is the JRun config:java.args=-server -Xms4096m -Xmx4096m -Dsun.io.useCanonCaches=false -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dcoldfusion.sessioncookie.httponly=true -XX:NewRatio=3 -Xbatch -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jarsFor the past few weeks, every couple of days the CF server grinds to a halt.Using SeeFusion we can monitor the requests and see them just starting to stack up.We are typically alerted to the brewing problem when our application starts sending noticesthat SESSION variables are undefi
Hello,I'm trying to install ColdFusion 2016 to newly created Ubuntu 14.04.5 EC2 Instance.I'm receiving this warning during installation:--...Warning: Standard C++ LibraryThe installer was unable to determine if libstdc++.so is available....--I'm using ColdFusion_2016_WWEJ_linux64.bin, Ubuntu 14.04.5 LTS, Trusty Tahr (from /etc/os-release)I have installed libstdc++6, libstdc++5, libstdc++6-dev, build-essentials, latest JRE8 from Oracle but this doesn't help.I'm sure that my system has libstdc++.so:--ls -lah /usr/lib/x86_64-linux-gnu/libstdc*lrwxrwxrwx 1 root root 18 Jan 31 2013 /usr/lib/x86_64-linux-gnu/libstdc++.so.5 -> libstdc++.so.5.0.7-rw-r--r-- 1 root root 811K Jan 31 2013 /usr/lib/x86_64-linux-gnu/libstdc++.so.5.0.7lrwxrwxrwx 1 root root 19 May 7 11:22 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.19-rw-r--r-- 1 root root 957K May 7 12:11 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19--Could you please help me to
I'm a doing a json calls via a third party's API and in one of its url_hash paramters, they gave me this example.json -- url_hash: { '$in' : ['office-365', 'office-excel', 'office-tutorials', 'office-products'] }So here's my current http request.<cfhttp url="https://app.example.com/api/head/category.json" method="get" timeout="15" throwonerror="false" proxyServer="webproxy.example.com" proxyport="8080"> <cfhttpparam type="url" name="_authbykey" value="56a7d8c532131c40581235487"> <cfhttpparam type="url" name="project_id" value="55c4ffd4567891c527e294fe6"> <cfhttpparam type="url" name="limit" value="1"/> <cfhttpparam type="url" name="url_hash" value="#hash#"/> </cfhttp>So, will line 5 of my code above work in this case? Or, do I have to do something different?Thank you.
On CF10 (Windows Server 2008 R2) we recently tried to install update 17 with the anticipation of then installing 21. Our last installed update was 12. We started with 17 because it was the highest one listed as cumulative. The 17 update failed and we tried to uninstall. That also failed so we tried a manual uninstall per the instructions. After that we had problems with the CF administrator page not able to display. We found a corrupt neo_updates.xml file and fixed that per: http://blog.pengoworks.com/index.cfm/2015/11/18/ColdFusion-Administrator-issues-after-installing-ColdFusion-10-Update-18-hotfix-APSB1529Our symptom now is a problem with cfhttp tags. We get a "NoSuchMethodError" error (see log). This happens on public facing pages with the cfhttp tag as well as the "Updates" link in CFAdmin which I assume uses the same cfhttp tag.My concern now is that we really don't trust the integrity of the current CF install/configuration at all. We really need to fix this without a CF reinsta
The problem seems to be that it never gets inside the loop in line 13. I'm not sure if that line of code is correct because it's giving me Error in custom script module before it gets inside the loop. I put a plain texts inside the loop and it never gets executed.<cfoutput> <cfset cfData = DeserializeJSON(artDetails)> <cfif structKeyExists(cfData, 'data')> <cfif not ArrayIsEmpty(cfData.data) > <cfloop index="i" from="1" to="#arrayLen(cfData.data)#"> <!---<cfdump var="#cfData.data.faqChildren.categories#" >---> <cfdump var="#cfData.data.faqChildren.categories.5798bea791121cc46fd77a45#" > <!---<cfdump var="#cfData.data.faqChildren.categories.5798
I have a form using Google Recaptcha but when I submit it and dump out the form on the success page I can see the G-RECAPTCHA-RESPONSE value but if I try to do anything with it I get a 'Variable G is undefined' error message.Is that not the correct way to use the response or is there a better way to get the recaptcha to work?Cheers!
I have a serial number for CF Builder 3, which is an upgrade version. My computer totally died, so I bought a new computer and installed CFB 3. I input my CFB 3 serial number and for my Previous Serial Number, I entered my CFB2 serial number. Both are from my Account page here on adobe.com. The OK button is not activated when I enter my Previous Serial Number. I copy/pasted from my Account page and I have confirmed that I have no extra spaces in the serial numbers.I do remember that I had an issue with CFB 3 last year, and that I had to get a new serial number. That might be why this isn't working.I started a Support Chat, but was told that they don't support CFB through chat. Are there any other options other than paying for a support call??Thanks,Kathryn
Hi,We would like to know on how to setup Coldfusion datasource when Net Sec is enabled on Oracle DB.Our DBAs have enabled Network Encryption for our Oracle datasources (Oracle Advanced Security, Oracle 11g - 11.2.0.4 RAC). We are now getting this error:ORA-12660: Encryption or crypto-checksumming parameters incompatibleIs there anything specific we need to do to support Network Encryption?Example JDBC URL, we use with the CF “Other” datasource:jdbc:macromedia:oracle://192.168.xx.xxx:1516;ServiceName=CFAPP.fda.gov;AlternateServers=(192.168.xx.xxx:1516);LoadBalancing=true;ConnectionRetryCount=5;ConnectionRetryDelay=5;We use the ‘Other’ datasource because we use RAC and the ‘Oracle’ datasource does not seem to support RAC.Regards,Vidya
Hi ,We have ColdFusion 2016 Enterprise in Windows 2012 R2 server, Webserver IIS 8.We need to deploy one of our J2EE application ( WAR ) on the Same server.Is it feasible to deploy in ColdFusion server or we need to install separate Application server for it.Thanks,Paul
I updated to Coldfusion 11 Update 6 and started getting messaging errors in an application that has been running for 5 years. When I roll-back the update to Update 5 the messaging errors no longer occur.The coldfusion-out.log file shows error -[BlazeDS-v4] 09/02/2015 09:46:50.656 [ERROR] [Message.General] Unhandled error when processing a message: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException incomingMessage: Flex Message (flex.messaging.messages.CommandMessage) operation = subscribe selector = null clientId = 331A3C73-901F-61DA-8F42-2798D21DDDB5 correlationId = destination = AMMATECH-TS-1_Assure_Production_PJMCommand messageId = EC9A7AA1-BBFE-5E9C-7438-8B4E527E2868 timestamp = 1441151210640 timeToLive = 0 body = {} hdr(DSValidateEndpoint) = true hdr(DSEndp
Hello,I'm moving an application that has been running on CF 9.0.2 to CF 2016 and am experiencing the following error when using the CFIMAGE tag to convert certain TIFFs (ranging in size from 1.4mb to 2.5mb):"APP1 Segment is too long"More Context from the log:"at java.lang.Thread.run(Thread.java:745)"Error","ajp-nio-8016-exec-9","10/04/16","10:57:05","","APP1 Segment is too long: 1379422"org.apache.sanselan.formats.jpeg.exifRewrite.ExifRewriter$ExifOverflowException: APP1 Segment is too long: 1379422 at org.apache.sanselan.formats.jpeg.exifRewrite.ExifRewriter.writeSegmentsReplacingExif(ExifRewriter.java:490) at org.apache.sanselan.formats.jpeg.exifRewrite.ExifRewriter.updateExifMetadataLossless(ExifRewriter.java:384)"This code has been working fine for many years (literally) on CF 9.x, so I all I am certain of is that it is related to it running on the new server.Has anyone run into this before? Does anyone have any thoughts, ideas, or suggestions on how to address th
I have been trying to set up a local development environment on both my Snow Leopard and Lion machines.I think I'm having problems with the connectors, but the solutions I have located online have not resolved the issue. (The GUI hasn't been able to create the connectors for me either.)I get this error:9/15/12 10:36:47.104 PM [0x0-0xe00e].de.appsolute.MAMP: httpd: Syntax error on line 549 of /Applications/MAMP/conf/apache/httpd.conf: Cannot load /Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server: dlopen(/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so, 10): no suitable image found. Did find:\n\t/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so: mach-o, but wrong architectureAnd am unable to start Apache (MAMP) after manually adding the following to my httpd.conf file:# JRun Settings LoadModule jrun_module "/Applications/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so" <IfModule mod_jrun22.c> JRunConfig V
Hello, all,I've got a query that is grabbing picture album names, the associated "cover" image for each album, other bits of information for each picture album, and a subquery to grab the total number of images per album.If I run the query in MySQL Workbench, everything is correct. If I do a CFDUMP of the query, everything is correct.When I output the results to the page, the values for number of images per album is concatenating all of the values, and decrementing the number of (number of images) per iteration of the output.For example, let's pretend that my query as run in MySQL Workbench looks like:albumID name caption active imageID imageWidth imageHeight&nb
Is there a way to automatically submit the form on change and keep it in the layout. If I do an onchange it opens in a new tab?<cflayout type="vbox" name="status"> <cflayoutarea> <cfform name="myform" format="html" action="Status.cfm" > <span class="ticket-functions">Status:</span> <cfselect name="status" onchange="this.myform.submit()" >
Hello, all,I've been running into a brick wall for the last day or two, over this.I'm trying to write a query that will return an ID if it exists in the database; if the ID does not exist, I want to return a 1 (numeric, not string).Here is what I have, so far, that isn't working. (It's throwing error messages in SQL Developer).DECLARE v_count number(2) := 0 ; BEGIN SELECT COUNT(thisID) into v_count FROM tableA WHERE UPPER(trim(thisID)) = 'zzz' OR trim(thatID) = '987987987987' ; IF v_count > 0 THEN SELECT TRIM(thisID) thisID FROM ( SELECT thisID
Hello,I am in the midst of configuring an upgraded, CF2016 based platform for my domain. I will be deploying this in a high volume, enterprise setting, so the servers I am setting up will be multi-instance servers on a windows 2012R2 platform. They will be clustered on each individual VM, but load balanced externally through an F5 load balancer. This is on a Nutanix VM host.I started this process by doing a clean install of ColdFusion 2016 on a clean Windows 2012R2 VM, and after successfully installing CF, and doing the basic setup in CFAdmin, pulling over data sources etc., I think created an image to use as the basis for our server builds. I have then created two VMs, which I have been building up as our new hosts. In the process of configuring them, I ran into an issue where I could not get the root / primary instance of coldfusion to start it's service. On both of these hosts, I can get any other services to start properly. I have not tested to see if I can hit sites on them,
The code below gives the number of days since Januayr 1, 1900. I have no idea why this works. Please help. ALSO, does this work in CF10/2016 ???Today is 9/29/16 so the number should be: 42640 THANKS! <CFOUTPUT> <CFSET DateVar = createDate( year(now()),month(now()),day(now()) )> <CFSET DaysSince1900 = (DateVar-DayOfWeek(DateVar)-1) + (DayOfWeek(DateVar)-1)> days since 1/1/1900 = #DaysSince1900#<HR></CFOUTPUT>
Hello, all,My boss has tasked me with finding an ISO for ColdFusion Builder 3.As per usual, since Adobe released CF Builder 2016, the links to 3 are all gone.I cannot access the Google Drive of the CF Repo located at cfmlrepo.com, so that's a no go.Given where I work, I can't just blindly accept files from anywhere. (Yeah, I know.. I know.. I'm really not trying to be difficult.)I was kind of hoping an Adobe Staff Member could set up a link from Adobe.com, at least a temp link that would allow access to CFB3 ISO.V/r,^_^
My code runs on a shared ColdFusion server. Therefore I do not have access to the CF Administrator. Therefore I cannot use the CF Administrator to enable debugging. Is there a way within my page I can enable debugging for that page?
Broken link?Send us an email.このURLは存在しません。日本語のホームページにお戻りください。他のサイトのリンクでこのページにたどりついた場合はそのサイトのウェブマスターにリンクが壊れている旨をお伝えください。Error returned: 403
I installed ColdFusion 10 on a Windows 2012 R2 server and at the time of the install specified the server to manage all of the IIS sites. It turns out we decided we no longer want to use version 10 and want to use version 12(2016). I uninstalled ColdFusion 10 but now when I am reinstalling I am trying to select specify specific IIS sites for ColdFusion to manage instead of All Sites and when I go to add the IIS WebServer I get the following. "All the IIS sites are already configured by some other version of ColdFusion".I am have checked IIS and cannot not find any references to ColdFusion files for any of the sites or the server itself.
I am trying to migrate a site from a ColdFusion10 server to a ColdFusion12 server. I have copied over the files and setup the site in IIS but when I go to add the site connector on the new server the site I am migrating is not in the drop down to select. I have done this with several other sites so I am not sure why this one is not working.
Hi,we are using cfzip (server is linux); the problem is that when it was extracted it was under /dir1/zip_filename INSTEAD OF just under /dir1 ?Thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.