Page 1 of 1

Install Step 2

Posted: Tue Jan 24, 2017 2:00 am
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

Re: Install Step 2

Posted: Tue Jan 24, 2017 11:28 am
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

Re: Install Step 2

Posted: Wed Jan 25, 2017 5:42 am
by medic55
Thanks but my issue was running php 7. Fixed and up and running!!

Thanks for the reply!

Jim

Re: Install Step 2

Posted: Tue Jan 31, 2017 1:28 pm
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

Re: Install Step 2

Posted: Sat Jun 10, 2017 10:50 pm
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

Re: Install Step 2

Posted: Sun Jun 11, 2017 12:12 pm
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.

Re: Install Step 2

Posted: Sun Jun 11, 2017 1:39 pm
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