View Issue Details

IDProjectCategoryView StatusLast Update
07697Development Installationpublic2013-03-26 10:54
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version2.00 
Summary07697: At installation : no way to see error
DescriptionIf there are some error at start of installation : there are no way to see error without changing core function.
Steps To ReproduceDifficult to see what error can be made but see "Additional Information"
Additional InformationWhen make a new installation: ['config']['debug'] is not set then:
        define('YII_DEBUG', false);
        error_reporting(0);

Maybe is best to to this:
<code>

    if(!isset($aSettings['config']['debug']))
    {
        define('YII_DEBUG', true);
        //error_reporting(E_ALL); Don't force error_reporting : leave this to host admin
    }
    elseif ($aSettings['config']['debug']>0)
    {
        define('YII_DEBUG', true);
        error_reporting(E_ALL);
    }
    else
    {
        define('YII_DEBUG', false);
        error_reporting(0);
    }

</code>
TagsNo tags attached.

Activities

sammousa

sammousa

2013-03-26 10:02

reporter   ~24866

C_schmitz, we could just enable debugging whenever no configuration file exists; that way we basically force debugging to be turned on during installation.
DenisChenu

DenisChenu

2013-03-26 10:54

developer   ~24868

Think error_reporting don't have be to set, but leave at default server setting.

No ?

But here : thgink it take debug from config_sample ?

Denis

Issue History

Date Modified Username Field Change
2013-03-22 09:57 DenisChenu New Issue
2013-03-22 09:58 DenisChenu Additional Information Updated View Revisions
2013-03-26 10:02 sammousa Note Added: 24866
2013-03-26 10:54 DenisChenu Note Added: 24868