News by Dave Ferguson

Coldfusion auto start on Ubuntu

22 Aug 23:42
Lately I have been playing around a little with Ubuntu. The server version of the OS is very similar to the desktop version. The main difference is that there is no GUI. This can be solved by installing the Ubuntu UI. However, you can do what I did and install Webmin. It is a browser based UI that allows you to do just about everything. This is because I am CLI illiterate. Once I got CF running I wanted to set it up so that it would auto start with the OS.

SQL injection can ruin your day

20 Aug 01:26
Yesterday I had the pleasure of fixing a site that got hit with SQL injection. The injection that was done was quite elaborate and was quite harmful. The injection managed to alter data in multiple tables. Then when the data was read out it caused havoc on the front end. We had to write some elaborate sql to reverse the damage and try and restore the system. In the end we ended up loosing a ton of data. The damage done was so extensive that we were not able to repair everything.

CFLOOP and URL vars

13 Aug 00:38
I will preface this by stating you will probably not want to do this. However, I figured I would blog about it anyways as the outcome was very strange. In a system I was working on I was attempting to reuse some code to expedite some new development. What I did was create a wrapper for an existing cfm. I used cfinclude to bring in the code we were going to reuse and then looped over it. The code that was being looped generated images for output to a browser.

CFIMAGE generates java error

6 Aug 01:24
While doing some image work this morning with watermarking I came across this strange error: Error Occurred While Processing Request General CMM error517 Here is part of the stack trace: java.awt.color.CMMException: General CMM error517 at sun.awt.color.CMM.checkStatus(CMM.java:127) at sun.awt.color.ICC_Transform.(ICC_Transform.java:89) at java.awt.color.ICC_ColorSpace.fromRGB(ICC_ColorSpace.java:197) at java.awt.image.ComponentColorModel.getDataElements(ComponentColorModel.

ColdFusion 8 performance timing

3 Jul 04:33
I was reading a post on the cftalk list about interesting timing numbers via cf script and cfset. Read it here. The post referenced a blog entry from Neil Middleton that published the timing numbers for doing some set statements via cf7, cf8, and bd.net. I noticed when reading the blog that the numbers posted were based on cf8 beta and not the release version. So, I decided to redo the tests posted and see how they differ from the post. Here is what I found...

Hey, that is undocumented!

16 May 12:36
While working on a new application I ran into an interesting issue. The solution to the issue was complex, and I was not pleased with the result. The solution was far from elegant or streamlined. The code was totally bloated, but for necessary reasons. I reworked the code a few times and made it more compact but the end result was still not pleasing. I bet you are saying, "If it works leave it alone" or something like that. If so I would tend to agree.
Pages   ← previous   next
1 2