-
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
Multiwebsite broken in 2.1.9 on CentOS 6.9 with RH-SCL PHP 7.0.10 #10892
Comments
Wow, that's big. Can anyone else confirm this issue? |
Hmm, just out of curiosity I tested this on a shop we maintain with multiple domainnames and websites where we also changed the Results:
@thomvanderboon: can you double check if your If this still doesn't help, please test with a clean Magento 2.1.9 installation and try to provide more details about every step you have taken, so the support people can reproduce your issue. (Just for completeness sake: we have patched some parts of Magento to make multiple domains work correctly, because there are bugs in a vanilla Magento installation where it writes the incorrect storecode to the cookies, which I explained over here) |
I checked it.... my index.php was correct. It looks like it is something platform specific to CentOS 6.9 + RH-SCL PHP 7.0.10. Tested on Ubuntu 16.04 LTS (PHP 7.0.22) and upgrade 2.1.8 -> 2.1.9 of multi store shop works without problems |
@thomvanderboon: it might be something different in the webserver setup and/or configuration, I don't think a different php version can cause this problem. |
@hostep I copied the apache config from the CentOS vm to the Ubuntu vm (both running apache 2.4) so difference in webserver setup is quite unlikely. PHP more likely, I am currently creating a fresh vm with the CentOS setup for further testing. |
After quite some testing over the last month, I came to the conclusion that this issue is moste likely opcache related. If you run opcache with the settings which are recommended, a edited index.php is only picked up after restart of the webserver. |
@thomvanderboon: you're probably talking about these settings: http://devdocs.magento.com/guides/v2.2/config-guide/prod/prod_perf-optimize.html? And the problem is then probably caused by the setting This might help in your case :) |
After update to 2.1.9 the multiwebsite functionality is broken.
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: