View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14745 | Bug reports | Survey taking | public | 2019-04-05 10:13 | 2019-05-10 15:36 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.0.0dev | ||||
Fixed in Version | 4.0.0dev | ||||
Summary | 14745: 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 | ||||
Additional Information | Strange : error manager is not Yii or theme ? | ||||
Tags | No tags attached. | ||||
Attached Files | index.php.html (3,046 bytes)
<!DOCTYPE html> <html dir="ltr" class="fr dir-ltr js " lang="fr"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body><h1>PHP Error [500]</h1> <p>Use of undefined constant SODIUM_LIBRARY_VERSION - assumed 'SODIUM_LIBRARY_VERSION' (this will throw an Error in a future version of PHP) (/mnt/data/shnoulle/nginx/www/develop/third_party/sodium/Sodium.php:33)</p> <pre>#0 /mnt/data/shnoulle/nginx/www/develop/framework/base/CApplication.php(834): CErrorHandler->handle() #1 /mnt/data/shnoulle/nginx/www/develop/third_party/sodium/Sodium.php(33): LSYii_Application->handleError() #2 /mnt/data/shnoulle/nginx/www/develop/third_party/sodium/Sodium.php(12): Sodium->checkIfLibraryExists() #3 /mnt/data/shnoulle/nginx/www/develop/framework/base/CModule.php(394): Sodium->init() #4 /mnt/data/shnoulle/nginx/www/develop/framework/base/CModule.php(103): LSYii_Application->getComponent() #5 /mnt/data/shnoulle/nginx/www/develop/application/models/LSActiveRecord.php(305): LSYii_Application->__get() #6 /mnt/data/shnoulle/nginx/www/develop/application/models/LSActiveRecord.php(293): SurveyDynamic->decryptEncryptAttributes() #7 /mnt/data/shnoulle/nginx/www/develop/application/models/SurveyDynamic.php(121): SurveyDynamic->encryptSave() #8 /mnt/data/shnoulle/nginx/www/develop/application/helpers/expressions/em_manager_helper.php(5508): SurveyDynamic->insertRecords() #9 /mnt/data/shnoulle/nginx/www/develop/application/helpers/expressions/em_manager_helper.php(5335): LimeExpressionManager->_UpdateValuesInDatabase() #10 /mnt/data/shnoulle/nginx/www/develop/application/helpers/SurveyRuntimeHelper.php(948): NavigateForwards() #11 /mnt/data/shnoulle/nginx/www/develop/application/helpers/SurveyRuntimeHelper.php(647): SurveyRuntimeHelper->setMoveResult() #12 /mnt/data/shnoulle/nginx/www/develop/application/helpers/SurveyRuntimeHelper.php(204): SurveyRuntimeHelper->initMove() #13 /mnt/data/shnoulle/nginx/www/develop/application/controllers/survey/index.php(604): SurveyRuntimeHelper->run() #14 /mnt/data/shnoulle/nginx/www/develop/application/controllers/survey/index.php(24): index->action() #15 /mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(76): index->run() #16 /mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): index->runWithParams() #17 /mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(286): SurveyController->runAction() #18 /mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(265): SurveyController->runActionWithFilters() #19 /mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(282): SurveyController->run() #20 /mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): LSYii_Application->runController() #21 /mnt/data/shnoulle/nginx/www/develop/framework/base/CApplication.php(185): LSYii_Application->processRequest() #22 /mnt/data/shnoulle/nginx/www/develop/index.php(194): LSYii_Application->run() </pre></body></html> | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 4.0.0 github | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF | ||||
Database type & version | mariadb | ||||
Server OS (if known) | fedora/linux | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | 7.2.16 | ||||
https://github.com/paragonie/sodium_compat#php-72-polyfill 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. |
|
Seems sodium is in my 7.2 ? |
|
Fixed by
But :
|
|
With latest changes for data encryption feature, all issues, including this one, are fixed. |
|
4.0beta1 released |
|
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 | |
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 |
|
Status | assigned => resolved |
2019-04-18 10:51 |
|
Resolution | open => fixed |
2019-04-18 10:51 |
|
Fixed in Version | => 4.0.0dev |
2019-04-18 10:51 |
|
Note Added: 51510 | |
2019-05-10 15:36 | c_schmitz | Note Added: 51883 | |
2019-05-10 15:36 | c_schmitz | Status | resolved => closed |