Stuck at Installation Step 2

Install and configure FormaLMS and DoceboCE
New2lms
Newbie
Posts: 4
Joined: Fri Oct 07, 2016 12:04 am

Stuck at Installation Step 2

Post by New2lms »

Hello,
Can someone please tell me the Mime Type name and Extension I must create within cpanel to get past Step 2 of the Installation process?


Thank you
Attachments
lmsinstall.png
mime.png
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Stuck at Installation Step 2

Post by max »

I would say the ones related to the extensions you will use on your LMS
pdf,doc,zip,jpg,png,xls,xlsx,docx,pptx,ppt,txt,csv,avi,mov,mp4.....

You can find a (complete) list here, I just googled it... https://www.sitepoint.com/web-foundatio ... lete-list/

Please note that on most servers the mime types should already be configured.
---------------------
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
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Stuck at Installation Step 2

Post by max »

Ah, and - btw - welcome on board! :-)
---------------------
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
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Stuck at Installation Step 2

Post by canelli »

Hi New2Lms
you must enable the php extension "fileinfo"
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
---------------
hamiltonwm3
Newbie
Posts: 6
Joined: Sun Oct 16, 2016 9:58 pm

Re: Stuck at Installation Step 2

Post by hamiltonwm3 »

This whole thing with mime_content_type() support: OFF seems more like the a quest for the Holy Grail, Hobbit or Harry Potter Adventure. In Godaddy cpanel, WHM and SSH I cannot find this Holy Grail. I've seen the magic file and LDAP (which I don't believe I need to complete installation) in WHM cpanel Apache build and checked it, but after that no. I've checked to use the previously saved version of Easy Apache, but also named the last saved version. Guru, what is my next task on this noble quest?

I also don't see fileinfo either...

Can't I just copy the php.ini file into the root directory, add a few lines of something, reboot the Apache Server and fly to the next task? PHP 5.6.23
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Stuck at Installation Step 2

Post by alberto »

Hi hamiltonwm3, welcome in the community! :)

To enable the fileinfo extension you must access your server php configuration (php.ini). Usually providers don't allow direct access to this configuration, ask your provider to enable it.

For your local install try this tutorial: https://community.xibo.org.uk/t/how-do- ... -in-php/78
hamiltonwm3
Newbie
Posts: 6
Joined: Sun Oct 16, 2016 9:58 pm

Re: Stuck at Installation Step 2

Post by hamiltonwm3 »

copied the php.ini file to my root and changed the name to take a look it, don't see fileinfo? Also browsed phpinfo.php and found this in the configure command --disable-fileinfo How come I'm not seeing this? Is there a config file somewhere? I SSH'd to the usr/local/lib directory where phpinfo.[h[ said my php.ini file was and tried to vi edit but it was all blue -- read only? I guess I could rename the php.ini file in my root directory back to php.ini and add the fileinfo in that file? I'm getting there, but slowly on this quest for the Holy Grail
hamiltonwm3
Newbie
Posts: 6
Joined: Sun Oct 16, 2016 9:58 pm

Re: Stuck at Installation Step 2

Post by hamiltonwm3 »

You running Easy Apache 4 vice 3 might make these available to me?
hamiltonwm3
Newbie
Posts: 6
Joined: Sun Oct 16, 2016 9:58 pm

Re: Stuck at Installation Step 2

Post by hamiltonwm3 »

I have now passed into the relm of the fileinfo and now passing through the /etc/my.cnf read only file. I cannot override, chmod. I am logged in as root in ssh Or at least the user name designated as root or should it be 'root' actual?
hamiltonwm3
Newbie
Posts: 6
Joined: Sun Oct 16, 2016 9:58 pm

Re: Stuck at Installation Step 2

Post by hamiltonwm3 »

got all the way through su - and root alternate to sql_mode=”NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION” in both /etc and /usr and MySQL Server restart--- errors, rollback changes and start again to the beginning of the task for the MySQL strict mode comment while installing Forma
Post Reply