1

Can someone help me out from this issue? I have installed Magento 2.3.4 CE in my local system then I just want to enable the DHL shipping method but I am not able to do that because 'use system value' checkbox itself disabled If I change the store view also no luck.
Note : not only DHL, all system configurations checkbox disabled. enter image description here

| improve this question | | | | |
  • Do you have an errors in JS console ? – Anil Suthar Feb 27 at 9:54
  • I saw this message : " JQMIGRATE: Migrate is installed with logging active, version 1.4.1 ". is it affecting ? – shankar boss Feb 27 at 9:59
  • Hello, go to stores->attributes search for example title, open it and try to change its scope to global/store, save flush caches and run reindex, and check it again. – alexey boltynov Feb 27 at 11:30
1

You can uncheck checkbox and change value in admin panel. Still, if you can't able to change from admin panel. Then, you can also change using below command :

php bin/magento config:set carriers/dhl/active 1

UPDATE :

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

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

return [
'modules' => 
[
'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.

Note : Before do this please take backup of your db and code

| improve this answer | | | | |
  • thanks for your support. I was able to set DHL enable yes but the problem is all configurations checkboxes are locked / disabled. We can not change each and every configuration fields using command instead of setting up the values in Magento Admin. After run the above command it is showing like values set and env.php locked. Because of this env.php file option locked only causing the issue. How can we unlock the configuration checkboxes ? – shankar boss Feb 27 at 10:16
  • Did you executed app:config:dump command ? Maybe it's locked because of that. Not sure, but maybe – Rohan Hapani Feb 27 at 10:18
  • yes I executed app:config:dump command. – shankar boss Feb 27 at 10:19
  • is there any way to unlock them ? – shankar boss Feb 27 at 10:19
  • 1
    to solve this issue we need to reset app/etc/config.php & app/etc/env.php extra content which is added after ran app:config:dump command by comparing these files with fresh magento files. No need to run the above mentioned commands because if we run 'php bin/magento setup:di:compile' command it will create some problems I faced that – shankar boss Feb 27 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.