Jump to content

Best Sales Controller not Found (404 error)


Recommended Posts

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

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

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

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.

post-786139-0-78322100-1405948695_thumb.jpg

Edited by npiazza (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...
×
×
  • Create New...