Page 1 of 2

Certain files does not have adequate permission. config.php

Posted: Mon Dec 14, 2020 3:56 pm
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.

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

Posted: Mon Dec 14, 2020 4:23 pm
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

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

Posted: Tue Dec 15, 2020 11:07 am
by franco
please can i get the config.php file?

i am having issue with it

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

Posted: Tue Dec 15, 2020 11:14 am
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

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

Posted: Tue Dec 15, 2020 6:30 pm
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

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

Posted: Wed Dec 16, 2020 12:06 pm
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

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

Posted: Wed Dec 16, 2020 12:28 pm
by alfa24
What version of Forma are you trying to install?

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

Posted: Wed Dec 16, 2020 1:07 pm
by franco
Forma LMS 2.4.1

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

Posted: Wed Dec 16, 2020 1:28 pm
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;

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

Posted: Wed Dec 16, 2020 1:58 pm
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