GravityCube - Development, design, and simplicity.

BlogEngine Upgrade from 1.3 to 1.4.

Friday, 11 July 2008 17:36 by jf26028

This week, I decided to upgrade to 1.4, primarily because I want to try out some new theme kung fu and I wanted to do it on the latest and greatest version of BlogEngine.  In short, the conversion was very simple.  I ran into a few hiccups, some my fault, some not, but all very minor.

Changes in CSS

There were some changes in css elements that caused me a problem or two.  The first issue was a collision with some of my own css classes being named "content", which is thrown around a lot in blogengine.  This caused some floating issues with the sidebar and the widgets.

Changes in Related Posts

The related posts section, when you view a blog post, has been enhanced.  And, I personally think it is better now.  But, there are some issues with the new technique that I know the blogengine team have seen before, and I'm sure it wont be long till they are fixed up.  The good news is that you can just replace the RelatedPosts.cs code file with the version from 1.3, and it works exactly the same way it did in 1.3.  There is more info on codeplex where I created an issue.

Changes in Blog Links

This fix is actually better for all of man kind....except for me.  Basically, I lacked the forethought of having "---" in your post slug, even though it was mentioned to me before.  Not only is it kinda ugly (some think so), but it creates invalid html, which is terrible, right.  Well, BlogEngine fixes that now, but I have lots of links to my posts with those three hyphens, and I didn't want to let that go, so I tweaked the code to continue to allow it.  That's the beauty of open source, right there.  And, just as a side note, when my posts were not being found, BlogEngine was good enough to do a quick search and provide the users with a link to the correct post anyway, so it's not like people were dead in the water, so kudos, once again.

Permission Issues

This one, I think, was caused by my host.  But, on app_statup, BlogEngine attempts to write all the xml configurations for the extensions you have installed.  The app has no issues writing to those xml files any time, other than on app_startup.  If anyone else has that problem, or has a fix, drop me a line.  For now, I just threw a try/catch around the trouble code, and everything is good to go.

Overall, the experience has been pretty painless.  The only real reason for me to upgrade was widgets and their affect on themes, but its so simple, it may be worth doing just to keep recent.  Just make sure you grab the comment security fix noted on codeplex before you do upgrade, though.

If you see anything else that is out of place because of the upgrade on this blog, please let me know.

Jesse

Currently rated 2.8 by 4 people

  • Currently 2.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , , ,
Categories:   BlogEngine.NET
Actions:   E-mail | del.icio.us | Permalink | Comments (6) | Comment RSSRSS comment feed

Related posts

Comments

July 17. 2008 14:12

Ivan

The funny thing in 1.4 is that I can not figure out wy is the Google Adwords not working. I placed the code in the Tracking section on hte bottom of the Settings page, but... Google does not see it tehre...

Ivan

July 17. 2008 17:11

jf26028

Ivan,

I dont know much about adwords because I dont have any ads on this site, but I think you need to put the google code in your template somewhere. The Tracking section in blogengine is more for like google analytics ant that kind of thing. It is not meant to be visible. But, adwords, on the other hand, needs to be visible, so you need to throw that on your template somewhere.

Jesse

jf26028

July 25. 2008 10:57

Sashidhar Kokku

Hi,
Could you please look at my website (blog.sashidharkokku.com) and confirm this is the exact same issue you are facing...for which you put in the try-catch block?
url : http://blog.sashidharkokku.com

Thanks,
Sk

Sashidhar Kokku

July 25. 2008 11:34

jf26028

Sk,
It looks like you are having security/trust issues. This is the error description I see:

The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Mads noted that there are a few issues running blogengine in anything less than full trust here: [url]blog.madskristensen.dk/.../...lease-coming-up.aspx[/url]. That may give you some insight to your problem.

Jesse

jf26028

July 30. 2008 05:33

Perok

I should upgrade my web too...

Perok

November 11. 2008 05:18

Starting Business Blog

Me too need to upgrade. thats my prob too

Starting Business Blog

Comments are closed