The official community for ColdFusion.
Recently active
Hello,On CF9, I am having no issues. Currently, I am testing on a new web server with CF11 update 10. The error I am receiving is:0 is not greater than zero or less than or equal to 0.The range passed to ArraySet must begin with a number greater than zero and less than or equal to the second number.Here is a snippet of my code (not sure if you will need more than that). The bolded code is where it is saying it is erroring out on and I believe is where I need to make a change. I am more or less looking for more ideas on what to check or if something has changed since CF9 that I have not read on. I tried referencing Re: Crosstab - array error for my issue but still couldn't find a good solution. I was told to create a new thread.---<cfset bucketlist = ValueList(crosstabcolumns2.ts_desc)><cfset bucketheaders = ListToArray(bucketlist)><cfset b = ArrayLen(bucketheaders)><cfset bucketarray = ArrayNew(1)><cfset bucketTotal = ArrayNew(1)><cfset temp = arrayset(
I am able to upload 1 GB file.However, when I upload 2.2 GB file, it get struck at 99% progress. I don't get any error.I am running ColdFusion 11 on a Windows Server 2012 R2 machine.1. In ColdFusion code, I set the file limit to 3.2 GB.main cfm page:<cffileupload url="uploadFilesProcess.cfm?par1=#STORAGEDIRECTORY#" progressbar="true" BGCOLOR="##FFFFFF" width=500 height=250 maxuploadsize=3200 title = "File Upload" />uploadFilesProcess.cfm:<cfset param1 = url['par1'] /><cffile action="uploadAll" destination="#param1#" nameconflict="overwrite" />2. In ColdFusion server setting, I set the following:Max number of POST request para: 3200Max size of post data: 3200 MBRequest Throttle Threshold: 4 MBRequest Throttle Memory: 3200 MB3. In Windows IIS filter setting, I set the max allowed content length (Bytes) to 3200000000.
When using the cfstoredproc tag I am not seeing the status code being set when the returncode attribute is set to 'Y'. Below is the code that calls the stored procedure. I am running on ColdFusion 2016 developer addition and my database is DB2 10.5.<cfstoredproc procedure="NULLID.APP_PE_USRCHK" datasource="#MM_connCFWorking_DSN#" username="#MM_connCFWorking_USERNAME#" password="#MM_connCFWorking_PASSWORD#" debug="yes" returncode="yes"> <cfprocparam type="IN" value="#attributes.USERID#" cfsqltype="CF_SQL_VARCHAR"> <cfprocparam type="INOUT" value="#app_pe_userchk__ISAUTHORIZED#" variable="app_pe_userchk__ISAUTHORIZED" cfsqltype="CF_SQL_CHAR"></cfstoredproc><cfdump var="#cfstoredproc#" ><cfset caller.app_pe_userchk__isauthorized = #trim(app_pe_userchk__ISAUTHORIZED)#><cfoutput> cfstoredproc.statuscode: #cfstoredproc.statuscode#<br> app_pe_userchk__ISAUTHORIZED: #app_pe_userchk__ISAUTHORIZED#<br></cfoutput><cfif CFSTOREDPROC.ST
Hello,I am running into difficulty installing the latest hotfix 21 on my developer edition CF. I haven't had issues before with installing hotfixes.I am installing using the Windows command line as the CF Admin method has never worked (can't download the fixes due to our network issues)The 3 fatal errors in the log file:ERROR - Could not move the file C:\{CFPATH}\lib\updates\{filename}.details to the backup location C:\{CFPATH}\hf-updates\hf-10-00021\backup\lib\updates\{filename}.detailsERROR - Could not move the file C:\{CFPATH}\lib\updates\{filename}.notes to the backup location C:\{CFPATH}\hf-updates\hf-10-00021\backup\lib\updates\{filename}.notesERROR - Could not move the file C:\{CFPATH}\lib\updates\{filename}.hotfix_021.jar to the backup location C:\{CFPATH}\hf-updates\hf-10-00021\backup\lib\updates\{filename}.hotfix_021.jarI am running the Windows command line as Administrator. So I don't believe it's a permission issue. Especially since other files are written to those location
Our company recently upgraded from CF9 to CF 2016 and after doing so we have a CFGRID that only displays the left hand paging button/arrow. All the other toolbar buttons are missing.I have searched and searched and cannot find the reason for this. I don't appear to be getting any script errors. Does anybody know what might be causing this?
I want to ask for how to set the condition for how to show the price at the last line of description. for exampleHeader 1no Description Price1 testting testing testing 10.00Can anybody give me some advice or solution? Because the decripstion may be got 1 line, 2 line 3 line or more.
What is CFC and how do I get it?
Hi,Currently we have ColdFusion 2016 Update 1 installed on our deployed server. After we upgraded our CF version from 9 to 2016, all cfgrids combobx columns started behaving a bit strange. Grid combobox columns are not displaying the exact values defined in cfgridcolumn values and valuesdisplay list. We have some links on the grid that opens up a pop-up with cfgrid. This grid combobox list data is getting mapped to the parent grid combobox list.For ex: If the parent grid second column is a combobox and values="true,false" and the pop-up grid second column combobox values="FE,TSE,TS", If I try to edit pop-up grid second column, true/false is appearing in the combobox list.Strangely this is happening with all the grids that have editable combobox columns. Can you please help me with theGrids settings is something like:<cfset gridArgs = structNew()><cfset gridArgs.name = "LoansGrid"><cfset gridArgs.pageSize = 20><cfset gridArgs.format = "html"><cfif SERVER.ColdF
Is there any "good" documentation out there showing me what I have to do, step by step would be nice, to configure CF to work with an Oracle DB?I've never worked with Oracle before so I'm not familiar with any of their ODBC drivers or how to configure them. One would think there is some sort of tutorial out there somewhere to do this! Getting frustrated... 😠
We would like to secure a GeoCortex Web HTML5 viewer application using a registration and sign-on page developed/served in ColdFusion 11. The GeoCortex server and CF11 server are on separate MS 2012 Server boxes.Any suggestions are appreciated.
I am running two servers, one on CF11 Hotfix 10 and one on CF11 Hotfix 7. After being up for some period of time I get this error when going to Server Update / Updates.The selected type [CFContainerID] was not set via the ESAPI validation configuration The error occurred in index.cfm: line 170Called from index.cfm: line 164Called from index.cfm: line 52Called from index.cfm: line 51Called from index.cfm: line 1-1 : Unable to display error's location in a CFML template.Restarting the application server fixes the problem, but it returns after the server has been running for a while. Any ideas what causes this and if there is a fix?Thanks, Michael
get the following error with my code below. Please Help.Table will be rows = dscgrd, columns = dsckcrse, rows x cols = count of dsckextid. All grouped by teacher_anumber. 0 is not greater than zero or less than or equal to 0. The range passed to ArraySet must begin with a number greater than zero and less than or equal to the second number. The error occurred in C:/ColdFusion10/cfusion/wwwroot/CFIDE/groups/crosstabs.cfm: line 4139 : GROUP="dscgrd"> 40 : <tr><th>#dscgrd#</th> 41 : <CFSET temp = ArraySet(course_idarray, 0, b, "N/A")> <CFQUERY NAME="crosstabquery" DATASOURCE="LIISthinkgate"> SELECT teacher_anumber, dsckcrse, dsckextid, dscgrd FROM evaluationstudentcourse ORDER BY dscgrd, dsckcrse</CFQUERY><CFQUERY NAME="crosstabcolumns" DBTYPE=
Ich suche die Einstellungen für cf 2016, um ein PDF zu generieren mit CMYK.
Hello,I'm new to the forum, so please bare with me if I have not provided the proper details or in the desired format. Problem: Daily, usually in the evening or early morning hours, USA time, our Cold Fusion sites are found down (4 sites, plus the default admin, cf instances) all connected through IIS and the Cold Fusion sites are configured to run as a Windows Service. Resolution: Start the sites via jrun.exe or start them via Windows Services (services.msc) and it works fine, no further issues until the next problem occurs again later.System: Windows 2008 Enterprise 64bitVMware client running on VMHost - HOST info: VMware ESXi 5.1.0 64bit, 1 CPU, 2 cores assigned. 6GB of RAM. VMware host reports less than 50% CPU usage and memory across multiple VM Clients (Guests), no spikes of note.Cold Fusion 9 64bitCold Fusion: Server Product ColdFusion Version 9,0,1,274733 Edition Enterprise &nbs
We just upgraded from ColdFusion Enterprise 10 to ColdFusion Enterprise 16. Unfortunately, we couldn't figure out a way to migrate the SOLR collection. The migration tool on the CFAdmin page doesn't work. Anyone done this?Thanks,Nam
On our servers we have CF 9.02 (yea, yea please get past this), and we are looking at upgrading to CF 2016. So I downloaded the 30 day trial version installed it on the dev server, but used the internal Tomcat server to run CF9.02 simultaneously. Every appears to be working as expected except FLEX SWF files.I followed instructions from here ColdFusion Help | Installing Integrated Technologies but I get blank pages with debugging information but no errors..Has anyone else seen this issue? Can you point me in a direction to look?thanks,Kev
Accidently showed hidden characters \r\n, can't work out how to hide againI can't figure this out It's not hidden characters, or whitespace characters (I've hidden both in the editor preferences).Anyone know how to re hide these things?
Updated and deployed a CF app from CF8 to CF11. I downloaded the CF 11 "demo" in November, and it has expired. I received an email inviting me to buy. The version in the email says it was CF Enterprise.I only want to buy Standard, but - will this screw-up my installation? It's all working, and I don't see any problems. How does an unlicensed version make itself known?The CF8 version I upgraded from is standard, and we're not doing anything fancy at all. - Executing an external program on the server, creating a PDF from CF Reports, and zipping a folder for downloading is about it.*really* don't want to re-install, as it was not trivial doing so.Thanks.
I am building a report in cf report builder where there records outputed are grouped and sorted by date in the cf queryI need to be able to display the date as the grouped heading on each page, if there is a change of date in results on the same page i am wanting the sub heading for the new grouped date to appear on the page as a sub heading.the output i am needing is the same as the output that would be generated from the following code in a cfm output<cfoutput query="queryname" group="TransactionDate">#TransationDate#<br> <cfoutput>#transationTime# , #transactiontype#, #transactionamount# </cfoutput></cfoutput>When i try and generate similar output above in cf report builder i am not able to have the TransationDate appear as the subheading once the date changesthe report simply outputs the rows containing#transationTime# , #transactiontype#, #transactionamount#however at the change of date there is no sub h
Hi All,I was working in generating pdf report from html content and I was trying to put footer html content in the pdf, but I'm unable to put it inside cfhtmltopdfitem tag as div tag and class is not allowed inside it. So, I just kept it inside my html body, but I'm getting a huge space between the html footer and the actual pdf footer(as show in the image).So, is there any way to resolve this?
Hello,i'm using CF11,part of my application.cfm file :<cfapplication name="myapp" clientmanagement="yes" sessionmanagement="yes" sessiontimeout="#createtimespan(0,0,30,0)#">When the user is logged in, session variable session.validlog is set to 1The JS script (loaded with index.cfm) :<script type="text/javascript"> function session_checking() { $.post("ajax-session.cfm", function(data) { if(data === "-1") { window.location = "http:/myserver/login.cfm"; } else { console.log('Session active') ; } }); 
Hello,I'm unable to fix the below error, please help to fix it, I've added Mime in so many way (like application/x-cfm, text/plain, text/x-cfm etc.) but it not fixed the issue.Thanks a lot in advance
Hi All,OS / Redhat Linux 7CF Version 11,0,07,296330Tomcat version 7.0.64.0Java version 1.8.0_25 I have this strange issue that I am hoping is an easy fix. Previously when I ran CF9 I was able to get into the Server Monitor without issue. Back in June we deployed a new server and installed CF11. Since then, I have not been able to get into the Server Monitor, so I am assuming the issue is related to the way I set up ColdFusion on this new server.When I click on Launch Server Monitor in the CF Administrator, it launches a new window but displays the following error message:I am not sure if it just is looking in the wrong area for the server monitor, or the issue is due with the account used to set up CF. ColdFusion is currently running as user "nobody"....which I am sure is not the right way to have this configured. For login information, I have tried using the Administrator account that we log into the CF Admin page with, but have not had any luck.Any
I try to uninstall coldfusion 2016, but the uninstaller fails with this exception:java.lang.NullPointerException at com.zerog.ia.installer.uninstall.DescriptorList.aa(Unknown Source) at com.zerog.ia.installer.uninstall.DescriptorList.registriesHaveBeenReloaded(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.a3(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source) at com.zerog.ia.installer.Main.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source)How can this be solved?I'm
I need to report counts by program, level and if they have enrolled in a course for the selected year. With the below query I receive counts for both the enrolled and offered columns when a student is enrolled in the selected year and also previous years. It does not seem to select only the MAX(nmcrs.sch_yr). If this is not the proper way to achieve my results I am willing to change!SELECT distinct award.awd_cod, name.soc_sec, award.awd_txt, MAX(nmcrs.sch_yr),/* Registered Returning Students Count */SUM(distinct (case when nmprg.prg_cod <> 'UNGRDTR' AND name.level_ < '3' AND nmcrs.sch_yr = transact.sch_yr then 1 ELSE 0 END)) AS Enrl_FRSO_Cnt, SUM(distinct (case when nmprg.prg_cod <> 'UNGRDTR' AND name.level_ = '3' AND nmcrs.sch_yr = transact.sch_yr then 1 ELSE 0 END)) AS Enrl_JR_Cnt, SUM(distinct (case when nmprg.prg_cod <> 'UNGRDTR' AND name.level_ > '3' AND nmcrs.sch_yr = transact.sch_yr then 1 ELSE 0 END)) AS Enrl_SR_Cnt,SUM(distinct (case when nmprg.prg_cod
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.