Open hejhog opened 9 years ago
Hi @hejhog are you using any extension to handle 404 pages?
No 404 extension installed. Just have a custom CMS (no-route) page.
I created a similar issue here https://github.com/GordonLesti/Lesti_Fpc/issues/80 was having exactly the same issue, I had to disable cache for category pages essentially, since I am using HHVM it still loads much faster but won't beat the FPC.
Read your issue. Duplicated as Gordon asked me to open a new ticket.
I am currently running version 1.1.2 but will upgrade to latest version soon.
It is a strange "bug" as it can be very intermittent. Thought it may have been linked to the lifetime but have been checking my site for the last 48 hours and am yet to discover a 404 page for an active category.
Just found another Page Not Found. Tried re-indexing re-writes and also tried the direct path to category and this still went to the 404 Page.
Re-saved the category to refresh cache and the category displayed OK.
i have the same problem here with version 1.3.6 and magento 1.9.0.1 after an unsepcific time some urls returns 404 error. after complete cache cleaning or an clean of the specific url it worked again
Upgraded to version 1.3.6 on 1.7.0.2 and this did not cure the issue. This is definitely a bug and unless you check every category URL daily it will go unnoticed. Not sure if it effects product pages.
Sometimes 404 pages will appear instantly the cache is cleared. Sometimes after a few hours. After 24 hours I can gaurantee on my site a 404 will be found,
so I am not alone in the arena, I wonder if some has been looking into it seriously, but with out some more info it would be hard to figure out, are you using any third party extensions?
i also get an 404 error on pages that are exclude from the cache. so it will not only affected to pages that will handled by the cache... strange
i am using a lot of third party extension... i try to debug this problem in the next days... if i have more informations i post it here
My main third party extensions are: Web & People - Custom Menu Template Master - Easy Catalogue Images Amasty - Improved Navigation CJM - Custom Stock and Colour Selector
All other extension are mainly admin based ie M2EPRO, Lanot - Grid Image.
I would suspect Amasty Improved Navigation, It has some bugs, that's what I have too, try disabling that if you can?
Aftab Naveed
On Thu, Feb 12, 2015 at 11:13 PM, Shaun notifications@github.com wrote:
My main third party extensions are: Web & People - Custom Menu Template Master - Easy Catalogue Images Amasty - Improved Navigation CJM - Custom Stock and Colour Selector
All other extension are mainly admin based ie M2EPRO, Lanot - Grid Image.
— Reply to this email directly or view it on GitHub https://github.com/GordonLesti/Lesti_Fpc/issues/90#issuecomment-74061384 .
I currently have Amasty Improved Navigation version 2.2 installed. bjt1988 - do you have this module?
i dont have this module. and i think this is not the problem. i currently installed my live system into a developement system... and i reproduce the problem in my dev system.
not work. and the 24 hours default setting is not working on both servers. thats why i staticly write $lifetime="302400"; to app/code/community/Lesti/Fpc/Model|Fpc.php Line 80
why i tell you this? because on both servers all the pages will "reset" flush from the cache after 7000-8000 seconds. With my change on in the Fpc.php now the pages will live to the specific 302400 i hope. now i am on 9000 seconds so i think my change is working.
good. so. on both servers after 7100 seconds already one of my ajax page calls brings the 404 error. when i try to open the ajax url directly i get the complete magento 404 error page.
now i am in a good situation to check the whole problem. i have the error in my developement area... now i can debug. tomorrow i can try more.
BUT i can tell you this:
my ajax call try to make some Mage: calls. the first two lines are: Mage::app()->setCurrentStore($_SESSION['currentStoreId']); Mage::getSingleton('core/session', array('name'=>'frontend')); if i commented out both lines the ajax call to the 404 error url is working. thats the first step. tomorrow i will go deeper into the system to find out at which point magento return the 404
ok yesterday my post was not so correct.... these are the lines of the page that returns the 404 error:
Mage::app()->setCurrentStore($_SESSION['currentStoreId']); Mage::getSingleton('core/session', array('name'=>'frontend')); $session = Mage::getSingleton('customer/session'); $_taxHelper = Mage::helper('tax'); $_product = Mage::getModel('catalog/product')->load($_POST['productId']); .... the Mage::getModel('catalog/product')->load($_POST['productId']); call brings the 404 error. i i commented out this line and the call of the page is working... so now i have to find out why the product load call returns 404 error
There is also some information on this bug at #74
hi all , solution for this problem ? i get 404 in some categories , how i can debug ?
bjt1988 solvent the problem ?
Hello Gordon, As requested. I have noticed that on navigating my website I can sometimes receive a Magento "Page Not Found" for a category that was previously displaying. I believe (but not certain) this is happening after a page has been cached and is then being re-cached after the default 24 hour lifetime. The FPC then has to be flushed for the category page to display again. Many Thanks, Shaun