Another install issue

Install and configure FormaLMS and DoceboCE
Post Reply
carlbme
Newbie
Posts: 4
Joined: Mon Jul 22, 2013 5:03 pm

Another install issue

Post by carlbme »

I'm trying to setup a new site and I just get the spinner on Creating Database (Step 6) and the database is never created.

The database is on a different machine and I have verified that the webserver can access the database using the username/password I entered on Step 4.
Also, this is not the first setup on this server, there are currently two other test setups of Docebo (testing the upgrade to forma) already running on this server with no issues.
However, these are not recent installs, and unsure if any new updates to the installed packages have been applied (can't think of anything else that's changed on the servers).
carlbme
Newbie
Posts: 4
Joined: Mon Jul 22, 2013 5:03 pm

Re: Another install issue

Post by carlbme »

I tried taking and bypassing the install by taking a fresh database from a local install and importing it into one on the server and then manually input the information into the config.php

While this did bring up the login page now, I cannot login and just get "invalid request" using the good username and password that works on the local install.
User avatar
alberto
FormaLms Guru
Posts: 1155
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Another install issue

Post by alberto »

Hi Carl, could you check if the db user has all the permissions on the database?
jimh
Newbie
Posts: 2
Joined: Tue Dec 30, 2014 8:47 am
Version: forma.lms 1.3

Re: Another install issue

Post by jimh »

I also have the "invalid request" error on a new install. Type in the username and password, hit "Login" and get the red bar with "invalid request".

The database and install directory were both fresh and empty. I repeated the db build and Forma.lms install twice. i still get the error.

Do the db admin and lms admin need to be the exact same username and password?

Already invested many hours on this and I'd like to get it going, thanks for all your help!
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Another install issue

Post by canelli »

We have made many installation and never experienced your issue

Please report more details:
OS , web server, PHP version, Mysql Version.
At step 2 of the installation process have you any "RED" warning ?
Do the db admin and lms admin need to be the exact same username and password?
The LMS user can not be the same of the db user/password.
LMS user and password are defined in step 5 : admin user , admin password. This is the username/password you must use for the first login
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
---------------
jimh
Newbie
Posts: 2
Joined: Tue Dec 30, 2014 8:47 am
Version: forma.lms 1.3

Re: Another install issue

Post by jimh »

Thank you so much for the quick response!

OS is CentOS 6.4, PHP version 5.3.28 , MySQL 5.5.40-cll, Apache 2.4.9

I got the mime_type error at step 2 and applied the following fixes:

Added this code at the end of the file /lib/lib.docebo.php -
if (!function_exists('mime_content_type')) {
function mime_content_type($filename) {
return 'application/octet-stream';
}
}

Also created a php.ini and added this line - extension=php_fileinfo.dll

These fixes allowed the install past step 2.

Set up a new account on a VPS, fresh MySQL db, and install. Now stuck on step 4.
Also getting: [03-Jan-2015 07:41:30 UTC] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/southllc/public_html/install/lang/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/southllc/public_html/install/lib/lib.lang.php on line 12
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Another install issue

Post by canelli »

Hi Carl.

At step 5 you define the "super admin account , password and email
At step 6 you choice the language to be loaded in the system . After click the procedure
  • loads the db schema ( create table , load initial data) ,
  • create the super user account
  • loads the selected languages
You always must select almost one language.
Also getting: [03-Jan-2015 07:41:30 UTC] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/southllc/public_html/install/lang/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/southllc/public_html/install/lib/lib.lang.php on line 12
seems that you does not select any language in step 6
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