CFHTTP bug?

23 September 2010 02:05 (EST)
Can someone confirm that CF 8/9 throws an error (java.lang.ArrayIndexOutOfBoundsException) on simple CFHTTP call?

<cfhttp method="get" url="http://brad.livejournal.com/" />

StackTrace is following: ( read more on CFHTTP bug? )

New security hotfixes for ColdFusion

12 May 2010 10:29 (EST)
Adobe has released security bulletin to address critical vulnerabilities for ColdFusion 8, 8.0.1 and 9 (Windows, Mac and Unix). The vulnerabilities could lead to cross-site scripting and information disclosure. Update now!

Image Resize Bug

19 March 2010 22:37 (EST)
It looks like ColdFusion (version 8.0.1 at least) has a problem resizing images with certain aspect ratio. Look at the code below:

<cfset img = ImageNew("",336,448) />
<cfset ImageResize(img,150,"") />
<cfoutput>#img.width#px</cfoutput>

What should is display? 150px? Nope, it shows 149px. Any ideas how to fix this?

Error invoking CFC for gateway: null

2 February 2010 23:30 (EST)
Another example of small error, which can take a lot of time to resolve.

One of my event gateway has stopped working after upgrade and I stumbled across Error invoking CFC for gateway XXX: null error in eventgateway.log file.

After some guessing about the cause of this error and trying to fix this and that bits of code, I have finally checked exception.log file and discovered same error, but it had more details on where to look:

1. "Error","Thread-23","02/02/10","23:29:09",,"Error invoking CFC for gateway XXX: null {ORIGINATORID={CFMLGateway},DATA={{...}}},GATEWAYID={XXX},GATEWAYTYPE={CFMLGateway}}."

2 coldfusion.runtime.AbortException

3 at coldfusion.tagext.lang.AbortTag.doStartTag(AbortTag.java:63)

4 at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)

5 at cfxxxecfc750176571$funcONINCOMINGMESSAGE.runFunction(/var/.../xxx.cfc:19)

So that line 19 of gateway's cfc code had <cfabort> tag, which caused the error.

cf.Objective(ANZ), Day 1 Summary

12 November 2009 22:10 (EST)
First ever ColdFusion conference I have attended today in Melbourne (Australia) was not that bad at all ;-) Thanks to organizers, we've got pretty good composition of speakers and topics covered.

I am not going to narrate or comment on what I've heard today at the conference, but there are few things I found interesting to mention:

— CF9 seems to be a seamless upgrade for many users and provides new functionality for rapid applications development (RAD).
— CF9+Solr is the way to go (drop Verity if possible).
— CF Builder can help a lot with RAD even for current CFEclipse users.
— YourKit Java Profiler is a nice tool for your application with memory leaks debugging.
— Git takes over SVN as faster and more flexible version control system.

Ah, yeap, few photos of the event.

Adobe ColdFusion Evangelism Kit

11 November 2009 22:09 (EST)
While arguing that CF is the best dead language ever in one online community with other geeks, I have found interesting PDF, named Adobe ColdFusion Evangelism Kit and released in 2009 by Adobe.

This document includes several facts and key figures to advocate your prospective clients for CF. In my opinion the best page of whole document is comparison of ColdFusion with Java/JSP, ASP.NET and PHP in terms of development timeframe and cost of ownership.

Flex training for ColdFusion developers

4 November 2009 10:59 (EST)
Are you an experienced ColdFusion developer and you've looked at Flex before and had trouble getting started? Adobe offers FREE full-day, hands-on training session, to build your first Flex application using Flash Builder 4 (beta)! This training is designed to help experienced ColdFusion developers get started in understanding how to add rich UI to existing and new ColdFusion applications.

Don't miss out, register now!

November 13 - Plano, TX
November 14 - Durham, NC
November 16 - Denver, CO
November 17 - Newport Beach, CA
November 18 - Atlanta, GA
November 19 - Chicago, IL
November 20 - San Francisco, CA
November 20 - Washington, D.C.

Remove EXIF data?

14 February 2009 22:36 (EST)
Does anyone know how to remove EXIF data from image?

It looks like cfimage keeps all EXIF information upon resizing, so produced small thumbnail 75x75 px will be around 20K instead of just 2K because of extra data.

OpenID CFC Consumer 2.0

9 January 2009 18:25 (EST)
Finally OpenID CFC consumer library has been upgraded to support OpenID 2.0.

All credits for this release go to Richard Davies, who solely made an update and provided it to CF community for free.

New version has been tested using following OpenID providers: 1id.com, Blogger, ClaimID, ClickPass, Flickr, Google, I-name, Identity.Net, MyOpenID, Technorati, Verisign, WordPress, Yahoo and various standalone OpenID servers.

Protect your CF application

7 August 2008 15:02 (EST)
Starting yesterday most of my CF websites are under constant attacks by bots, which are trying to implement SQL injection attack using additional URL parameters.

Since not all applications were developed using CFQUERYPARAM tag and update of all CFQUERY calls will take a long time, simple solution has been developed to block hackers. ( read more on Protect your CF application )
Pages previous   next
1 2 3 4 5