View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18419Bug reportsComfortUpdatepublic2022-11-15 11:38
ReporterEinkauf.ZIT Assigned Toollehar  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version5.4.x 
Summary18419: "Weder Update noch zugeh\u00f6rige Behavior haben einen Scope"
Description

Hello!

Comfortupdate doesn't work, I get this error message:

Sie haben einen Fehler in Ihrer lokalen Installation von LimeSurvey. Siehe:
{"success":false,"message":"Weder Update noch zugeh\u00f6rige Behavior haben einen Scope \"_renderErrorString\".","error":{"code":500,"type":"CException","errorCode":0,"message":"Weder Update noch zugeh\u00f6rige Behavior haben einen Scope \"_renderErrorString\".","file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\base\CComponent.php","line":266,"trace":"#0 E:\WWW\UMFRAGE\application\controllers\admin\Update.php(397): CComponent->call('_renderErrorStr...', Array)\n#1 [internal function]: Update->step4()\n#2 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\actions\CAction.php(115): ReflectionMethod->invokeArgs(Object(Update), Array)\n#3 E:\WWW\UMFRAGE\application\core\SurveyCommonAction.php(83): CAction->runWithParamsInternal(Object(Update), Object(ReflectionMethod), Array)\n#4 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php(308): SurveyCommonAction->runWithParams(Array)\n#5 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php(286): CController->runAction(Object(Update))\n#6 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(Update), Array)\n#7 E:\WWW\UMFRAGE\application\controllers\AdminController.php(202): CController->run('update')\n#8 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CWebApplication.php(282): AdminController->run('update')\n#9 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CWebApplication.php(141): CWebApplication->runController('admin\/update\/sa...')\n#10 E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\base\CApplication.php(185): CWebApplication->processRequest()\n#11 E:\WWW\UMFRAGE\index.php(192): CApplication->run()\n#12 {main}","traces":[{"file":"E:\WWW\UMFRAGE\application\controllers\admin\Update.php","line":397,"function":"call","class":"CComponent","type":"->","args":["_renderErrorString",["cant_remove_deleted_files"]]},{"function":"step4","class":"Update","type":"->","args":[],"file":"unknown","line":0},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\actions\CAction.php","line":115,"function":"invokeArgs","class":"ReflectionMethod","type":"->","args":[{},[]]},{"file":"E:\WWW\UMFRAGE\application\core\SurveyCommonAction.php","line":83,"function":"runWithParamsInternal","class":"CAction","type":"->","args":[{},{"name":"step4","class":"Update"},{"r":"admin\/update\/sa\/step4","sa":"step4"}]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php","line":308,"function":"runWithParams","class":"SurveyCommonAction","type":"->","args":[{"r":"admin\/update\/sa\/step4","sa":"step4"}]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php","line":286,"function":"runAction","class":"CController","type":"->","args":[{}]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CController.php","line":265,"function":"runActionWithFilters","class":"CController","type":"->","args":[{},[]]},{"file":"E:\WWW\UMFRAGE\application\controllers\AdminController.php","line":202,"function":"run","class":"CController","type":"->","args":["update"]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CWebApplication.php","line":282,"function":"run","class":"AdminController","type":"->","args":["update"]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\web\CWebApplication.php","line":141,"function":"runController","class":"CWebApplication","type":"->","args":["admin\/update\/sa\/step4"]},{"file":"E:\WWW\UMFRAGE\third_party\yiisoft\yii\framework\base\CApplication.php","line":185,"function":"processRequest","class":"CWebApplication","type":"->","args":[]},{"file":"E:\WWW\UMFRAGE\index.php","line":192,"function":"run","class":"CApplication","type":"->","args":[]}]}}

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 5.4.3+220926
I will donate to the project if issue is resolvedNo
BrowserEvery browser
Database type & versionMySQL 5.7.12
Server OS (if known)Windows Server 2012 R2 Standard Edition
Webserver software & version (if known)IIS 8.5
PHP Version7.3.20

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

Einkauf.ZIT

Einkauf.ZIT

2022-10-25 11:10

reporter   ~72405

News?

ollehar

ollehar

2022-10-27 14:27

administrator   ~72448

I think you need to replace _renderErrorString with renderErrorString, without the underscore.

ollehar

ollehar

2022-10-27 14:28

administrator   ~72449

The update class should be in application/models/Update.php

Einkauf.ZIT

Einkauf.ZIT

2022-10-31 11:14

reporter   ~72478

Hello!
Cannot find a file named "Update.php" in the folder "application/models".
Kind regards,
Klaus

Einkauf.ZIT

Einkauf.ZIT

2022-11-07 09:09

reporter   ~72579

Any answers?

Einkauf.ZIT

Einkauf.ZIT

2022-11-14 13:31

reporter   ~72717

Still no answers?

ollehar

ollehar

2022-11-14 13:33

administrator   ~72718

Maybe it's called update.php? Lower case.

ollehar

ollehar

2022-11-14 13:34

administrator   ~72719

Sorry, correct file is application/controllers/admin/Update.php

Einkauf.ZIT

Einkauf.ZIT

2022-11-15 09:57

reporter   ~72737

Hey!
Looks fine, but it says now, that Comfort Update cannot delete files.
Kind regards

Einkauf.ZIT

Einkauf.ZIT

2022-11-15 11:36

reporter   ~72739

I've made a manual update now...

ollehar

ollehar

2022-11-15 11:38

administrator   ~72740

Looks fine, but it says now, that Comfort Update cannot delete files.

Probably a permission problem for your web user?

Issue History

Date Modified Username Field Change
2022-10-17 16:53 Einkauf.ZIT New Issue
2022-10-25 11:10 Einkauf.ZIT Note Added: 72405
2022-10-25 11:10 Einkauf.ZIT Bug heat 0 => 2
2022-10-27 14:23 gabrieljenik Assigned To => ollehar
2022-10-27 14:23 gabrieljenik Status new => assigned
2022-10-27 14:27 ollehar Note Added: 72448
2022-10-27 14:27 ollehar Bug heat 2 => 4
2022-10-27 14:28 ollehar Note Added: 72449
2022-10-31 11:14 Einkauf.ZIT Note Added: 72478
2022-11-07 09:09 Einkauf.ZIT Note Added: 72579
2022-11-14 13:31 Einkauf.ZIT Note Added: 72717
2022-11-14 13:33 ollehar Note Added: 72718
2022-11-14 13:34 ollehar Note Added: 72719
2022-11-15 09:57 Einkauf.ZIT Note Added: 72737
2022-11-15 11:36 Einkauf.ZIT Note Added: 72739
2022-11-15 11:38 ollehar Note Added: 72740