Jump to content
Chughtai

How to enable debugging Mode in Prestasho 1.5.6

Recommended Posts

Hi Bsource

go to config > defines.inc.php change the line:

define('_PS_MODE_DEV_', false);

to true and you're done

Ariom
 

Share this post


Link to post
Share on other sites

Thank you for your prompt help, I changed it but still no error is displaying, 

here is my website: scottishkiltshop.com

Share this post


Link to post
Share on other sites

/* Debug only */
define('_PS_MODE_DEV_', true);  I changed it true from false but no errors 
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);

Share this post


Link to post
Share on other sites

Same problem here, nothing happens when I set it to "true".

 

 

define('_PS_MODE_DEV_', true);
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);

Share this post


Link to post
Share on other sites

I would suspect that if you are truly getting errors but can not see them with ps errors turned on there is some configuration in your  hosting that is keeping the errors from displaying.

 

 

here is a free back office module that will display your php run-time enviornment, after installing click configure and under tab INFO_CONFIGUATION search for 'error' and inspect the settings of your hosting environment.

 

http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

also make sure to find out where your errors are logged (if they are or are not)...so you can monitor the error log from you hosting account.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More