Blog 3.0 RC Is Here!

This post is more than 2 years old.

So, I've been talking about the 3.0 version for at least four or five months now and I'm finally happy to say that the RC is here. For those of you still running 2.x, the major new features in 3.0 are:

  • Support for colored code and summary/detail blog entries.
  • Support for MySQL/MS Access along with SQL Server.
  • 30% less carbs.
  • Page caching.
  • "Pod" abstracted layout for right hand content.
  • Internationalization.

Please download the blog here and email me with any bug reports.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Brian posted on 2/2/2004 at 10:26 PM

Less carbs, lol. Recently saw a low carb bread. How can you have low carb carbs? Reminds me of low fat fat...

Comment 2 by Kerry posted on 2/3/2004 at 3:39 PM

testing it and a blank database causes errors.
even after doing what you said.

Comment 3 by Raymond Camden posted on 2/3/2004 at 5:37 PM

Kerry, can you tell me _what_ errors you are getting?

Comment 4 by Sung posted on 2/3/2004 at 6:14 PM

Blog on Atkins! Wow...does that mean it'll trim useless messages like this one by 30 per <snip>

Comment 5 by Kerry posted on 2/3/2004 at 8:55 PM

Raymond rocks! You answered my queries with lightning speed. Solved my problems. Thank you.

Comment 6 by Paul Gilpatrick posted on 2/4/2004 at 5:40 AM

Brand new install, just calling the design mode for the first time and receiving this error.

Thanks.

Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 3.

The error occurred in D:\WebDocs\ScrapBookPortal\blog\org\camden\blog\blog.cfc: line 368
Called from D:\WebDocs\ScrapBookPortal\blog\includes\pods\calendar.cfm: line 50
Called from D:\WebDocs\ScrapBookPortal\blog\tags\layout.cfm: line 56
Called from D:\WebDocs\ScrapBookPortal\blog\index.cfm: line 148
Called from D:\WebDocs\ScrapBookPortal\blog\org\camden\blog\blog.cfc: line 368
Called from D:\WebDocs\ScrapBookPortal\blog\includes\pods\calendar.cfm: line 50
Called from D:\WebDocs\ScrapBookPortal\blog\tags\layout.cfm: line 56
Called from D:\WebDocs\ScrapBookPortal\blog\index.cfm: line 148

366 : where
367 : posted >= <cfqueryparam value="#dtMonth#" cfsqltype="CF_SQL_DATE">
368 : and posted <= <cfqueryparam value="#dtEndOfMonth#" cfsqltype="CF_SQL_DATE">
369 : </cfquery>
370 :

Comment 7 by Raymond Camden posted on 2/4/2004 at 5:43 AM

Paul, you are using MS Access, did you remember to update the ini file and set the db type to MSACCESS?

Comment 8 by Kerry posted on 2/4/2004 at 9:39 AM

Hey Paul that was the first error I got when I installed it for the first time.
I deleted the whole thing, restarted the server placed everything back. Reedited the INI file.
Raymond put me on the right track. :)

Comment 9 by Jeff Yokum posted on 2/4/2004 at 9:40 AM

noticed in the comments of blog.cfc the following line:
lower cased table names for mysql issue on linux (rkc 2/1/04)

I had to go update all the table names in blog.cfc to match the database. Lower case table names were causing errors. Was this supposed to be fixed? I'm running MySql on Linux

Comment 10 by Raymond Camden posted on 2/4/2004 at 3:37 PM

Jeff, yes, it should be fixed. I double checked and the blog.cfc uses all lowercase table names. Are you sure you got the latest zip?

Comment 11 by Sung posted on 2/4/2004 at 6:35 PM

Raymond -- this is my first time trying to get your blog to work. I'm having a tough time trying to figure out how to integrate my own login system (which is simple a SQL table lookup + session variables) with your blog. I'm guessing people have asked you this a million times...I couldn't possibly be the first, right? In any case, any help would be greatly appreciated. - Sung

Comment 12 by rob vander giessen-reitsma posted on 2/4/2004 at 9:40 PM

i was trying to install the blog on my server, but my provider hasn't updated to mx yet. is there any way i could get an older version of the blog that doesn'nt use tags specific to mx (like the cflogin tag).

thanks!

Comment 13 by Raymond Camden posted on 2/4/2004 at 9:43 PM

Rob - the Blog has always used CFCs so it always needs MX. The latest version needs MX 6.1.

Comment 14 by rob vander giessen-reitsma posted on 2/4/2004 at 9:49 PM

then i guess i'll need to put some pressure on my provider . . .

thank you for responding so quickly!

Comment 15 by Paul posted on 2/6/2004 at 7:31 AM

I also got the [ODBC Microsoft Access Driver] Too few parameters. Expected 3. The same problem as the other Paul. Could Access have trouble with the dateStr format?

Thanks Raymond for your contributions to the ColdFusion community.

Comment 16 by Raymond Camden posted on 2/6/2004 at 5:42 PM

Both Pauls: First Paul, I notice you were using the sequelink driver, which is the ODBC Socket connection. In general, I think you should instead be using the normal MS Access driver. However, as Paul 2 has shown, this throws an error for him. Paul 2 - I'll try my MS Access tests here again, although it may be a day or two.

Comment 17 by Raymond Camden posted on 2/6/2004 at 5:47 PM

Just tested and I don't have any problems. Paul2, maybe you can send me your database and a zip of your blog install pls?

Comment 18 by Raymond Camden posted on 2/6/2004 at 5:53 PM

Sung - sorry - I missed your post. When you attempt to logon the blog client app calls authenticate() on the blog.cfc. All you need to do is change that logic to point to some other cfc, or do a simple database lookup. Does that make sense?

Comment 19 by Paul #1 posted on 2/6/2004 at 6:23 PM

Thanks for all of the help folks. I ultimately gave up on Access and used MS SQL. I also reinstalled from scratch. Some of the things I did differently:

1) when editing the the blog.ini, I removed the unused sections, and used datasource here.
2) In the application.cfm, for the <cfset application.root = "scrapbookportal_blog"> entry, make sure this is your mapping name and not the datasource.
3) RESTART CF or even the server. This is a must as the incorrect mapping will be kept in cache until this done.

Ultimately, I think #2 & #3 were causing my problems, as it was confused as to where things were located. I even got this after working SQL, as I hadn't cleared it. I did not go back and try Access (ran out of time, and I'd rather use SQL anyway...).

Hope this helps. Start fresh, make sure your mappings and datasources are straightend out, and reboot!

Paul #1

Comment 20 by Paul #1 posted on 2/6/2004 at 6:28 PM

Oops, now that I've spoken, what would cause the blog entries to only show up if you're in design mode? There's only one entry.

http://www.scrapbookportal....
http://www.scrapbookportal....

Thanks. Almost there.

Comment 21 by Raymond Camden posted on 2/6/2004 at 6:34 PM

We use caching when designmode is false, HOWEVER, when you add a new entry, we should be clearing the cache. Tell me, if you restart CF, do the entries show up?

Comment 22 by Paul #1 posted on 2/6/2004 at 6:41 PM

Thanks Ray, that did the trick, we're up. I'm glad, as I need to stop restarting the server! Looks like we're good to go, thanks!

Comment 23 by Raymond Camden posted on 2/6/2004 at 6:47 PM

Paul - please note that you should NOT need to restart CF everytime you post. If you find this to be the case, please let me know.

Comment 24 by Paul #1 posted on 2/6/2004 at 6:51 PM

No, I understand, I already have my own blog running 2.0 and have been for months. I feel comfortable that I'm ok now, It was just getting through the initial install period. Thanks again. By the way, are you keeping a list of blogs using your code? Would be interesting.

Comment 25 by Kerry posted on 2/6/2004 at 7:09 PM

Raymond, I had to restart my CF MX 6.1 server the first time as well. No matter how many times I deleted the code, re-inserted it the same errors happened. After restarting, the fixes you told me to do, finally worked. This restarting may be a point to note.

Comment 26 by Paul Gilpatrick posted on 2/7/2004 at 12:27 AM

Raymond, sorry to be a pain, but I continue to not have the most current post show up at default. I have two entries (one for the 5th and one for the 6th). When you arrive for the first time, you see the 5th entry, and until you click on he 6th date (even though it's highlighted), or click on the listed "Recent Entry" you don't see the 6th's entry.

Comment 27 by Raymond Camden posted on 2/7/2004 at 12:31 AM

No worries about being a pain. Tell me, if you restart CF does the issue go away and does the blog act correctly (if you don't add anything new that is).

Comment 28 by Paul Gilpatrick posted on 2/7/2004 at 12:51 AM

Yes a CF restart fixes the problem. Is it a caching issue?

Comment 29 by Raymond Camden posted on 2/7/2004 at 1:09 AM

Ok, there is a caching issue then. Do this, go to /tags/scopecache.cfm. Line 76 should be:

cfset structClear(ptr["scopeCache"])

If it's not, stop and tell me. If it is, right after it, add a cfoutput and display, HEY I WAS CALLED TO CLEAR THE CACHE. Then add a cfabort.

Add a new entry. You _should_ see the msg and the editor window will not close. Check the blog in the browser after you have logged in. Is the entry there? Also, make _sure_ your browser isn't caching.

Comment 30 by Paul Gilpatrick posted on 2/7/2004 at 2:50 AM

Yes, the entry is there.

Comment 31 by Raymond Camden posted on 2/7/2004 at 11:07 PM

Paul, I'm confused - you said the entry shows up - but I thought it wasn't showing up? If you logout does it still not show up? Also, if possible email me and if I can have RDS access I can take a closer look.

Comment 32 by william posted on 2/16/2004 at 6:08 PM

so i'm liking this bloc.cfc and modifying as much as i can figure out. and it's also teaching me alot in the process about cfc's. this is a great teaching tool. thanks!

so a question: i would like to edit the dates of individual entries without having to go to the database. how would you recommend one could go about adding this feature to editor.cfm?

again, thanks for doing this!

Comment 33 by Raymond Camden posted on 2/16/2004 at 6:10 PM

Right now you have to either edit the editor.cfm or go straight to ethe db. The best solution is to edit editor.cfm. If people think this is important enough, I'll add it to the next release.