BlogCFC 5.9.3 Released - The "Switzer" Edition

A very large update was released tonight, thanks to Dan G. Switzer. There are quite a few changes, all described in the readme, so I'll hit up some of the bigger ones to explain why I went ahead and bumped up the version to 5.9.3.

  • Updates/simplification of file pathing determination
  • XML-RPC updates (no, I didn't test these myself, I suck)
  • Admin has a nicer warning when settings/cache is updated
  • When you edit an entry, you get immediate access to the comments
  • Ability to view an unreleased entry on the blog. This lets an admin see how an entry will REALLY look w/o having to release it.
  • Code coloring updates

Lots of good little nuggets. Thanks Dan!

Comments
Doug Jones's Gravatar Argh... new version good and depressing me all at the same time.
# Posted By Doug Jones | 4/2/09 6:26 PM
Brian Hall's Gravatar We use the BlogCFC (version 5.7) on our site and like it a lot. We get a few errors that I think are fixed in more recent versions, and we'd like to upgrade. Doug Jones is our programmer, and I hope it works for you to collaborate with him as well. Thanks!
# Posted By Brian Hall | 4/3/09 7:10 PM
Unibands's Gravatar Hi Ray, I've been thinking about using BlogCFC but I can't seem to find a demo of it anywhere. I'd like to try it out and see what it has to offer. Is there one available??
# Posted By Unibands | 6/4/09 4:16 AM
Raymond Camden's Gravatar Um, this is a demo right here?
# Posted By Raymond Camden | 6/4/09 5:58 AM
Unibands's Gravatar Sorry Ray, I meant a demo of the amin area. The front end is great anbd looks to be what I'm after. I just wondered if you had a demo admin area. I think the addition of this would really help convert more people from WordPress :)
# Posted By Unibands | 6/4/09 6:22 AM
Raymond Camden's Gravatar Ah, sorry, no, not yet.
# Posted By Raymond Camden | 6/4/09 6:25 AM
Jon Karis's Gravatar Hi Ray! I have an older version of BlogCFC (5.9.002) running on another server with no issues. However, I just installed 5.9.2 on a different server and when I upload images into the post, they show up fine, but when you click on the post tile and get the SES url, the image doesn't show up due to it wanting to go ./images/x.jpg instead of /images/x.jpg. Of note, the 5.9.002 install references the entire url (http://toyfusion.com/blog//images.x.jpg) and has a double // for some reason, but shows up fine.
I had a look at the 2 different blog.ini files and can't find my mistake. Any ideas?
# Posted By Jon Karis | 6/11/09 6:33 PM
Raymond Camden's Gravatar Hmm. Not sure. Is this online where I can see?
# Posted By Raymond Camden | 6/11/09 8:20 PM
Jon Karis's Gravatar Sure. blog.zoomcopiers.com is the 5.9.2 and www.toyfusion.com/blog is the 5.9.002
# Posted By Jon Karis | 6/11/09 11:39 PM
Jon Karis's Gravatar Err, 5.9.3.002 for the new one. Apologies.
# Posted By Jon Karis | 6/11/09 11:42 PM
Raymond Camden's Gravatar I went to toyfusion - the first blog entry was on the movie. I clicked to view it by itself, and still saw the images. Or is there something else I should have tested?
# Posted By Raymond Camden | 6/12/09 8:49 AM
Jon Karis's Gravatar The TF one is the older one, which is working fine (except for the double slash oddity). It's the blog.zoomcopiers.com one that is having the image location issue. Thanks for looking into this Ray!
# Posted By Jon Karis | 6/12/09 10:36 AM
Raymond Camden's Gravatar In your settings.ini.cfm file, what do you have?

Also, to be clear, when you say you upload images, are you using the little tool in the blog entry editor that lets you upload and it auto-copies in the source?
# Posted By Raymond Camden | 6/12/09 10:40 AM
Jon Karis's Gravatar In blog.ini.cfm, BlogURL is the full path and imageroot is empty. Yes, the image upload feature when making a new entry. I'll email you admin credentials for both sites, as well as the ini files.
# Posted By Jon Karis | 6/12/09 11:15 AM
Jon Karis's Gravatar Fixed! Go to admin/entry.cfm and where you have ("./#sImgRoot#/"), simply remove the dot. Thanks Ray!
# Posted By Jon Karis | 6/12/09 4:30 PM
Raymond Camden's Gravatar Actually that's not good - it won't take into consideration the root url, so if you blog is at cookies.com/blog, your images would be trying to load form cookies.com, not cookies.com/blog.
# Posted By Raymond Camden | 6/12/09 4:59 PM
Raymond Camden's Gravatar I'm going with

var imgstr = '<img src="#application.utils.fixUrl("#application.rooturl#/#sImgRoot#/")#' + str + '" />';
# Posted By Raymond Camden | 6/12/09 5:00 PM
Dan's Gravatar Thanks so much for this. I was having this same problem. This seems to be the fix.

Ray, I noticed in a post on the riaforge site there was an issue with fixurl changing the // to /. http://blogcfc.riaforge.org/index.cfm?event=page.i...

It says in the comment you were going live with it. I downloaded the latest blogcfc last night and the fixurl issue is still there.

I just modified the code in my blog to mimic the code listed on the issue.
I included Jon Kris' code below
<code>    <cfif findnocase("http://", arguments.url) >
         <cfset arguments.url = reReplace(arguments.url, "http://", "", "all")>
      <cfset arguments.url = reReplace(arguments.url, "\/{2,}", "/", "all")>
      <cfset arguments.url = "http://" & arguments.url>
      <cfreturn arguments.url>
      <cfelse>
      <cfreturn reReplace(arguments.url, "\/{2,}", "/", "all")>
      </cfif></code>
# Posted By Dan | 7/22/09 7:50 PM
Raymond Camden's Gravatar Where in the bug comment do I say I'm going to live with it? I say I'm going to fix it - did I not fix it?
# Posted By Raymond Camden | 7/23/09 6:48 AM
Dan's Gravatar History:     Created by jkaris (Jon Karis) : 06/15/09 2:32 PM

Updated by cfjedimaster (Raymond Camden) : 06/18/09 9:51 PM
fixed in latest (going live in 10)
# Posted By Dan | 7/23/09 11:58 AM
Raymond Camden's Gravatar Right - so it said it was fixed. Are you not seeing that in latest from SVN?
# Posted By Raymond Camden | 7/23/09 12:01 PM
Dan's Gravatar I was looking in blogcfc511.zip, from http://blogcfc.riaforge.org/index.cfm?event=action...

Did I grab the wrong version?

Thanks again for the great blog engine.
# Posted By Dan | 7/23/09 10:59 PM
Raymond Camden's Gravatar If you downloaded the zip, then it is right. So you still had an issue with it?
# Posted By Raymond Camden | 7/24/09 7:20 AM
Sivart's Gravatar Has anyone ran into this error on a fresh install?
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Ambiguous column name 'blog'.

From this template camden\blog\blog.cfc: line 1661

V5.9.3.000

Thanks
# Posted By Sivart | 12/30/09 7:13 AM
Raymond Camden's Gravatar You have an older version - please update.
# Posted By Raymond Camden | 12/30/09 7:32 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.001.