Page 1 of 1

Another install issue

Posted: Mon Apr 07, 2014 9:05 pm
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).

Re: Another install issue

Posted: Mon Apr 07, 2014 9:23 pm
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.

Re: Another install issue

Posted: Thu Apr 10, 2014 3:59 pm
by alberto
Hi Carl, could you check if the db user has all the permissions on the database?

Re: Another install issue

Posted: Tue Dec 30, 2014 8:54 am
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!

Re: Another install issue

Posted: Tue Dec 30, 2014 10:34 am
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

Re: Another install issue

Posted: Tue Dec 30, 2014 9:51 pm
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

Re: Another install issue

Posted: Tue Jan 06, 2015 3:35 pm
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