nathanielleee Posted January 25, 2013 Share Posted January 25, 2013 I am having a major issue! My page not found report is showing that no pages are registered but when i go to my visits stats, it looks like this: it seems like close to half of my visitors are on page not found. I go through my website and cant regenerate it, all i can think is maybe somethings wrong with external links but doesnt make sense why half of our visitors would get it. Any help would help greatly with this issue. Im not sure when this started but its really causing a hit on this website. Link to comment Share on other sites More sharing options...
Sarak Posted February 9, 2013 Share Posted February 9, 2013 I'm having the exact same issue. Is there a fix? Or could it be just an error showing in back office? Link to comment Share on other sites More sharing options...
stevell Posted March 20, 2013 Share Posted March 20, 2013 Yep same problem but also the "Pages not found" has never worked on any Prestashop website I have had. I am yet to see a page not found in the report dispite editing the .htaccess Link to comment Share on other sites More sharing options...
shopimport.nl Posted March 24, 2013 Share Posted March 24, 2013 (edited) in modules/pagesnotfound/pagesnotfound.php search the line if (strstr($_SERVER['PHP_SELF'], '404.php') && !strstr($_SERVER['REQUEST_URI'], '404.php')) and change into if (Context::getContext()->controller->php_self == '404' || (strstr($_SERVER['PHP_SELF'], '404.php') && !strstr($_SERVER['REQUEST_URI'], '404.php'))) Edited March 24, 2013 by shopimport.nl (see edit history) Link to comment Share on other sites More sharing options...
stevell Posted March 24, 2013 Share Posted March 24, 2013 Thanks I will test it but you have posted the code twice I think and it caused my site to white page. Link to comment Share on other sites More sharing options...
Recommended Posts