The official community for ColdFusion.
Recently active
We want to use ColdFusion to read a GreenPlum database. We know that GreenPlum is based on Postgres, and Postgres is supported. Are there plans to include GreenPlum is there a way to use it in ColdFusion 2016?
Are there any known limitation with using CSS paged media or guides on how to style a pdf when using cfhtmltopdf?
How can I get 100% control over the style of my PDF using coldfusion's cfhtmltopdf and css. I would like to know if CSS paged media or print css works with cfhtmltopdf. I have successfully created PDFs. My normal CSS shows fine, it's just the @8546378 css and @media print calls are ignored.What does work is page-break-before: always but other page-break styling gets ignored.
once i submit this form, i got error on GetSQLValueString($_POST['tarikh'], "date")); the error shows Warning: sprintf(): Too few arguments in on line 53 Query was emptyHow can i solve this problem?so, this is my php file<?php require_once('Connections/athira.php'); ?><?phpif (!function_exists("GetSQLValueString")) {function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": &nbs
Hello All,I recently purchased the ColdFusion Builder 2016 upgrade from CF Builder 2 to 2016.I have tried three time to install this application and each time it goes through the entire install and the log file show Successful for everything.Two Issues:1. When installing I enter my new Serial (CFB 2016) and it works but when I add Previous Serial (CFB 2) it does not accept it. I then choose to use the trial version which runs to completion without error.2. When I attempt to start it the icon appears on my task bar for about 2 seconds then disappears.Note:I am running on Windows 10 Pro Version 1607 Build:14393.479I am running Java 64 Bit: Java 8 Update 111 (64-Bit)I am running ColdFusion Server 2016 (developer edition)I have CFB 2 Installed on this same PC (I think required for upgrade)I have spent hours searching various blogs, forums, etc and have tried everything that seemed somewhat logical but in the end it will not run.On the other hand CFB 2 runs perfectly.I want to thank you (an
We upgraded from CF9 to CF2016 a couple of weeks ago.The following issue seems to occur every few days. When it occurs, there are large numbers of exceptions at exactly the same instant. There were *47* of these NullPointerExceptions in our exception.log this morning:"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "java.lang.NullPointerException at coldfusion.runtime.NeoJspWriter.writeOutput(NeoJspWriter.java:228) at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:362) at coldfusion.cfc.CFCProxy.flush(CFCProxy.java:357) at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:332) at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:302) at coldfusion.runtime.A
Some background: we recently upgraded from CF 10 to CF 2016, and moved to a new server (Windows Server 2012 R2, IIS 8). All updates are installed for all of the above (cf version 2016.0.03.300466 and jvm version: 25.72-b15). Here's the issue: In my Application.cfc I've got a completely empty onSessionEnd.<cffunction name="onSessionEnd" returnType="void"> <cfargument name="SessionScope" required="true" /> <cfargument name="ApplicationScope" required="false" /></cffunction>I've got onError is currently set up to send me an email. I am periodically getting this:arguments - struct EVENTNAME onSessionEnd EXCEPTIONarguments - structCausearguments - structMessage [empty string] StackTrace java.lang.NullPointerException at coldfusion.runtime.NeoJspWriter.writeOutput(NeoJspWriter.java:228) at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:362) at coldfusion.cfc.CFCProxy.flush(CFCProxy.java:357) at coldfusion.
HI,I am migrating to new pc and I am trying to deactive the licence on the my current pc. From what I can find about this I should be able to do this by accessing the help menuHelp > Adobe ColdFusion Builder DeactivationBut my help menu does not have this option, and i cant find any other way to do this.Does anyone know how to do this?ThanksAidan
I have recently installed CF10 on a Win 2008 R2 server it will open the main pages (index.cfm) but if I try to browse to the links within the site I get a 500 internal server error or 404 file not found. I have looked at a few articles in regards to creating a virtual directory named jakarta this works for only one site and seems to only work if I set that virtual directoyr to the wsconfig\1 folder. I am not familiar with CF by anymeans so if answers could be as rookie as possible. Thanks,
It appears that Adobe still has not addressed this issue, a year later?We just upgraded from CF9 to CF2016 on linux and ran into this issue tonight.A template that serves up a large sitemap with a lot of output created the error when Bingbot hit it tonight. Note that this template does NOTHING with sessions. It queries a datasource and spits out some XML. That's it. "Error","ajp-nio-8016-exec-1","07/20/17","19:16:17","THECFAPP","Cannot create a session after the response has been committed nullThe error occurred on line -1. : The specific sequence of files included or processed is: /sitemaps/sitemap.cfmFrustrating bug because it doesn't appear to have any solution. It does appear to be a Tomcat related issue.Apart from the suggestion in the old thread below to turn J2EE session variables off (which I'd rather not resort to), does anyone know of a way to fix this? Re: java.lang.IllegalStateException: Cannot create a session after the response has been commi
I have a sub site that has it's own domain but otherwise is just a modified skin for the existing website. The sub site, while reproduces or content, is a domain that my company does not own. The sub site is for a retailer who is no longer a licensed retailer for my company. Because the domain is not ours, I cannot easily do a redirect or the site. I'm wondering if there is a way for me to create a script in my site that can stop the sub-site from using my content. parent company domain: companyname.comsub-site that's cloning and reskinning our site: companynameretailercity.comBoth domains licensed through same company. Sites are hosted on different web servers. I'm thinking this is a long shot. But thought I'd see what others may suggests. Ideally, I'd get the owner of the other domain to shut down his website. But that could take time and legal action.Thanks for any suggestions you may have. Heather
I have an app running in coldfusion 9 enterprise edition. I created a new server instance from CF admin and it got created successfully and its running(windows service).But my app is not working since I found that it is not pointing to this newly created instance.Why I made the conclusion that my app is not pointing to new server instance is because,I got "Data source not found" issue while running the app. So I checked the CF admin for newly created server instance(in an assumption that my app will be pointing to this new server instance) but that datasource was actually available there. But ,when I searched for the same datasource in the main server , I could not find it there. So I added the same datasource (by copying from new server instance) in the main server and then my app was running successfully. So I found that my app is not considering the newly created server instance instead it is pointing to main server.I am using IIS webserver.Could any one help/guide me resolve this i
I am trying to transition from cfeclipse. When I type a '<' I want cfbuilder to insert the closing '>' like it did in cfeclipse. If the tag I enter requires a closing tag then I type over the '>' with my own '>' and it closes the tag.So, typing '<cfdump' gets me <cfdump>typing '<cfoutput>' gets me '<cfoutput></cfoutput>'and so on. Is there anyway to customize this behavior?
I am using the following code as a test:<cfset PlainTextPassword = "Testing123^^%%@@!"><cfset tickBegin = GetTickCount()><cfset salt = Hash(GenerateSecretKey("AES"), "SHA-512")><cfset hashedPassword = Hash(Trim(PlainTextPassword) & salt, "SHA-512", "utf-8", 57500)><cfset tickEnd = GetTickCount()>This runs in ~50-70 milliseconds on our test servers, but takes around 5 seconds on our live production server, which has similar to better specs:ServerOSProcessorRAMApplicationsColdFusion settingsLoadtest64-bit (same)Xeon X5670 (2 cores)4GBColdFusion (same), MySQLSet to use up to 1GB RAM~0-5 concurrent userslive64-bit (same)Xeon X5670 (4 cores)6GBColdFusion (same)Set to use up to 2GB RAM~50+ concurrent usersAny idea on why the difference is so drastic?Thanks in advance.
Does CFLDAP on CF 11 support talking to ActiveDirectory 2012 R2 in Native Mode? Asking for a friend.I would think so, but a sysadmin is asking because they're upgrading a box and apparently don't have one to test the upgrade path before the production upgrade.... Thank you!Server ProductColdFusionVersion11,0,12,302575EditionEnterprise Operating SystemUNIX Adobe Driver Version5.1.3 (Build 000094)
How would I attach files to my cfpresentation?
Hi,I am using cfchart for generating chart, but xml content for styling is not working on coldfusion 16 but it is worked in CF10.Error . Is there any way to fix this.
Hi,First off, I have an issue where my CF 10 cfchart is requiring the style attribute to be a json file. From what I can see, this wasn't supposed to happen until CF 11, and there seems to be no way to set it to take an xml instead.Secondly, I have not been able to successfully convert the xml to json myself, and nor do I find the cfchart_xmltojson.sh/bat utility, which I also gather is for the CF 11 release. Thus, if anyone has either some conversion rules, or this script linked somewhere - would be a great help.I am also in the process of trying to run the full webcharts3d generated file.wcp, but that seems to be failing for another reason, i.e. “Class not found: com.gp.api.jsp.MxServerComponent”, (though the correct jar(s) seem to be in place), though that might be a better subject for a separate thread.Thanks!
Hello, all,I have inherited a project that (sadly) uses CFFORM and some of the related elements, including a CFTEXTAREA with richtext="yes" attribute. This application will take the text from an online news article and insert it into a database to be displayed on a local restricted webpage (with a link to the actual online article), as well as generate an email with all of that days entries and send it to a list of people who are signed up to receive said email.The datatype for the article text is CLOB (Oracle 12g). The pages are set to UTF-8 encoding. I believe the email is also set for type="html" with UTF-8 encoding.Every so often, text is entered that contains characters that FireFox v52.x.x and IE11 don't like, and are replaced with a black diamond icon that has a question mark inside it. I believe this is happening with just apostrophe, but I can't swear to it.What is happening, and how do I correct it?V/r,^ _ ^
HI all,First off, thanks for any help you can provide.I'm using cfspreadsheet to create an xls report. One of the sheets (xls tabs) has a summary report which will display some values from different sheets. I see that there is a function to get cell values - SpreadsheetGetCellValue(spreadsheetObj, row, column) - this seems to only get values from cells on the same sheet.Am I overlooking something?Thanks
I am running CF2016 with MSSQL 2016 Express Edition on a development server.I have the following script:<cfscript> bLoggedIn = createObject("component", "cfide.adminapi.administrator").login('#cfadminpassword#'); myDatasourceObj = createObject("component", "cfide.adminapi.datasource"); if (bLoggedIn == FALSE) writeoutput('not loggged in'); else writeoutput('logged in'); //cfdump(var=myDatasourceObj.setMSSQL); myDatasourceObj.setMSSQL( driver="MSSQLServer", name="my_dsn_name", host="localhost", port="1433", &nb
Hi,I need to upload an image from my computer and convert(cast) it to varbinary and store it in my SQL table's IMG(varbinary) column.I tried somethings but i always get new errors.First i tried to choose img on html page and then UPDATE NULL column on my already created data's.html page<cfform action="#request.page#?event=do.test.abz_upload" name="upload" method="post"><input type="file" name="fpic" accept="image/*"><cfinput type = "submit" name = "Submit6" value = "Yükle"></cfform>action page<cfquery name="upload" datasource="test">DECLARE @10607085 varbinary;SET @10607085 = CAST(#fpic# AS varbinary); <!--- also tried CONVERT --->UPDATE dbo.FILMS SET IMG = @10607085 WHERE FILM_ID = 3 ;</cfquery><cflocation url="#request.page#?event=vi.test.abz_test" addtoken="no"><cfquery name="upload" datasource="test">UPDATE dbo.FILMS SET IMG = CAST(#fpic# AS varbinary) WHERE FILM_ID = 3 ;</cfquery><cflocation url="#request.page#?event=v
Yesterday a new CF11 server that we are prepping for production started spitting out these exceptions while performing a site security scan:java.lang.IllegalStateException: Cannot create a session after the response has been committed In googling I found some references to some Tomcat issues but nothing regarding ColdFusion. I know CF11 uses Tomcat but I have no idea what the error is or how to fix it. Anyone have any experience with this error and if so, details please...Stack trace is as follows, if it helps:java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request.doGetSession(Request.java:2925) at org.apache.catalina.connector.Request.getSession(Request.java:2301) at org.apache.catalina.connector.RequestFacade$GetSessionPrivilegedAction.run(RequestFacade.java:216) at org.apache.catalina.connector.RequestFacade$GetSessionPrivilegedAction.run(RequestFacade.java:205) at java.security.AccessController.doPrivi
I am trying to format an excel sheet using vbscript. This script works fine when i execute it in the server. But when i call this script from my CF component file. This script call does not show any error or success. Environment: ColdFusion 11, Windows 7 , 64 bit Machine.After checking some threads on office automation I found this .We have to add the Desktop folder in the systemprofile and system32 folder to open file by Excel if you have Windows Service or IIS on Windows 7 x64 (dev machine) and Server 2008 x64.So I added Desktop folder under these 2 directories - C:\Windows\System32\config\systemprofileC:\Windows\SysWOW64\config\systemprofileI tried this as well. Still no success. Any suggestions??VBScript Call from ColdFusion:---------------------------------------<cfexecute name = "C:\Windows\System32\cscript.exe" arguments = "//Nologo #GV_SCRIPTPATH#" timeout="50000" variable = "savedOutput"></cfexecute> <cflog text="#
On the following page, none of the links work:ColdFusion Help | Method summary No matter what method's link you click on, it gives you an "access denied" error, telling you that you do not have permission to view that page.If you look at the URL it tries to send you to, it starts with "helpx.stage.adobe.com" -- if you remove the word "stage" from that URL, then you can go to that page. So clearly the links on the main page are broken -- they're sending you to the wrong URL.Hopefully someone from Adobe will see this and be able to fix it.Thanks,L.
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.