Jump to content

Cannot turn off debug mode on prestashop 1.5.6.2


levviking

Recommended Posts

I have prestashop 1.5.6.2.

After i have some errors with the modules, i turned ON the debug in config/defines.inc.php

I left with the "!!!!" errors on the head of my pages.

Later i turned OFF debug mode, but i have some payment module, whit error, and when i ask for suport from payment developers, he say i have debug ON.

Where to set the debug OFF?

Link to comment
Share on other sites

thank you @El Patron

 

I have this settings:

*/

/* Debug only */
define('_PS_MODE_DEV_', false);
if (_PS_MODE_DEV_)
{
	@ini_set('display_errors', 'on');
	@error_reporting(E_ALL | E_STRICT);
	define('_PS_DEBUG_SQL_', true);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}
else
{
	@ini_set('display_errors', 'off');
	define('_PS_DEBUG_SQL_', false);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
}

define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);

$currentDir = dirname(__FILE__);

if (!defined('PHP_VERSION_ID'))
{
    $version = explode('.', PHP_VERSION);
    define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));

It's something else, and i can't figure out.

I need to delete the .htacces file and regenerate it?

Link to comment
Share on other sites

Thank you very much for this module.

But i don't understand what i search.

I'm dumb in this developers ini.php settings.

 

between the wall...claiming dumb won't get you extra help. :)  If you are going to be a serious shop business then you are going to need to learn different things...jack of all trades, master of none.

Link to comment
Share on other sites

  • 1 month later...

Never seen where the master value has not displayed..so many hosting types.....the mystery continues

 

It's because the 'display_functions' value is one long string without any line breaks so it stretches the table beyond the screen... you can even see the horizontal scrollbar on the screenshot...

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...