npiazza Posted July 16, 2014 Share Posted July 16, 2014 Hello all, Still fairly new with the Prestashop platform but I now have several months under my belt. I cannot seem to link to my Best Sales Controller. It goes to a 404 page not found. http://www.gripnripracing.com/index.php?controller=best-sales Any thoughts or ideas on how I can troubleshoot this? Thanks in advance! Prestashop version: 1.6.0.6 Give it a try: http://www.gripnripracing.com/index.php?controller=best-sales Link to comment Share on other sites More sharing options...
Ittu Posted July 17, 2014 Share Posted July 17, 2014 Hi, Please check in ROOT_OF_PRESTASHOP/controllers/front/ and find BestSalesController.php file Edit it and check that public $php_self = 'best-sales'; exist in controller or not. Link to comment Share on other sites More sharing options...
npiazza Posted July 17, 2014 Author Share Posted July 17, 2014 Hi, Please check in ROOT_OF_PRESTASHOP/controllers/front/ and find BestSalesController.php file Edit it and check that public $php_self = 'best-sales'; exist in controller or not. Thanks for the reply! Yes, the file and the line in the file does exist. What can I check next? Link to comment Share on other sites More sharing options...
Ittu Posted July 18, 2014 Share Posted July 18, 2014 Can you check that BestSalesController.php file is in override folder or not ? If BestSalesController.php is in override controller folder then share file code here. Link to comment Share on other sites More sharing options...
npiazza Posted July 18, 2014 Author Share Posted July 18, 2014 The BestSalesController.php file is NOT in the /override/ folder. Does it need to be there too? Thanks again and please advise. Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2014 Share Posted July 20, 2014 The BestSalesController.php file is NOT in the /override/ folder. Does it need to be there too? Thanks again and please advise. nooo, don't copy controller there. it's not necessary. can you check something? go to preferences > seo & urls and change best sales controller url then try to open it, will see whats going on then Link to comment Share on other sites More sharing options...
npiazza Posted July 21, 2014 Author Share Posted July 21, 2014 (edited) nooo, don't copy controller there. it's not necessary. can you check something? go to preferences > seo & urls and change best sales controller url then try to open it, will see whats going on then It seems to open just fine. Please see attached screenshot. Edited July 21, 2014 by npiazza (see edit history) Link to comment Share on other sites More sharing options...
npiazza Posted July 30, 2014 Author Share Posted July 30, 2014 OK, update on this. I just updated to PrestaShop 1.6.0.8 and now the best sales controller works! Sweet Link to comment Share on other sites More sharing options...
CarpalWatch.com Posted February 6, 2015 Share Posted February 6, 2015 Make sure BO\Preferences\General\Display best sellers is yes... 6 Link to comment Share on other sites More sharing options...
Recommended Posts