Felipe_CN Posted March 21, 2016 Share Posted March 21, 2016 (edited) Hi everyone, When access the 2nd page in a particular product category, the page is blank (no display products), but the same does not happen if I click on the 1st, 3rd or 4th. Or place to see 60 products on a single page it opens normally all. If anyone knows give me an aid to solve the problem I am grateful! A hug. Problem Category: "VESTUÁRIO > CAMISETAS" (2nd page showing 12 products) Edited August 13, 2016 by Felipe_CN (see edit history) Link to comment Share on other sites More sharing options...
presta.show Posted March 21, 2016 Share Posted March 21, 2016 Enable debug mode and see if it shows any errors. To enable debug open file: /config/defines.inc.php and change: define('_PS_MODE_DEV_', false);to: define('_PS_MODE_DEV_', true); Do you have modified file CategoryController.php ? Link to comment Share on other sites More sharing options...
Felipe_CN Posted March 21, 2016 Author Share Posted March 21, 2016 Enable debug mode and see if it shows any errors. To enable debug open file: /config/defines.inc.php and change: define('_PS_MODE_DEV_', false); to: define('_PS_MODE_DEV_', true); Do you have modified file CategoryController.php ? Hi, this modify will solve the problem or just show what's wrong? No, I didn't modified file CategoryController.php but my host has made a backup for me and my website never went back to the same, start to show this little errors. Link to comment Share on other sites More sharing options...
presta.show Posted March 21, 2016 Share Posted March 21, 2016 In debug mode all errors will be visible. Link to comment Share on other sites More sharing options...
Felipe_CN Posted March 22, 2016 Author Share Posted March 22, 2016 In debug mode all errors will be visible. Hi, I did what you said and now the page 2 is working. Please take a look Link to comment Share on other sites More sharing options...
presta.show Posted March 22, 2016 Share Posted March 22, 2016 Propably somewhere in your template (I think in 'product_list.tpl') is error. _PS_MODE_DEV_ = false When prestashop finds an error skips code. _PS_MODE_DEV_ = true When prestashop finds an error shows the error and proceeds. Link to comment Share on other sites More sharing options...
Felipe_CN Posted March 22, 2016 Author Share Posted March 22, 2016 Propably somewhere in your template (I think in 'product_list.tpl') is error. _PS_MODE_DEV_ = false When prestashop finds an error skips code. _PS_MODE_DEV_ = true When prestashop finds an error shows the error and proceeds. I see. Thanks. What do you suggest me to do now? Link to comment Share on other sites More sharing options...
presta.show Posted March 22, 2016 Share Posted March 22, 2016 Your shop should not stay with _PS_MODE_DEV_ = true because it's dangerous. Someone should take a look at your template. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now