Upgrade 2.1.6 to 2.2 failure

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
postiffm
Forum Members
Forum Members
Posts: 124
Joined: Tue Nov 30, 2010 12:16 am

Upgrade 2.1.6 to 2.2 failure

Post by postiffm »

Hi,

I tried to upgrade. There were three errors that showed up on the first try. I apologize but I cannot remember them all and didn't write them down. I installed with advanced mode turned off.

1. Can't remember.
2. I think something about adodb-lite.
3. Plugins/ directory could not be removed. It had a zero-length php file in it from 4/2015. I removed it by hand and decided to try again.

Tried again. Installation went farther this time. But then this:

Create temporary directories
Could not find a database abstraction layer named mysql

Tried a third time, same result.

I did find it interesting that you require me to manually enter the db_password from config.php. I don't recall having to do that before on an upgrade.

It looks like in "refresh mode" the installer skips Step 8 (database work) and thus does not do the very thing that I need it to do.

Thanks for any pointers.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Upgrade 2.1.6 to 2.2 failure

Post by velden »

For others:
Been working on it shortly and fixed a few issues.

dbms must be 'mysqli':
https://docs.cmsmadesimple.org/configur ... onfig_dbms

BTW: always make sure to have a backup before starting an upgrade (in this case we have)
postiffm
Forum Members
Forum Members
Posts: 124
Joined: Tue Nov 30, 2010 12:16 am

Re: Upgrade 2.1.6 to 2.2 failure

Post by postiffm »

A little more on this: My config.php has had this line in it for a long time:

$config['dbms'] = 'mysql';

The 2.2 installer did not change it to mysqli, so a manual change was needed.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Upgrade 2.1.6 to 2.2 failure

Post by Rolf »

I needed to change that when hosting went to PHP 7.x
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
postiffm
Forum Members
Forum Members
Posts: 124
Joined: Tue Nov 30, 2010 12:16 am

Re: Upgrade 2.1.6 to 2.2 failure

Post by postiffm »

I am running on php 5.6.30 on a2hosting.com.
Locked

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