Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

"CDbConnection failed to open the DB connection" error after PHP version update

  • imnetxiin
  • imnetxiin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago - 3 years 9 months ago #216556 by imnetxiin
Hello!

I was updating Moodle from Softaculous on cPanel and I was asked to raise the PHP version to 7.3.27 and switch on PHP extensions sodium and mysqli (had no such thing, switched on nd_mysqli and it worked).

After the update my LimeSurvey 4.3.15+200907 gives me the following error:

Internal Server Error
CDbConnection failed to open the DB connection.
An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

I have no idea what to do. Not a tech person. Appreciate any help.

Warning: Spoiler!
Last edit: 3 years 9 months ago by imnetxiin.
The topic has been locked.
  • imnetxiin
  • imnetxiin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #216689 by imnetxiin
Hello!
I "solved" the problem by raising the PHP version to 7.4.(16).
Still don't understand what happened and how to deal with such cases.
Maybe the Manual needs an update on this topic.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose