Questions
Recently active
Where do I actually develop a web app? Enterprise or Developer? Do I need Developer?
We just completed a ColdFusion 10 installation on Windows Server 2008 R2. After taking care of some configuration issues, we're now faced with a problem that we can't figure out. Searches on Google for the error returned almost nothing.The error occurs when xmltransform is called in a CFC file. The error we get from CF is: An error occured while Transforming an XML document Failed to compile stylesheet. 1 error detected. It's not very helpful. In the coldfusion-error.log file, we have this entry:Error at xsl:output on line 2 column 193 XTSE1560: Conflicting values for output property methodAnyone have any ideas how to fix this? Is it something simple that we overlooked, or a fundamental difference in the way CF10 handles xmltransform?Thanks,Jamie Carter
Very odd issue that has just started with our CF10 environment with 2 of our dev boxes.....I have a box for example that has been configured with 2 instances....dev-app and dev-admin. Randomly both instances will have issues talking to our DSN's , the main coldfusion admin http://localhost/CFIDE/administrator communicates no problem with the same set of DSN's. I have 2 boxes out of 15 acting like this....they are all setup exactly the same in terms of virtulization, firewall, etcSpecific error I receive is Connection verification failed for data source: cc_corejava.sql.SQLException: Timed out trying to establish connectionThe root cause was that: java.sql.SQLException: Timed out trying to establish connectionI am at a loss why these boxes are suddenly popping up with these DSN timeouts....I have even rebuilt one of the boxes as far as CF goes but still same issue.....it might work again but I can't have it soo flaky.
Up until a week or so ago we were using tinypng api to compress png images using CFHTTP to connect to their API. It uses SSL. Suddenly it stopped working. They say their ssl certificate has not been changed. No changes have been made to the server that I am aware of. We can connect to every other SSL site I can think of to test with no issues at all.Site we are trying to connect to: https://api.tinypng.com/shrink or for testing simply https://www.tinypng.comThey are using a godaddy certificate. We have tried importing all of the godaddy certs using keytool, into both the CF cacerts file and into the java one. Restarted CF, restarted the server, still we get the same error.I tested on 3 other servers running CF 9.01 and all have the same problem.Others recommended we try cfx_http5. Tried that and same issue, error is a windows error code that basically matches the CFHTTP error that we are getting.Set up a test on an amazon ec2 server running cf 11 and it works fine. Copied the cacerts f
<cfset request.CURRENTSITENAME = "fatcate-juice.com">I have this in Application.cfc. Yet it shows as undefined. Please help.
I have many pages that use CFGRID and most of those pages use script to manipulate either the grid itself or data within the grids. All of the scripting worked fine in CF9 and CF10. While testing it on CF11, none of the code works. To me it appears that changes were made in the ext-js imports that are not backwards compatible. The first error thrown is the "Object doesn't support property or method 'getColumnModel'", with the source being the file that I am calling. The code I typically use to call it is:changeStatus = function () { grid = ColdFusion.Grid.getGridObject('gridName'); cm = grid.getColumnModel(); cm.setRenderer(18,ChangeSomething);}That error is followed by "Unable to get property 'tagName' of undefined or null reference", with the source being {site}/cfide/scripts/ajax/ext/ext-all.js.Did the format to call the getColumnModel get changed in ColdFusion 11?Message was edited
Just installed ColdFusion 11 onto a Windows 8.1 desktop running IIS8. I have been developing ASP.Net applications on this configuration without any problems.When I create a simple HTML page with a FORM, posting to a CFM page that references form variables through #FORM.variablename# I get an error saying variablename is undefined. The simple FORM page contains only textboxes, no checkboxes and even when I convert the simple HTML page into a CFM page and use <cfform> it makes no difference.I have used FIDDLER to monitor the traffic and have verified that the request to the CFM page is a POST and that the body has the form variables as is expected.I have also run this setup with the same CFM pages on a Windows 7 desktop without issue, so I am confident it is nothing to do with the code, but the setup of ColdFusion and/or the configuration within IIS.Anyone else seen this or have an idea where to start ?
As per the CF10 documentation,cacheIDOptionalID to be used to store query result in cache. This ID can be used to either retrieve or remove query from cacheSo what I have tried is simply,<cfquery name="qryGetStudents" datasource="localdsn" cachedwithin="#createTimeSpan(1,0,0,0)#" cacheid="q1"> SELECT * FROM student</cfquery>and dumped<cfdump var="#CacheGetAllIds()#">CacheGetAllIds() returns an array, So logically this array should contain the cache id "q1" .But I can not see that.Anyone else faced the same?
Hello,Thanks for taking a look and for any ideas you might have.RobColdFusion app errors when attempting to query MSSQL 2008 R2 databse via SSL connection.The datasource verifies fine. I have EncryptionMethod=SSL;validateServerCertificate=false for connection string.Setting a trace on the SQL server doesn't show it trying to hit the database at all.I have a copy of the same database on a SQL Server 2012 box (this one is server core if it matters). I can edit the datasource to just point to this server and the app works fine.Both SQL servers require SSL.Here is the first few lines of a coldfusion log of database calls.spy(Thread-66)(2014/07/15 16:07:53.353)>> Connection[1].getMetaData()spy(Thread-66)(2014/07/15 16:07:53.353)>> java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Object has been closed. ErrorCode=0 SQLState=HY000java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Object has been closed. at macromedia.jdbc.sqlserverbase
I just installed a new server Windows SErver 2012 R2 and IIS 8.5 with ColdFusion 11. I copied over our intranet from using IIS6 and ColdFusion 6.1. The ldap is not working, the CGI.Auth_user is not populating.
We are testing out one of our web applications in CF11.We have a basic ORM entity update function that fetches an object, individually calls several setters, and then saves the entity inside a transaction tag in cfscript. We are working with Microsoft SQL 2012 Standard edition. This worked under CF9 and CF10.Under CF11, we get the following error:Error: An exception occurred when committing the transaction. The root cause of this exception was: coldfusion.orm.hibernate.HibernateSessionException: [macromedia][SQLServer JDBC Driver]The specified SQL type is not supported by this driver..The line of code throwing the error is whatever the last line inside the transaction {} block is.The SQL being run follows. This is super basic. What is going on here?Hibernate log: 05/07 17:21:04 [ajp-bio-8014-exec-1] HIBERNATE DEBUG - update dbo.registrations set childID=?, registered=?, dropped=?, droppedBy=?, droppedDate=?, neverPlayed=?, WL=?, WLRemoveDate=?, WLRemoveBy=?, sexdiv=?, age_calc=?, Schol
hi there,We are in process of installing CF 10 on linux 6.5. application migrated from CF 9 to CF 10 and running fine. Now when I add scheduled task on CF 10 using CF admin, it is added...but when I try to access URL application/scheduledTasks/getScheduledTasksList.cfm it shows nothing and moreover the job gets disappear from CF admin.Do anybody have any idea for the root cause and the resolution?ThanksNeeraj
we have a series of applications that use cfusion_encrypt() to encrypt query strings passed between and with in applications. We are currently running CF10 and are not experiencing any problems. We are looking at upgrading to CF11 and are now experiencing a plethora of errors related to encrypt/decrypt.the issue i am currently working on is related to encrypt a url. no matter how I code the key,algorythm, or encoding, The encrypted portion of the url shows up as part of the link.example:<cfset theURL ="method=c.login&pid=validateLoginObj&vid=0&datasource=foo"><cfset encryptedUURL ="http://localhost/1/2/inventory/index.cfm?encrypt(theURL, '123','CFMX_COMPAT','UU')"><a class="nav_link" href="#encryptedUURL#">Inventory</a>when the page is displayed, the user sees:"WL.5KP1EY"3\'?=KH1* target="blank"> Inventory " as the link(yes I shortened the encrypted string for demo purposes)this sort of thing is through out 8 major applicat
Installed CF 11 on Windows 7. Installed it using built-in server the first time and later using Apache server. I get the same results regardless of server installed.The CFM page loads and displays text and will load <cfinclude> files. However a 404 error results when trying to load an .htm file. Also, in my .cfm index file, all CSS and Images are ignored (images show place holder box and Alt info but no image).I attempted the above via DreamWeaver 8 and also by directly entering the URL into the browser. I have tested this with both Safari and FireFox. The examples below had their URLs entered directly (no DW involved).The test pages I reference display perfectly in CF 9 but not in CF 11 (had same issue in CF10). I thought this was a TomCat problem at first. That is why I installed Apache.The above is the CF 11 page (same results if built-in server or Apache).This is the CF 9 page using built-in server.This is the source for both in
Hi,Do you know what's CF function do I need to get every 2nd character of a string? Basically, I have a string: w3f587j8a9. I want to get every 2nd, 4th, 6th, 8th, 10th, ect... So the result would be 35789. Of course the limit of the loop will be like 4 characters or something like that.Thanks.
Hi,Currently, the application is using Cold Fusion 9. Soon to upgrade to Cold Fusion 10 or 11.I would like to implement CAPTCHA on the login page.Is there any information on how to implement CAPTCHA in Cold Fusion?Thanks,Mike
HiI'm hoping that someone can suggest a basic strategy to debug this.I have a fairly large and complicated query that is executed by a function in a cfc.It returns (for example) 100 rows. If I use cfdump and then copy and paste the SQL of the query (with the variables, of course) into Navicat and execute exactly the same query on the same mySQL database, it returns 130 rows.Same SQL string, same database, same data - the only difference is that in one instance Navicat submits the query and in the other, Coldfusion does.Has anyone ever had anything like this happen before?
I need to check whether HTML 5 native validation is successful or not. Based on this I need to call an ajax function.An example code is here. http://jsfiddle.net/inDiscover/4Pbcp/Also providing the example code as below. <!DOCTYPE html> <html> <head> <title>jQuery UI Dialog: Open Dialog on Clicksssssssssss</title> <link rel="stylesheet" href="../css/jquery-ui.css" /> <link rel="stylesheet" href="../css/style.css" /> <script type="text/javascript" src="../scripts/jquery.js"></script> <script type="text/javascript" src="../scripts/
My client uses CFGRID and IE a lot (yeah, I know) and I have been tasked to solve this problem.When the grid first comes up in IE, the headers are invisible; mouse over them and they'll appear and stay on until you move on to a new table or refresh the screen.Firefox and Chrome do not have this problem.To make matters worse, my client has disabled the developer tools access in IE so I can't drill down to the CSS and look for a solution that way.I am trying to find a cfgrid.onload solution, but apparently the documentation is sparse on the methods available in cfgrid (know where they are? Please enlighten me!)I stumbled across .refresh() and updateHeaders() but I cannot find their proper syntax and just what the heck they're supposed to do. I know, lame, but try RTFM when you can't find TFM!My first try was to create and OnLoad this:function IEReload() { var grid = ColdFusion.Grid.getGridObject('mygridname'); grid.updateHeaders('mygr
I took the below from a function I'm using to render a weekly calendar similar to outlooks weekly calender view. The problem is when I start entering HTML outputs it begins to run very slow. I have another function that returns the events in a structure but if I loop the structure to find events it crashes the browser with a timeout. Can someone tell me what I'm doing wrong, is there a better way??var local = StructNew();//Copy the URL and Form structures into REQUESTREQUEST.Attributes = StructCopy(URL);StructAppend( REQUEST.Attributes,FORM); //Define a default opening dateREQUEST.DefaultDate = Fix(Now());//START *** time incrementslocal.dtTimeIncrement=5;local.dtTimeStart=1;local.dtTimeEnd=24;local.dteventsPerTime=1;try{ local.dtThisWeek = (REQUEST.Attributes.date - DayOfWeek( REQUEST.Attributes.date ) +1);} catch(any excpt) { local.dtThisWeek = (REQUEST.DefaultDate -DayOfWeek( REQUEST.Defa
Hi When i logout from my index Page then Login Page Open but when i click on back button in Browser Then Index Page open. I want once logout then not open other when clik on back button in Browser page like facebook..I add my code Follow:Application.cfc<cfcomponent> <cfset this.datasource = "TestingDataSource"> <cffunction name="onRequest"> <cfargument name="templatename"/> <cflogin> <cfif isdefined("form.submit")> 
A client is asking me to upload files in word, pdf, or whatever format. These documents are legal documents. The upload is no problem, however, he also wants me to create a screen for him to edit uploaded documents. The majority of the documents will remain the same, but the parties (Company Names) will change. He wants to be able to put the two party names in, and then print/download the document for the parties to then sign.I have not had to do this before and I cannot think of an easy way to do this. I am thinking I will have to convert the word, pdf, or whatever file to html, then manually create the text fields for every document. Basically, I will make every documene he uploads an html form. I will then create a pdf document for the user to print or email. The main issue is the fact that every html form will have to be created manually and this can get expensive for him and tedious for me.Does anyone here know of a better way to do
I am trying a build a news application for my organization. My organization have several sub units that will each contribute their own news. There will be a single news home page that consumes all these different news based on the day the news article is posted. Is there any custom apps out there with this framework that I can work from?Cheers,Alex
Hello,Does anyone know if a page exists that lists all of the security updates and hotfixes for all versions of Coldfusion? I find their update/hotfix description pages to be very frustrating by the way manage/announce/make available their updates/fixes. I am using CF9.0.2.Thanks in advance!Joe
Hello,We have this stupid .cfg file extension that is translated as .cfm but I cannot get coldfusion Builder 3 to color code / format the text for this extension.The file has been added in File Associations and it is setup as a CFML Multi Page Editor but the scripts are still basic black text. I've restarted builder as well but still no color coding.I do get .cfml tag insight but just no colors. Any idea how I can fix this?Thanks peoplez
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.