Certain files does not have adequate permission. config.php

Install and configure FormaLMS and DoceboCE
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Certain files does not have adequate permission. config.php

Post by franco »

Hello house, i just downloaded the latest release of forma.lms today. When i wanted to install the database on my local machine, i got this error. and i am using php 7.3.8. please what can be the problem and the solution .


Step 2: System Check
Server information
Server software : : Apache/2.4.41 (Win64) PHP/7.4.0
PHP Version : : 7.4.0
Mysql Client Version : : 7.4.0
Multibyte Support: ON
mime_content_type() support: ON
Fileinfo support : ON
Ldap : : ON
Openssl : : ON
Site Timezone: UTC
PHP Information :
magic_quotes_gpc : : OFF
Safe mode : : OFF
register_global : : OFF
allow_url_fopen : : ON
allow_url_include : : OFF
upload_max_filsize : : 10M
post_max_size : : 8M
max_execution_time : : 120s
Certain files does not have adequate permission
config.php

Please i need urgent solution.
User avatar
max
FormaLms Guru
Posts: 2739
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Certain files does not have adequate permission. config.php

Post by max »

Hello and welcome on board

please follow the requirements https://docs.formalms.org/reference-gui ... ments.html

downgrade to php 7.0 (your version is not supported) and give the necessary permissions as per the installation guide https://docs.formalms.org/reference-gui ... grade.html
---------------------
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
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Re: Certain files does not have adequate permission. config.php

Post by franco »

please can i get the config.php file?

i am having issue with it
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Re: Certain files does not have adequate permission. config.php

Post by franco »

please after i have downloaded the php version 7.0, i receive this error again

PHP Warning: require(C:\inetpub\wwwroot\formalms\lib/../config.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\formalms\lib\lib.bootstrap.php on line 143
PHP Fatal error: require(): Failed opening required 'C:\inetpub\wwwroot\formalms\lib/../config.php' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\formalms\lib\lib.bootstrap.php on line 143

so please can i get the working config.php file and where to paste it.

Regards
User avatar
alberto
FormaLms Guru
Posts: 1140
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Certain files does not have adequate permission. config.php

Post by alberto »

The config file is generated at the end of the installation wizard, on the last step you find a link to download it
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Re: Certain files does not have adequate permission. config.php

Post by franco »

Hello,
Thanks so much for your quick response.
i have passed through the step but i am still having some errors at importing the database level.

this is the error gotten.

how can i resolve this error

Database
loading Importing database

Unknown column '
idMenu' in 'field list'
Unknown column '
idUnder' in 'field list'
Languages
English
Attachments
error.png
alfa24
Senior Boarder
Posts: 2047
Joined: Fri Nov 24, 2017 8:45 am

Re: Certain files does not have adequate permission. config.php

Post by alfa24 »

What version of Forma are you trying to install?
Per supporto GRATUITO contattatemi in privato qui
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Re: Certain files does not have adequate permission. config.php

Post by franco »

Forma LMS 2.4.1
alfa24
Senior Boarder
Posts: 2047
Joined: Fri Nov 24, 2017 8:45 am

Re: Certain files does not have adequate permission. config.php

Post by alfa24 »

I think the create core_menu_under table instruction has failed.
Try to execute the following on your mysql instance and report back with possible errors:

CREATE TABLE IF NOT EXISTS `core_menu_under` (
`idUnder` int(11) NOT NULL AUTO_INCREMENT,
`idMenu` int(11) NOT NULL DEFAULT '0',
`module_name` varchar(255) DEFAULT NULL,
`default_name` varchar(255) NOT NULL DEFAULT '',
`default_op` varchar(255) DEFAULT NULL,
`associated_token` varchar(255) DEFAULT NULL,
`of_platform` varchar(255) DEFAULT NULL,
`sequence` int(3) NOT NULL DEFAULT '0',
`class_file` varchar(255) DEFAULT NULL,
`class_name` varchar(255) DEFAULT NULL,
`mvc_path` varchar(255) DEFAULT NULL,
PRIMARY KEY (`idUnder`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Per supporto GRATUITO contattatemi in privato qui
franco
Newbie
Posts: 12
Joined: Mon Dec 14, 2020 2:58 pm

Re: Certain files does not have adequate permission. config.php

Post by franco »

Thanks for your quick response.
i have finally downloaded the config.php file. where will i past the config in the formalms folder. give me the directories
Post Reply