cancel
Showing results for 
Search instead for 
Did you mean: 

Unlock configuration

SOLVED

Re: Unlock configuration

I wanted to disable Magento ReView modul, and modify the etc/config.php
'Magento_Review' => 0,

the review module did disable, but now a lot of the settings in admin interface are grayed out

 

How to restore changes and put it back to be able to edit settings in admin ?

Please help

Re: Unlock configuration


@Manthan Dave wrote:

Hi @paulo_lima

 

okay - i have checked the things you are saying and below is the solution for that.

 

open config.php file from app/etc/config.php location.

 

Now remove everything from this file except - modules array like below code :

 

 

return array (
'modules' => 
array (
'Magento_Store' => 1,
'Magento_AdminNotification' => 1,
...
...
...
),
);

 

then save this file  !!

 

now after saving this file you need to run below command :

 

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento cache:clean

php bin/magento cache:flush

 

Then logged in to your backend admin panel - and check now configuration are unlocked and able to editable.

 

you don't required to do import for the same , if you just wanted to unlocked this settings.

 


One more step will be required in some situations I have run across: flushing the opcache on the server. This can usually be accomplished by restarting the web server process (Apache, nginx, or whatever).