Hi,
I have an issue upgrading my version of PHP, I am having to run my 2.42 version of Forma on 5.56. anything above that crashes the site.
My VPS host is requesting we upgrade to later versions.
See error.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/dtascco/public_html/db/drivers/docebodb.mysql.php:28 Stack trace: #0 /home/dtascco/public_html/db/lib.docebodb.php(80): Mysql_DbConn->connect('localhost', 'dtascco_db', 'a[6r9KrB5fz}', 'dtascco_db') #1 /home/dtascco/public_html/appCore/models/PluginmanagerAdm.php(25): DbConn::getInstance() #2 /home/dtascco/public_html/lib/lib.pluginmanager.php(40): PluginmanagerAdm->__construct() #3 /home/dtascco/public_html/lib/lib.forma.php(39): PluginManager::get_all_plugins() #4 /home/dtascco/public_html/lib/lib.docebo.php(141): Forma::inc('lib/lib.utils.p...') #5 /home/dtascco/public_html/lib/lib.bootstrap.php(233): Docebo::inc('/home/dtascco/p...') #6 /home/dtascco/public_html/lib/lib.bootstrap.php(81): Boot::utility() #7 /home/dtascco/public_html/appCore/index.php(26): Boot::init(11) #8 {main} thrown in /home/dtascco/public_html/db/drivers/docebodb.mysql.php on line 28
Any assistance would be appreciated.
Update php. Forma version 2.4.2
Re: Update php. Forma version 2.4.2
in /config.php
change:
to:
change:
Code: Select all
$cfg['db_type'] = 'mysql';
Code: Select all
$cfg['db_type'] = 'mysqli';
Per supporto GRATUITO contattatemi in privato qui
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Update php. Forma version 2.4.2
Brilliant! thank you fore your help