View Issue Details

IDProjectCategoryView StatusLast Update
14745Bug reports[All Projects] Survey takingpublic2019-05-10 15:36
ReporterDenisChenuAssigned Todominikvitt 
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version4.0.0dev 
Target VersionFixed in Version4.0.0dev 
Summary14745: Use of undefined constant SODIUM_LIBRARY_VERSION
Description

PHP7.2 : receive this at second page of lss and debug = 2

Steps To Reproduce

Import included survey
Set debug at 2
Launch, next

Additional Information

Strange : error manager is not Yii or theme ?

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.0.0 github
I will donate to the project if issue is resolvedNo
BrowserFF
Database & DB-Versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP Version7.2.16

Activities

DenisChenu

DenisChenu

2019-04-05 10:13

developer  

limesurvey_survey_221856.lss (28,471 bytes)
index.php.html (3,046 bytes)
DenisChenu

DenisChenu

2019-04-05 10:26

developer   ~51370

https://github.com/paragonie/sodium_compat#php-72-polyfill
https://github.com/LimeSurvey/LimeSurvey/commit/bc1a1a290a9f8bc9dca43d82a191eceb8a538769

It's not the libray, it's the way of inclusion. Else : strange to see own inclusion in third_party : think it's best in application/core ?

I check updating to https://github.com/paragonie/sodium_compat/releases/tag/v1.9.1 : not fix the issue.

DenisChenu

DenisChenu

2019-04-05 10:31

developer   ~51371

Seems sodium is in my 7.2 ?
https://wiki.php.net/doc/todo/migrationguide



DenisChenu

DenisChenu

2019-04-05 10:37

developer   ~51372

Fixed by

    public function checkIfLibraryExists(){
        if(defined('SODIUM_LIBRARY_VERSION')) {
        $this->bLibraryExists = true;
        }
    }

But :

  1. tab to space must be fixed
  2. I don't think it must be in third-party : not really a third-party ? Right ?
dominikvitt

dominikvitt

2019-04-18 10:51

developer   ~51510

With latest changes for data encryption feature, all issues, including this one, are fixed.

c_schmitz

c_schmitz

2019-05-10 15:36

administrator   ~51883

4.0beta1 released

Issue History

Date Modified Username Field Change
2019-04-05 10:13 DenisChenu New Issue
2019-04-05 10:13 DenisChenu File Added: limesurvey_survey_221856.lss
2019-04-05 10:13 DenisChenu File Added: index.php.html
2019-04-05 10:24 DenisChenu Assigned To => dominikvitt
2019-04-05 10:24 DenisChenu Status new => assigned
2019-04-05 10:26 DenisChenu Note Added: 51370
2019-04-05 10:26 DenisChenu Description Updated View Revisions
2019-04-05 10:31 DenisChenu File Added: Capture d’écran du 2019-04-05 10-29-53.png
2019-04-05 10:31 DenisChenu Note Added: 51371
2019-04-05 10:37 DenisChenu Note Added: 51372
2019-04-18 10:51 dominikvitt Status assigned => resolved
2019-04-18 10:51 dominikvitt Resolution open => fixed
2019-04-18 10:51 dominikvitt Fixed in Version => 4.0.0dev
2019-04-18 10:51 dominikvitt Note Added: 51510
2019-05-10 15:36 c_schmitz Note Added: 51883
2019-05-10 15:36 c_schmitz Status resolved => closed