Upgraded to Typo 4.0.0

Spent some time today on getting Typo 4.0.0 up and running. The first step, migrating the rails database and getting the site on line took less than half an hour this morning. I have had to change my theme for now, but I’m not too cut up about that.

The only thing that made the upgrade take longer was in relation to errors I was receiving when attempting to post blog entries. The problem was caused when attempting to post an article to the blog. In the background, typo performs an update on the sessions table, which was failing due to a lost connection with the MySQL database used as Typo’s datastore. There were two things that appeared to have helped in resolving this.

  1. Installing the Ruby MySQL native driver (that was taken care of exceptionally quickly by the staff at A Small Orange)
  2. Reducing the verification timeout in active record to 10000.

To change the verification timeout, add the line:

ActiveRecord::Base.verification_timeout = 10000

to your config/environment.rb file.

Update: There still seem to be some problems with lost connections, I will update if I can manage to work it out.

Comments are closed.