Upgrade from 2.1.6 to 2.2 fails

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
asdf
Forum Members
Forum Members
Posts: 39
Joined: Thu Jul 08, 2010 1:11 pm

Upgrade from 2.1.6 to 2.2 fails

Post by asdf »

I have a site which does not use table prefix and upgrading from 2.1.6 fails, running on MySQL. The prefix was not needed for 1.x and so far upgrades have worked fine. But "Step 4 - Basic Configuration Information" on 2.2 requires prefix be filled, it fails with error

Code: Select all

Please enter a valid prefix for database tables
The config.php sets it to blank correctly

Code: Select all

$config['db_prefix'] = '';
What to do, other than rename all tables?
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Upgrade from 2.1.6 to 2.2 fails

Post by Jos »

I ran into the same problem and chose to edit the table names, but also the names of all the indexes. Some indexes seem to be explicitly called in some scripts, and if you forget to prefix them too, you will only see the active page in the frontend menu.
asdf
Forum Members
Forum Members
Posts: 39
Joined: Thu Jul 08, 2010 1:11 pm

Re: Upgrade from 2.1.6 to 2.2 fails

Post by asdf »

Thanks for the index tip! As there was no other solution i had to rename tables and indexes.
Locked

Return to “[locked] Installation, Setup and Upgrade”