Questions
Actividad reciente
I have a mortgage site that I inherited. I can enter the down payment at a certain dollar value. The owner wants to add the ability to either enter down payment (currently I have in site) or enter the percentage of a down payment. Below is where I need to add the code and what was in there to start. <tr> <td valign="middle"><div align="right">Down Payment:</div></td> <td valign="middle"><span class="style6"></span></td><td valign="middle"><span class="style6"> <cfinput name="dPayment" type="text" tabindex="23" size="15" required="yes" message="Please e
I have three queries on my page:1) Query #1: calculates a leave time value (ex 100)2) Query #2: calculates a used time value: (ex 😎3) Query #3 is a query of queries that should calculate the difference between the first two values.First two are working fine, but QoQ is giving me the following error:The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.Null Pointers are another name for undefined values.What is the issue here?<!---Create "Accrued Leave Time" (for current year) Dataset ---><cfquery name="rsAvailableLeaveTime" datasource="care">SELECT COALESCE(SUM(tblleavetime.ltHours),0) AS Accrued_LeaveTime, ltUserFROM tblleavetime LEFT OUTER JOIN tblusers ON tblusers.username = tblleavetime.ltUserWHERE tblleavetime.ltUser = <cfqueryparam value="#SESSION.kt_login_user#" cfsqltype="cf_sql_clob" maxlength="255">AND YEAR(tblleave
I'm running CF 10 Developer (64-bit) (using IIS) on top of Windows 2008R2 (64-bit). This server is running in a Virtualbox VM on my Windows 7 Pro (64-bit) workstation.Everytime I attempt to add a RESTful service (even the most minimalistic), I get an error.For instance, this very simple CFC:/RestExample/HelloWorld.cfc <cfcomponent rest="true" restPath="/hello"> <cffunction name="sayHello" access="remote" returnType="String" httpMethod="GET"> <cfset res="Hello World"> <cfreturn res> </cffunction></cfcomponent>I then proceed to register the service in CF admin:Root Path: C:/websites/test/RestExample/Service Mapping: ExampleThis will produce this error:Error registering REST service
Hi,We migrated from CF2011 to CF2018 and then ORM is breaking the EntitySave method and we are getting below error message.Error Message - The root cause of this exception was: coldfusion.orm.hibernate.HibernateSessionException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1.We have 2 classes with one-to-many relationship like Email.cfc(parent) and EmailItems.cfc(child). When we try to save Email.cfc object the hybernate crates a UPDATE query for EmailItems as well and this is happening with CF2018 only.Here is the defined property in Email.cfc.<cfproperty name="EmailItems" lazy="true" fieldtype="one-to-many" inverse="true" fkcolumn="EmailID" cfc="EmailItem" singularName="EmailItem" type="struct" structkeycolumn="EmailItemKey" structkeytype="string" cascade="none"/>We are using inverse and it still create a UPDATE query for child class 'EmailItems' which is the reason for failing EntitySave(Email).Everything works fine with CF2011.Tha
ColdFusion 11 offers a new feature to preserve the case of struct keys during JSON serialization. Trouble is it does not work for me (OSX 10.9.4).The documentation mentions 2 ways to get this working (although it is supposed to be on by default).In application.cfc, set this.serialization.preservecaseforstructkey = trueIn the ColdFusion administrator settings page, check 'Preserve case for Struct keys for Serialization'Neither of these work. Stopping and Starting ColdFusion does not help.No matter what, I always get the keys converted to UPPERCASE, just like in CF10 and earlier.This would be a great feature to have working. Is it a bug? Has anyone else got it working?Andrew Culver
I am showing a datediff using just hours. Can I show hours and minutes? I am using CF10, and I am not a programmer.Here is what I am using<cfset cc_TIC_cooler_good_untilDiff = DateDiff("h", Now(), cc_TIC_cooler_good_until)> cc_TIC_cooler_good_until = date/time stored in database.Thank you
In the past I have always had success connecting data sources. However, I am really struggling connecting both my Oracle database and my MySQL databases to CF16. I believe I have the drivers in place but no matter what I do I still am cursed with the "No suitable driver available" message.Trying to connect to Oracle 12c and MySQL latest version 8.For oracle I am using what i did with CF11 and that is the jdbc oracle thin driver.For MySQL I am using jdbc mysql driver.Both are located in the /cfroot/cfusion/lib directory (or at least I think they are).Any help would be appreciated.ThanksJK
Hi team,i have installed coldfusion 2018 on the server, configured IIS. Now when i visit admin page it shows freezed search bar and i am unable to do anything.
I have an application that allows users to upload multi-worksheet Excel files. I use CFSpreadsheet to parse these files and import the data. The processing can take anywhere from a minute to several minutes. The first worksheet contains data that dictates which additional worksheets require processing during the import.While doing some load testing, I noticed that if two users upload files, the second user has to wait for the first user process to finish before it works. I have added CFLOG statements throughout my application, and done some simplified test scenarios (where I just read one worksheet and dump the result) that prove to me there is a blocking situation. Has anyone else seen this situation? Is there a way around this?
I have function that will generate cfdocument pdf file. Then I would like to return the document and server to the browser. Here is example of the function that generates the pdf file.<cftry> <cfdocument format="PDF" filename="file.pdf" overwrite="Yes"> <table> <tr> <td>Test</td> </tr> </table> </cfdocument> <cfset local.fnResults = {file: //Here I'm not sure what I should return}> <cfcatch type="any"> &nb
Hello, all,I'm a bit confused about something, and I hope someone can set me straight.According to a blog entry (from four years ago) by Adam Cameron, Adobe initially created a CFSCRIPT version of CFSAVECONTENT, and it was called "savecontent", which falls into step with the typical CFSCRIPT implementation of CF tags (ie, remove "CF" from the tag for the CFSCRIPT version.)But according to Adam's blog entry, CF11 changed it to "cfsavecontent".Now, we develop in CF10, but our production servers run CF11. So, am I to understand that "savecontent" does not work in CF11??? Do I have to write conditionals and double my code in order to get it to work in both development (CF10) and production (CF11)? Or is it backwards compatible, and "savecontent" will work in both versions?V/r,^ _ ^
Hello, all,Is it possible to use CFMAIL to send an encrypted email using a PKI resource instead of a .p7c cert file?Looking at the help docs for CFMAIL, you have to have a local copy of the receiver's certificate, and include the path/file as one of the attributes.Seeing as how email clients like Outlook can reach out to a PKI to encrypt an email, can CFMAIL do the same??V/r,^ _ ^
Hello, When I try to use the login page to go to my Application, I get the following error. I have already checked my username and password , they are correct.We are using Oracle 11g database and Cold fusion 9. Please help ?"Error Executing Database Query.[Macromedia][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied Please try the following"ThanksIQ
I'm thinking this error has to do with permissions, but I'm not sure. I'm not running any custom service accounts to run IIS 7.5 or Coldfusion. This is some dirt on my server and setup:Server Product ColdFusionVersion ColdFusion 10,282913Edition Developer Operating System Windows Server 2008 R2 OS Version 6.1 Update Level /C:/ColdFusion10/cfusion/lib/updates/chf10000002.jar Adobe Driver Version 4.1 (Build 0001) JVM DetailsJava Version 1.6.0_29 History of this server:Had 9.0.1 installed. Installled CF 10 Beta then uninstalled both 9 and 10 Beta to install 10 final. Ran into a problem with IIS 7.5 refusing to release some settings somewhere deep beyond web.config files so being it was a dev test server I simply uninstalled IIS 7.5 role and also uninstalled WAS, Wonderful Windows Process Activation Service, feature (if thats what it really is... more like a burden IMO) and deleted C:\ColdfusionX folders and C:\inetpub to pu
I have code like this<cfoutput>#calculated_value# </cfoutput>Then More code...................Then the Calculations code is done here to get the calculated value.Then More code...................The issue I have is that I need to output the calculated_value before I calculate it later in the page.I guess I could move the Calculations code to above the cfoutput, but it's not as easy as it sounds.Is there a way for the entire page to load, but not output.... do the calculations code to get the calculated_value and then output the entire page with the calculated_value shown at the top?
Hi,I am trying to download the trail for Adobe ColdFusion 16, but when I fill out the information for which version I want to download (32-bit | English) I get this broken link error.It says to send an email to report a broken link, but there is none available for me to use to contact Support.
I am using ColdFusion 11 and having an issue creating data sources to more then one database.The application works when I have one data source in the application.cfc, but when I add a second data source the second one does not work and I receive an error "Datasource main_db2 could not be found". Can anyone provide me with sample code on how to set up two or more data sources using application.cfc ?Current code that works for one data source in application.cfc.// Application.cfccomponent { this.name = "DSNTest"; this.datasources = { main_db1 = { database = "CUS124", host = "C008945DE
CF2018 Server Standard (installed in development mode)IIS 8.5Windows Server 2012 R2So I've installed Server 2018 Standard upto Hotfix 1. At the time of installation there were 2 sites in IIS, these are both configured when I open the WSCONFIG.EXE (using Run As Administrator... I am an administrator on the box anyway).I have added a 3rd website and cannot configure it with WSCONFIG.When WSCONFIG opens it says. Total Websites 3, Configurable 2. See screenshot.Once the 2 that are configurable have been configured then trying to add any new gets the error shown below.CF2016 was previously installed on this server, it was uninstalled via the uninstaller before CF2018 was installed.What am I missing that is stopping WSCONFIG being able to configure the site?Thanks
Hello,I have installed using ColdFusion Mx on IIS6 on Windows 2012All are on the same server.When I go to the home page using the URL http://localhost/cfide/administrator/I get an error message, Any suggestions on how I can fix this issue ?I have tried all options I could try by changing the Module in handler but nothing seems to work.ThanksIQHTTP Error 500.21 - Internal Server ErrorHandler "cfmHandler" has a bad module "BasicAuthenticationModule" in its module listMost likely causes:Managed handler is used; however, ASP.NET is not installed or is not installed completely.There is a typographical error in the configuration for the handler module list.During application initialization, either the application initialization feature has set skipManagedModules to true, or a rewrite rule is setting a URL that maps to a managed handler and is also setting SKIP_MANAGED_MODULES=1.
I upgraded to CFBuilder 2016 from CFB3 and I select multiple lines all the time and indent by hitting the tab key. In CFB3 I never noticed an issue, but with CFB2016 it takes 5+ seconds to just have it indent or unindent. My Java Heap space shows I have plenty of memory. Any ideas of what would be causing this?
Currently we have servers running on Coldfusion 11 Update 14 and the windows version is 2008 R2. Our company is planning to migrate from windows 2008 to 2016. My questions are* Does CF 11 update 14 servers support windows 2016?* Will the migration be smooth?* Will the application running be smooth after the migration?* Will it affect the back end database connection?Thank you.
Hello folks,I inherited some cold-fusion web servers at my organization from another sysadmin who is no longer with the organization. I intend to build some new cold-fusion 2018 web servers, and am planning for that now.The previous sysadmin assigned one unique IP address per website. He only filled out the hostname for the port 80 binding, and no hostname for the port 443 binding on each site. This strategy uses a LOT of IP addresses. I am trying to be efficient, and looking for a better way. I think I see how to do this, but am looking for confirmation, or any gotchas I may run into.I have been doing some reading, it appears with IIS I can bind many websites (around 80 sites) to just one IP address (only assign one IP address to the server) using the standard ports (port 80 and 443). Since the same IP address and port numbers will be used on all 80 sites, the unique identifier would be the hostname I identify in the binding (url for the website). This should require the server to hav
I have migrated one of my service from ColdFusion 10 to 2016.Post that I noticed two issues1) Scheduled tasks are not running : Log shows Task default.abc misfired.2) Another system calling my webservice is not able to execute itThe webservice looks like https://www.abc.com/testInterface/webservices/testImporter.cfc And error isPROD Error message: failed to export item fgsfgs to target WebServive : SOAP request failed (<pushData xmlns="http://webservices.testinterface"> <inputXml> <testData xmlns="">some data </testData> </inputXml> </pushData>): SOAP request returned empty result XML: Root element is missing. Task default.Keyreviewdata misfired.
Our application reads an jpg image from the file system using <cfimage>. it then tries to write the image to an Oracle 11g database using simple SQL to a field of type BLOB using the imageGetBlob(). This has been working for years until recently. We have updated to an earlier java version but don't know whether this is the problem.CF version 11,0,15,311399Java version 1.8.0_191error: Caused by: java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:261) UPDATE my-table SET SMALL_IMAGE = , MEDIUM_IMAGE = , LARGE_IMAGE = &nb
Following this example Easy Rich Internet Applications With ColdFusion 8 — SitePoint the rowdblclick event does nothing. Same result for the example code and my augmented code. Neither work. Is there a different way of adding a listener in CF2016? <script type="text/javascript">function initGrid(){ var grid = ColdFusion.Grid.getGridObject("aaaGrid"); grid.on("rowdblclick", showAAAForm); }function showAAAForm(){ var aaaId = ColdFusion.getElementValue("aaaGrid", "gridForm", "id"); var url = "aaaForm.cfm?aaaId="+aaaId; ColdFusion.navigate(url, "aaaWin"); ColdFusion.Window.show("aaaWin"); }function submitForm() { clearErrors(); ColdFusion.Ajax.submitForm("aaaForm", "AAA_submit.cfm", submitCallback, errorHandler); }function submitCallback(response){  
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.