We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Old version needs update

How Do I?

BTCKog's avatar
BTCKog
1 posts
6 years ago
BTCKog's avatar BTCKog

I’ve suddenly been asked to maintain an old version of EE. We’re on 1.6.9, and it’s only used internally.

I’m getting a MySQL 1054 error when accessing form templates, and I imagine no one has even touched these in ages, since no one has mentioned this issue before.

I plan on just migrating everything over to a new version of EE, which leads me to my questions: 1. I need a fix for this MySQL error, just so I have it working until I can upgrade. 2. Is there a way to migrate an old site to a new one? or upgrade to the latest version from a (very) old one?

Regarding #1: The error is shown when editing templates. Error 1054: Unknown column ‘last_author_id’ in ‘field list’. I found an archived post from 2009 about this, but I’m not familiar with the upgrade process, especially from such an old version.

       
JCOGS Design's avatar
JCOGS Design
71 posts
6 years ago
JCOGS Design's avatar JCOGS Design

It certainly should be possible to upgrade to the latest version of EE, but to do that you will have to upgrade via EE2 and EE3 along the way - there is (AFAIK) no way to upgrade without going through those interim versions. The changes from EE1 -> EE2 and EE2 -> EE3 are sometimes tricky if you are using add-ons as these also will need to be either updated or your templates / site modified to work around their absence.

The kind of MySQL error you report is unlikely to happen in steady-state, so my guess is that this was introduced last time someone updated the site (or maybe added an addon) - as some part of the site is looking for a column in your MySQL data that is not there. A quick and dirty fix would be to find a MySQL utility (e.g. Sequel Pro on macs, or phpmyadmin etc.) and manually add in a column called “last_author_id” in the field list table and see if that makes issue go away (or flush out other imperfections in your database structure) - a better fix would be (if there is any way to find out) reapply the last upgrade to see if that fixes it.

As ever before you do anything to your MySql data take a backup…

HTH

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.