Web Trenches

  I did a live presentation in which I upgraded a production ColdFusion 9 server to ColdFusion 10.  Here are my notes if anyone is interested. https://docs.google.com/presentation/d/1CFdXhBUzafrFP8vKLE7sqRDT6TMFvX4-jRyPqOrT5G8/edit Technical details for the upgrade… Windows 2008 R2 web server running IIS 7.5ColdFusion 9 Enterprise with two instances (default “cfusion” and “www”) Upgraded to ColdFusion 10 Enterprise with two instances. […]

When running ColdFusion 9 in multiple instances, you used to be able to run the Web Server Connector tool from the Windows start menu and connect specific instances to sites.  This changed in ColdFusion 10. The Web Server Connector tool in the Windows start menu for ColdFusion 10 will only allow you to connect websites to the […]

We recently had to update our post-commit hook functionality to be compatible with subversion 1.7 working copies.  There are more JAR file dependencies with 1.7, so here are some tips. First, some explanation of what our setup is.  On commit of a new revision of a file, we trigger a ColdFusion script that does several things: If […]

Content from a bug report I recently submitted to Adobe related to expandPath() in ColdFusion 10.  They have acknowledged it is a bug and will be fixing it.  https://bugbase.adobe.com/index.cfm?event=bug&id=3198902 — We have two identical versions of our application running on the same server – one in CF9 and one in CF10. We noticed that CF10 is signficantly […]

I was recently working on a legacy ColdFusion application that required .html and .htm files to be processed with ColdFusion.  The application currently runs on ColdFusion 9 and we are preparing it for ColdFusion 10.  To accomplish the processing of .html files with ColdFusion, we had always followed the method of editing the web.xml file and adjusting […]

For some reason, the production instances of ColdFusion 9.01 on our two production Windows 2008R2 64-bit servers just would not work with OpenOffice CFDOCUMENT conversions.  Our test and staging servers were working fine with the EXACT same configuration and CAR file imports.   Any time I attempted to run a Word-to-PDF or Excel-to-PDF conversion with the CFDOCUMENT […]

This has probably been written about many times before, but it stumped me today, so I thought I would share in case it saves anyone else some time.  By default, ColdFusion does not store data as UTF-8 into SQL Server.  This is a problem for Chinese characters sets, as well as many others.  I struggled with this […]

All of the programming that comes with the Uploadify plug-in for jQuery is done in PHP.  I've converted the new checkScript feature to use ColdFusion instead. —— checkfileexists.cfm —– <cfset returnArray = arrayNew(1) /><cfloop list=”#form.fieldnames#” index=”i”>    <cfif i NEQ “folder” AND fileExists('#expandpath(form.folder)#\#form[i]#')>            <cfset arrayAppend(returnArray,form[i]) />    </cfif></cfloop><cfcontent reset =”true” /><cfoutput>#serializeJSON(returnArray)#</cfoutput><cfabort> ——- end checkfileexists.cfm —— The cfcontent […]

A common question that many business managers and owners have is, “What technology should be used to build my Web site?”  Ask an expert Web developer, and the answer to the question will usually be whatever language the developer is an expert in.  If you ask a PHP programmer about ASP.NET, they will usually say that it […]

If you are having problems with FCKeditor and Firefox 3.6, take a look at Pete Freitag's solution.  http://www.petefreitag.com/item/737.cfm Thanks Pete!  I never thought we'd have to deal with a Y2K10 bug.