-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Pages not displayed on frontend 2.1.2 #7392
Comments
@nmallepally I don't see page url in admin panel neither in Front-End.Maybe you have a typo in url key ? |
Hi @vasilii-b I had reindexed 5-10 times, no use. flushed static files and deployed static content. |
@nmallepally on 2.2.0-develop works fine with Magento default theme and custom theme. Did you tried to use default theme ? Try to disable installed modules ( I see you have there EMTHEMES). |
@vasilii-b Yes, I did try with it as well. |
@nmallepally I do not have for now, but I'll go into it deeper today. |
I've got this issue after disabling, then re-enabling page. This was done on Magento 2.1.1 and 2.1.2 versions. @nmallepally try to do the same - clear cache. @veloraven I think label |
@nmallepally, @vasilii-b could you provide more detailed steps to reproduce. @vasilii-b does thew issue exist on 2.2 dev? |
@tkacheva, here you go: Steps to reproduce
Expected resultCMS page is visible on FE. Actual resultCMS Page is not visible on FE after saving with Disabled option and Full Page Cache enabled. Additional informationThis was tested on Magento versions: 2.1, 2.1.2 and 2.2.0-dev. |
Hello, I was experiencing some very similar issues and will share my two cents. Magento CE 2.1.2, PHP 7, MySQL 5.6, CentOS 7 I created a new page via the backend, and it would not show up on the frontend. 404s every time - even after server reboot, static compilation, upgrade to latest available dependencies (11/22/16), disable caching, manual run indexing. New products were OK, and old CMS pages were OK. No frontend javascript errors. Nothing in exception.log. I was receiving the Magento 404. The issue ended up being what I believe is a new feature in v2.1 - allowing CMS pages to be linked to multiple storeviews (You can now assign a CMS page to multiple storeviews | v2.1 release notes). I run a single store, so I had previously enabled Single-Store Mode (Stores->Config->General). Because this was enabled, I wasn't getting the correct options on the Content -> Pages -> Add/Edit. Specifically, I was missing "Pages in Websites". Without that option, the pages were getting saved but without an entry for that field. No insert was performed into table 'url_rewrites'. I disabled single store mode and was able to see the correct options. I chose the correct store view and everything works fine. I believe this may be relevant because the OP submission also lacks the 'Store View' column. |
@vasilii-b @tkacheva @mitabs |
nice, disabling single store mode also fixes the bug where you can't edit the default welcome message or the copyright thing in the footer. |
I tried disabling single store mode and it has caused all sorts of problems. My theme is no longer being applied and I can't change it. I edit the design configuration and the edits don't persist. |
I think I had to re apply my theme at each level before it worked. The validation is messed up for sure too. If I put "Welcome to our Canadian store!" for the welcome message it resets to default, but without the '!' it saves fine. Maybe set everything to default and change one thing at a time. Worst case you can probably figure out how to bypass this garbage and edit the database directly. That's the only way I can get my E-mail set up since the domain validation is outdated by a few years. |
I tried applying it at every level, but the changes wouldn't stick. I reverted to single store mode and my theme is back, but my values for copyright, etc are not being used. This software drives me nuts. |
Still a problem in 2.1.3 and as @mitabs pointed out it is caused by enabling single store mode. When single store mode is enabled, the "store view" for a page is not saved, and so the page will never be routed and always results in a 404 on the frontend. |
Updated issue description |
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hello |
AC-2072:: ConfigurationTest Integration test case fixed
Hi @nmallepally, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. ![]() ![]() CMS page is visible on FE and the issue is no more reproducible. Hence We are closing this issue. Thanks. |
Preconditions (*)
Magento 2.4-develop
Steps to reproduce (*)
Cache
is enabledContent -> Pages
Expected result (*)
CMS page is visible on FE.
Actual result (*)
CMS Page is not visible on FE after saving with Disabled option and Full Page Cache enabled.
Additional information
After clearing Full Page Cache desired page is visible on FE.
The text was updated successfully, but these errors were encountered: