Install Step 2

Install and configure FormaLMS and DoceboCE
Post Reply
medic55
Newbie
Posts: 2
Joined: Tue Jan 24, 2017 12:31 am
Version: forma.lms 1.4.2

Install Step 2

Post by medic55 »

I am trying to install and receive the following error when getting to step 2

Fatal error: Uncaught Error: Call to undefined function mysql_get_client_info() in /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/controllers/Step2Controller.php:25 Stack trace: #0 /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/views/Step2.php(4): checkRequirements() #1 /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/controllers/StepController.php(10): include_once('/webroot/o/n/on...') #2 /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/lib/lib.step.php(58): StepController->render() #3 /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/index.php(63): StepManager::loadCurrentStep() #4 {main} thrown in /webroot/o/n/onsit011/onsiteed.com/www/formalms/install/controllers/Step2Controller.php on line 25

Any help would be appreciated.

Thanks!!

Jim
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Install Step 2

Post by max »

Hi Medic and welcome onboard!

What you are incurring into has been discussed in several threads on this forum, please check for example here viewtopic.php?f=2&t=12605&hilit=stuck+on+step+2
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
medic55
Newbie
Posts: 2
Joined: Tue Jan 24, 2017 12:31 am
Version: forma.lms 1.4.2

Re: Install Step 2

Post by medic55 »

Thanks but my issue was running php 7. Fixed and up and running!!

Thanks for the reply!

Jim
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Install Step 2

Post by canelli »

Hi medic55
the mysql standard driver does not exists anymore in php70 . for php70 the only available driver is mysqli ( mysql-i ) .

forma.lms 1.4.2 can use mysqli driver but have some issue, and the installation procedure tests the presence of the standard mysql driver.
as a workaround, you can install forma 1.4.x with php 5.x and then move the installation source and db under php 7.0
but remember that forma 1.4 is not fully compatible with php 7.0

Claudio
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
MyPasswordIs012345
Newbie
Posts: 2
Joined: Sat Jun 10, 2017 10:38 pm

Re: Install Step 2

Post by MyPasswordIs012345 »

I have the same issue. Step 2 locks on a white page.
Image

As per Claudio information it might be due to PHP7. I'll try to use PHP5 later and see.

P.S.:

Just tried with PHP 5.6.30 and I got this. Is it also not compatible ? I mean I uncommented mysql then mysqli extension without results.
Image
MyPasswordIs012345
Newbie
Posts: 2
Joined: Sat Jun 10, 2017 10:38 pm

Re: Install Step 2

Post by MyPasswordIs012345 »

Just retried with an older v.5.0.5 to make sure and this time the sever do not even want to take it.

I get this message stating the dll is not valid:

Code: Select all

C:\WINDOWS\system32>httpd -k restart -n apache
httpd: Syntax error on line 539 of D:/Apps/Productivite/Servers/HTTP/conf/httpd.conf: Syntax error on line 2 of D:/Apps/Productivite/Servers/HTTP/conf/custom/httpd-php505.conf: Cannot load D:/Apps/Productivite/Servers/PHP505/php5apache2.dll into server: %1 n\x92est pas une application Win32 valide.
Of course back in the time there was almost no if not simply not at all 64 bit version so I guess this is the reason why. I need to redo everything from scratch with 32 bit servers to check.
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Install Step 2

Post by canelli »

PHP 5.6 is a a valid version for forma.lms 1.4.x .
If you have a blank page you run into an error. Please check the apache error log
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
Post Reply