-
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
Upgrade to 2.2.2: CMS Homepage 404 #12950
Comments
@LSERRE thank you for your report. Unfortunately, we weren't able to reproduce the issue. It works fine for us. The steps we used:
Please let us know if we missed anything, or if you used another way. Thank you |
Thanks for your test. Well maybe this is because I created the Homepage with and older version then. But I still have the issue and some others has it too (see my link). |
@LSERRE We tried to reproduce it on the clean instance of Magento, and we could not reproduce it. We tried updating 2.2.0->2.2.2 and 2.2.1-> 2.2.2 both ways worked fine. Seems like it's a problem with your Magento instance or seems like you might have 3'rd party code, that causes the problem. Please refer to the Community Forums or the Magento Stack Exchange site for technical questions. |
I had the exact same thing.
My url_rewrite table did have an empty request_path row for some reason. I deleted it and everything worked again. |
Hi, Yes I ended up as the same way. Thanks for your answer. |
+1 |
+1, thanks @juharintanen |
I was getting 404 for every new cms page I create. I was able to resolve this issue by deleting the URL redirect from the database using the following:
|
I have also noticed this issue while upgraded Magento 2.2.1 to 2.2.2. But there is no any empty request_path row in url_rewrite table. This is a serious issue and how can @magento-engcom-team close this issue? |
i m facing same issue after upgrade to 2.3.1, i checked "url_rewrite" DB table and there is no empty request_path record |
We also have that issue after upgrade to 2.3.1. But it's a little more strange. If we have a 404 one the homepage and clear the hole cache (FPC enabled), everything is working. But after some time running (without changing anything) it will change to 404 again. So only cache clearing will fix it currently, and that is no solution. We now switched to Redis as cache backend, but there we have the same problem. So it looks like the cache backend type doesn't matter. Our url_rewrite table has no empty rows and we didn't had that error prior 2.3.1 |
There is alredy a fix for this here #21299 |
We have same issue on magento 2.3.1 with homepage on clean install with Luma Sample data. |
This does not resolve the issue. We can provide a live site to demonstrate the patch fails. A fresh install of 2.3.1 using aMiSTACX on AWS, and then load sample data should not result in 404 on the homepage after X time; certainly tied into FPC as others have stated. We can fix this by flushing FPC/Redis, but that is not a solution. Again as others have stated. Really would be fantastic should someone take this bug seriously. |
We have actually the same issue as yours right now @crysix |
@mikimobile DELETE FROM url_rewrite WHERE (entity_type = 'cms-page'); |
@mikimobile Yes, I resolved it as described here #21299 |
Thanks Christian.
…On Sun, 7 Jul 2019, 22:33 Christian Hinz, ***@***.***> wrote:
@mikimobile <https://github.com/mikimobile> Yes, I resolved it as
described here #21299 <#21299>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12950?email_source=notifications&email_token=AA3YGCOH6A2F4NINRXHDZFLP6JHKVA5CNFSM4EKDMXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLSSTQ#issuecomment-509028686>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3YGCO5HQHFQOKEMSG3JULP6JHKVANCNFSM4EKDMXPQ>
.
|
Preconditions
Steps to reproduce
Expected result
Actual result
I tried save stores/configurations/general/web/default pages values again.
The CMS page is now displayed as frontpage but it is not considered as real homepage:
Someone has the same issue and posted on stackoverflow:
https://magento.stackexchange.com/questions/206520/404-on-homepage-magento-2-2-2/207789#207789
The text was updated successfully, but these errors were encountered: