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

Update Wizard finds wrong version, fails to update

How Do I?

fogcity's avatar
fogcity
260 posts
8 years ago
fogcity's avatar fogcity

I am attempting to update an old site from EE2.7.2 to the latest version of EE2 (2.11.7)

I am following, as always, the EE instructions: http://216.243.142.229/rick/user_guide/installation/update.html

But when I run the wizard it incorrectly says: > We have detected that you are currently running ExpressionEngine version Public Beta pb01

If I proceed it generates errors as you might expect, failure to add database rows that are already there…

How can I help the wizard to find the correct version number?

Notes: I found this line in my config.php: $config[‘app_version’] = “272”; After restoring my database, I changed the line as follows: $config[‘app_version’] = “2.7.2”; No improvement.

Heres the exact error I get:

A Database Error Occurred Error Number: 1060

Duplicate column name ‘can_search’

ALTER TABLE exp_member_groups ADD COLUMN can_search char(1) NOT NULL default ‘n’

Filename: updates/ud_0_00_09.php

Line Number: 112

       
Jeremy S.'s avatar
Jeremy S.
353 posts
8 years ago
Jeremy S.'s avatar Jeremy S.

This kind of error may be caused by a misconfiguration or even just a typo in your config file that is throwing off the installer. Have you made any manual changes to the file at some point?

Note that ‘272’ is the correct way to represent the version in the config file, not 2.7.2.

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

Jeremy is correct on the config file being misconfigured. Check for a variable spelled $conf instead of $config.

       

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.