View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09310 | Bug reports | Other | public | 2014-10-17 22:21 | 2014-10-20 13:11 |
Reporter | mfaber | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Summary | 09310: PHP warning on DB upgrade:: Undefined variable: oLang | ||||
Description | Upgraded to the latest 2.06 git version. PHP notice Undefined variable: oLang E:\survey\htdocs\github\LimeSurvey\application\helpers\update\updatedb_helper.php(27) 15 // There will be a file for each database (accordingly named to the dbADO scheme) | ||||
Additional Information | PHP notice Undefined variable: oLang E:\survey\htdocs\github\LimeSurvey\application\helpers\update\updatedb_helper.php(27) 15 // There will be a file for each database (accordingly named to the dbADO scheme) Stack Trace 27 if(isset($subaction) && $subaction=="yes") #1 594 function db($continue = null) #2 094 $oMethod = new ReflectionMethod($this, $sDefault); #5 Loading "log" application component 22:17:23.330522 trace system.CModule Loading "request" application component 22:17:23.346122 trace system.CModule Loading "assetManager" application component 22:17:23.361721 trace system.db.ar.CActiveRecord Plugin.findAllByAttributes() 22:17:23.361721 trace system.CModule Loading "db" application component 22:17:23.361721 trace system.db.CDbConnection Opening DB connection 22:17:24.406923 trace system.CModule Loading "cache" application component 22:17:24.422523 trace system.db.CDbCommand Querying SQL: SHOW FULL COLUMNS FROM 22:17:24.422523 trace system.db.CDbCommand Querying SQL: SHOW CREATE TABLE 22:17:24.422523 trace system.db.CDbCommand Querying SQL: SELECT * FROM 22:17:24.438123 trace system.CModule Loading "urlManager" application component 22:17:24.453723 trace system.CModule Loading "session" application component 22:17:24.469324 trace system.db.CDbCommand Querying SQL: SHOW FULL COLUMNS FROM 22:17:24.469324 trace system.db.CDbCommand Querying SQL: SHOW CREATE TABLE 22:17:24.469324 trace system.db.ar.CActiveRecord SettingGlobal.findAll() 22:17:24.469324 trace system.db.CDbCommand Querying SQL: SELECT * FROM 22:17:24.531723 trace system.CModule Loading "bootstrap" application component 22:17:24.531723 trace system.CModule Loading "clientScript" application component 22:17:24.531723 trace system.CModule Loading "messages" application component 22:17:24.531723 trace system.CModule Loading "user" application component 22:17:24.531723 trace system.db.CDbCommand Querying SQL: SHOW FULL COLUMNS FROM 22:17:24.531723 trace system.db.CDbCommand Querying SQL: SHOW CREATE TABLE 22:17:24.547323 trace system.CModule Loading "widgetFactory" application component 22:17:24.547323 error php Undefined variable: oLang 22:17:24.547323 trace system.CModule Loading "errorHandler" application component | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 141017 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF | ||||
Database type & version | MySQL 5.0.10 | ||||
Server OS (if known) | Win7 | ||||
Webserver software & version (if known) | Apache 2.4.7 | ||||
PHP Version | PhP 5.4.19 | ||||
Sorry to reopen this but I cannot see that this has been fixed. Besides cLang there's also oLang in the updatedb_helper.php. Maybe this needs to be removed as well? |
|
Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14581 |
|
k, thank you. |
|
LimeSurvey: 2.06 8436716d 2014-10-20 13:10 Details Diff |
Fixed issue 09310: PHP warning on DB upgrade:: Undefined variable: oLang |
Affected Issues 09310 |
|
mod - application/config/internal.php | Diff File | ||
mod - application/controllers/admin/useraction.php | Diff File | ||
mod - application/helpers/update/updatedb_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-17 22:21 | mfaber | New Issue | |
2014-10-17 22:21 | mfaber | Status | new => assigned |
2014-10-17 22:21 | mfaber | Assigned To | => c_schmitz |
2014-10-17 22:21 | mfaber | Issue generated from: 09302 | |
2014-10-17 22:25 | mfaber | Issue cloned: 09311 | |
2014-10-17 22:25 | mfaber | LimeSurvey build number OR git commit ID | 141014 => 141017 |
2014-10-17 22:25 | mfaber | Additional Information Updated | |
2014-10-19 11:56 | c_schmitz | Status | assigned => closed |
2014-10-19 11:56 | c_schmitz | Resolution | open => fixed |
2014-10-19 20:14 | mfaber | Note Added: 30820 | |
2014-10-19 20:14 | mfaber | Status | closed => feedback |
2014-10-19 20:14 | mfaber | Resolution | fixed => reopened |
2014-10-20 13:11 | c_schmitz | Changeset attached | => LimeSurvey 2.06 8436716d |
2014-10-20 13:11 | c_schmitz | Note Added: 30821 | |
2014-10-20 13:11 | c_schmitz | Note Added: 30822 | |
2014-10-20 13:11 | c_schmitz | Status | feedback => closed |
2014-10-20 13:11 | c_schmitz | Resolution | reopened => fixed |