Upgraded from 2.1.4 to 2.2.3; broke ADONewConnetion

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
kmenigoz
New Member
New Member
Posts: 5
Joined: Fri Sep 01, 2017 5:59 pm

Upgraded from 2.1.4 to 2.2.3; broke ADONewConnetion

Post by kmenigoz »

Previously, we were setting up an additional connection to another database using an additional call via

Code: Select all

$dbExt = ADONewConnection("mysqli");
Then calling this to log in to that database.

Code: Select all

$dbExt->Connect('localhost','user','password','database');
This worked fine until today when I updated to 2.2.3.1 on our dev environment.

When doing a print_r($dbExt), we get the credentials for the $db variable as defined in the CMSMS config.php file. The connection does not fail, but also appears to not even be attempting the connection. I tried switching to using a DSN today, as well, but it does the exact same and queries to that other database fail.
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: Upgraded from 2.1.4 to 2.2.3; broke ADONewConnetion

Post by rotezecke »

kmenigoz
New Member
New Member
Posts: 5
Joined: Fri Sep 01, 2017 5:59 pm

Re: Upgraded from 2.1.4 to 2.2.3; broke ADONewConnetion

Post by kmenigoz »

Thanks, looked through all the release logs and either missed it or that mention isn't in there. Most likely missed it, thanks!
Locked

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