Rob Brooks-Bilson
Tech, Photography, Stuff
Tech, Photography, Stuff
November 1, 2005
I just upgraded my blog from version 3.8 to the alpha of Ray Camden's excellent blogCFC 4.0. I have a lot of customizations for my site, so it's never a *simple* task. After running the database scripts to add the new tables and constraints, I used WinMerge to diff the new code against my current code base. This helps me see the differences between my modded code and Ray's base code and approve changes on a line by line basis. Very handy.
Nice features in 4.0 include the addition of TrackBacks, RRS 2.0 and lots of other goodies.
11/1/05 1:00 PM
You have a CSS issue - the trackbacks text below the links is a bit off and is missing the style.
11/1/05 1:03 PM
Thanks for the info about WinMerge, I hadn't seen that tool before. I always kind of dread the upgrade process, but that looks like it could make my life a bit easier.
11/1/05 2:26 PM
Thanks Ray - I noticed this last night, then forgot to change it. It's a result of my site using a different style sheet than the one that ships with blogCFC.
11/1/05 2:27 PM
Ryan,
I don't know how I ever got by before decent diff/merge tools. If you use CFEclipse, it has a diff/merge too built in as well.
11/4/05 6:45 PM
I've started the migration from BlogCFC 3.5.2 to 4.0 and have run into a few migration problems that Ray didn't anticipate (the migration script expects you're coming form 3.8).
To complete the migration, I altered my tblBlogEntries table to add allowcomments and set all past entries to 1 for that column, and then created the tblBlogStats and tblTrackBacks tables. That was enough to get the new blog version working in an unskinned format.
There's one problem I'm stuck on though... Have you noticed the Archive links URL format when you are viewing an individual entry? The format is http://{host}/blogs/index.cfm?{/PATH/INFO/}index.cfm?mode=cat&cat={UUID}
For you, the webserver seems to handle ok, but the same format for me throws an IIS 404 error.
Any thoughts? Thanks!
11/4/05 8:01 PM
Fixed the archive link URL by replacing "index.cfm?..." in the archives.cfm href with "#cgi.script_name#?...".
11/4/05 9:10 PM
Archives link is fixed in my source, but not in zip. I didn't use cgi.script_name, but rather app.root_url, which is a recent change. (The actual variable name may not be that - I'm too lazy to open the file.)
11/5/05 9:42 AM
I also had to mod my web.xml file to allow JRun to handle SES URL's.
Steven, I had the same table issues as you. I had to go in and setup some of the new tables/fields manually as I was going from 3.8 to 4.0, and the migration scripts didn't include everything I needed.