Skip to content

Commit

Permalink
Fixed issue: PCLZip error on last step of ComfortUpdate when trying t…
Browse files Browse the repository at this point in the history
…o update from version 3 to latest version
  • Loading branch information
c-schmitz committed Mar 30, 2023
1 parent b9d27a5 commit b267380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/config/updater_version.php
Expand Up @@ -15,7 +15,7 @@

// THIS FILE SHOULD NOT BE CHANGED MANUALLY !

$config['updaterversion'] = 19;
$config['updaterversion'] = 20;
$config['comfort_update_server_url'] = 'comfortupdate.limesurvey.org/';
$config['comfort_update_server_ssl'] = 1;
$config['allow_non_public_release'] = 0; // Used internally for debugging
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/admin/Update.php
Expand Up @@ -391,7 +391,7 @@ public function step4()
// this is the last step - Download the zip file, unpack it and replace files accordingly

$updateModel = new UpdateForm();

Yii::app()->loadLibrary("admin/pclzip"); //Preload PCLZip library in case it is moved to a different location in the update
$remove = $updateModel->removeDeletedFiles((array)$changedFiles);
if (!$remove->result) {
return $this->renderErrorString($remove->error, $remove->message);
Expand Down

0 comments on commit b267380

Please sign in to comment.