View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07697Bug reportsInstallationpublic2026-11-20 17:46
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary07697: At installation : no way to see error
Description

If there are some error at start of installation : there are no way to see error without changing core function.

Steps To Reproduce

Difficult to see what error can be made but see "Additional Information"

Additional Information

When 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.
Bug heat6
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

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

DenisChenu

DenisChenu

2026-11-20 07:56

developer   ~87784

@c_schmitz it's not already fixed here ?

Maybe set debug to null can fix it ?
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

https://github.com/LimeSurvey/LimeSurvey/blob/9fcd25033bd657c7c0a03673d74973b08c9dbfff/setdebug.php#L46

c_schmitz

c_schmitz

2026-11-20 17:46

administrator   ~87853

Yes, this is fixed. Errors during installation now show their message. Tested on current master without a config file.

Issue History

Date Modified Username Field Change
2013-03-22 09:57 DenisChenu New Issue
2013-03-22 09:58 DenisChenu Additional Information Updated
2013-03-26 10:02 sammousa Note Added: 24866
2013-03-26 10:54 DenisChenu Note Added: 24868
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 07:56 DenisChenu Note Added: 87784
2026-11-20 17:46 c_schmitz Note Added: 87853
2026-11-20 17:46 c_schmitz Bug heat 4 => 6
2026-11-20 17:46 c_schmitz Status acknowledged => closed
2026-11-20 17:46 c_schmitz Resolution open => fixed
2026-11-20 17:46 c_schmitz Product Version 2.00 =>