Jump to content

Enabling PS Dev Mode cause pages error


ajaxthemestudios

Recommended Posts

Hi,

When I set _PS_MODE_DEV_ to true, some of my pages stop loading. Instead, they display a page error. When I set it back to "false", the page starts loading.

Is this how Prestshop is supposed to work? These pages loads normally, but have problem when PS Mode DEV is on. Is this not supposed to be a way to see errors on pages that are not loading, not shutting down the ones that are working.

Any help is appreciated.

 

Link to comment
Share on other sites

Hi, yes, this is how prestashop should work. If you check prestashop code you will find a lot of places where this constant uses. For example, if this constant is true then php error_reporting will be enabled with reporting all php errors and the same with DB errors

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...