
Using KTML with ColdFusion 8
In testing our CMS with CF8 I have only found one small issue. With the editor we licensed of course. KTML works well with CF8 except for some image and file browsing. Turns out there is an easy code fix for this however.
You will see an error saying something along the lines of Cannot open Class plugins.modules.image.service.ktml4_mspl_image. The debugging errors are not accurate as it is a general error if anything goes wrong when calling a function in KTML. After a little poking around I see that there is an error calling one of the functions. getfileinfo Turns out CF8 also has a function named getfileinfo and thus the error on CF8 and not CF6 or 7.
To fix this I simply did a search/replace of getfileinfo and changed it to getfileinfoKTML. Some security preferences may be cached in your browser with the old method name so be sure to clear your cache after you do this. It is possible they may store the method name in a session as well.
There are three files that will be effected. ktml4_mspl.image.cfc, ktml4_security.cfc and editimage.js.
Yes, I know the KTML editor is discontinued. However it works well and you may have many customers using it and if they host at hostmysite or other web hosts you are going to be upgraded to CF8 sooner rather than later.

NAVIGATION
HomeAbout Me
RSS
Search
Subscribe
Recent Entries
Google TV ReviewPlaybook - Developers It's Time To Get Started
cf.Objective 2011 - Speak Your Mind
Timesheets, Project Management, and Invoicing - FreshBooks Review
A New Phase of My Life
Recent Comments
OTA OK?
AnoraDD said: I get 18 of these exact sms's everyday! How do I get it to STOP?!?
[More]
Coldfusion Hosting with Network Solutions
LIzm said: Ugh. I have a client who insists on hosting with them and two weeks after first contact, a very simp...
[More]
IE nested list item whitespace solution: vertical-align:bottom
Lauren said: Thought I'd add to the thank yous...
Thank you!
[More]
OTA OK?
Rita said: Thank you, this was very helpful.
[More]
OTA OK?
diggs said: Just got it today, T-Mobile. Thanks for the articale about it.
[More]
Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 |
Archives By Subject
blogs (31) [RSS]books (4) [RSS]
Consulting (2) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (15) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (28) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (20) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (69) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (230) [RSS]
World of Warcraft (16) [RSS]

I always dread issues with KTML and the imagemagick side of things..
Here's to hoping Adobe fix up KTML a bit!
We launch the site to the public tonight. http://www.gnmaa.com