-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching off FPC causes config key collision (beta) #1808
Comments
@amenk This error happens if you had an older version of magento 2 when config was saved only in config.php. Now config.php only has module related info. There is no way to accurately determine which is the correct set to overwrite values. |
I started with the merchant beta ... |
@amenk can you give us detailed steps to reproduce this issue? We are having trouble reproducing it. |
As far as I remember, I did a composer based installation of Magento and then tried to change the cache settings. |
@amenk , I tried to reproduce, but could not. The steps I tried were:
There was a time when we only had config.php, and all settings were in there. When we split the config it was necessary to reinstall to get everything in the right place. Is it possible you had an old version of config.php? or some files in the var/generation directory from an older install? You shouldn't have anything else in config.php other than the array of modules. env.php and config.php are not merged, rather they have different entries in them. If you have the same entry in both, then you see the error you are getting. |
I am having "magento/product-community-edition": "1.0.0-beta" - when I install now it is -beta2 |
This is all pretty confusing as there are no -beta1 and -beta2 tags in this (magento/magento2/) github repository... |
I tried with the 1.0.0-beta and still no failure. The split of the config files took place before 1.0.0-beta. Did you ever install before 1.0.0-beta? |
I did a fresh installation at 2015-08-24. I will try to edit the config files and see what happens. |
I am not sure, but I might have tried to switch caching with |
Putting the cache config to env.php solved the problem. |
NP, @amenk, glad you got it going. We'll keep an eye out for this in the future. |
[EngCom] Public Pull Requests - 2.2-develop - MAGETWO-84981: Trying to get data from non existent products #12539 - MAGETWO-84979: [Backport 2.2-develop] Fix swagger-ui on instances of Magento running on a non-standard port #12541 - MAGETWO-84903: Added namespace to product videos fotorama events #12469 - MAGETWO-84862: [Backport 2.2-develop] #11409: Too many password reset requests even when disabled in settings #11435 - MAGETWO-84856: Issue 12506: Fixup typo getDispretionPath -> getDispersionPath #12507 - MAGETWO-84808: 12110: Missing cascade into attribute set deletion. #12167 - MAGETWO-83503: [2.2] - Add command to view mview state and queue #12122 - MAGETWO-80223: Fix syntax of expectException() calls #11099
Steps to reproduce:
Disable a cache (full page cache in backend)
Now the cache settings are written to
env.php
On the next page view, I get the following error:
What I saw is, that the cache_types section is in
env.php
as well asconfig.php
. I actually was expecting, that config file merging / overwriting of values should work?The text was updated successfully, but these errors were encountered: