a5dev Posted April 30, 2017 Share Posted April 30, 2017 Running PS 1.7.1.0 on a VPS, PHP 7.1.4 From the admin, I go to Sell > Catalog > Categories I click the Add New Category button Enter a name for the category Click Save Next page is blank If I refresh, I still get a blank page but behind the scenes the category is added again. Seems like Prestashop's favorite thing to do is show a blank white page when it gets confused. I haven't tried turning on debug mode yet, but wanted to know if anyone else was having this problem and if so, how to fix it. And a note to PrestaShop ... a *little* bit of information in these blank pages (especially on the admin side) would be VERY helpful!! Link to comment Share on other sites More sharing options...
a5dev Posted April 30, 2017 Author Share Posted April 30, 2017 By the way ... if I DELETE a category, I get the same thing ... category is deleted but I get a blank page. Link to comment Share on other sites More sharing options...
musicmaster Posted May 1, 2017 Share Posted May 1, 2017 By default Prestashop does not show PHP and Mysql error messages. Instead it shows blank pages. This is a security measure as error messages tend to tell details about file location, etc. Obviously in order to solve problems you should temporarily switch error messages on. This is done in the file \config\defines.inc.php where you should set _PS_MODE_DEV_ to true. See also https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
genweb Posted May 1, 2017 Share Posted May 1, 2017 Maybe your category has any weird character or symbol in its name? Link to comment Share on other sites More sharing options...
andresams Posted June 17, 2017 Share Posted June 17, 2017 The same thing is happening to me and the developer mode shows no error. I am going to update this when I figure out. Link to comment Share on other sites More sharing options...
andresams Posted July 17, 2017 Share Posted July 17, 2017 I investigated this a lot and was able to reach the piece of code causing this error. However, it didn't make any sense, so I moved the website to another server with the same php config and it worked. It was probably some damaged php extension in the old server, but I had no time to investigate further because it didn't worth it. Link to comment Share on other sites More sharing options...
Ali Samie Posted April 17, 2022 Share Posted April 17, 2022 (edited) I just installed this module: https://mypresta.eu/modules/front-office-features/hide-products-by-country.html After testing the module i got blank page in Category and Product page. I uninstalled the module and deleted the folder from modules folder and also an override from this module in overrides/classes/shop/Shop.php Now i can see product page. But category page is still blank and white Edited April 17, 2022 by stifler97 Edited text format (see edit history) 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