View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
19921Bug reportsAuthenticationpublic2025-01-08 17:43
Reporterandreafesta Assigned Toc_schmitz  
PrioritynoneSeverityblock 
Status resolvedResolutionfixed 
Product Version6.6.x 
Summary19921: Unable to change password or access to personal page
Description

Hi, with last two versions we have problem to change password (for new users) or access to personal page.
We have a 500 Internal server error

Steps To Reproduce

1) login
2) go to username at the top right
3) select account
----> 500 INTERNAL SERVER ERROR

TagsNo tags attached.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)6.10.0+250106
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & version10.5.26-MariaDB-0+deb11u2
Server OS (if known)
Webserver software & version (if known)
PHP Version 8.1.30

Users monitoring this issue

andreafesta

Activities

DenisChenu

DenisChenu

2025-01-07 15:35

developer   ~81755

Can not reproduce on 6.10.0 / PHP Version 8.3.14

Can you enable debug = 2 in application/config/config.php and try again, please? Paste the complete error message here.

tibor.pacalat

tibor.pacalat

2025-01-07 15:37

administrator   ~81757

Same here @DenisChenu.

andreafesta

andreafesta

2025-01-08 12:02

reporter   ~81762

ArgumentCountError
3 arguments are required, 2 given

/srv/www/survey/application/models/User.php(482)

470 }
471 if ((int) $settings['min'] > 0 && (int) $settings['max'] > 0) {
472 if ($settings['min'] == $settings['max']) {
473 $txt .= sprintf(ngT('Exactly %d character long.|Exactly %d characters long.', $settings['min']), $settings['min']) . ' ';
474 } elseif ($settings['min'] < $settings['max']) {
475 $txt .= sprintf(gT('Between %d and %d characters long.'), $settings['min'], $settings['max']) . ' ';
476 }
477 }
478 if ((int) $settings['lower'] > 0) {
479 $txt .= sprintf(ngT('At least %d lower case letter.|At least %d lower case letters.', $settings['lower']), $settings['lower']) . ' ';
480 }
481 if ((int) $settings['upper'] > 0) {
482 $txt .= sprintf(ngT('At least %d upper case letter.|At least %d upper case letters.', $settings['upper']), $settings['upper']) . ' ';
483 }
484 if ((int) $settings['numeric'] > 0) {
485 $txt .= sprintf(ngT('At least %d number.|At least %d numbers.', $settings['numeric']), $settings['numeric']) . ' ';
486 }
487 if ((int) $settings['symbol'] > 0) {
488 $txt .= sprintf(ngT('At least %d special character.|At least %d special characters.', $settings['symbol']), $settings['symbol']) . ' ';
489 }
490 return($txt);
491 }
492
493 /*
494
Adds user record
Stack Trace
#0
– /srv/www/survey/application/models/User.php(482): sprintf()
477 }
478 if ((int) $settings['lower'] > 0) {
479 $txt .= sprintf(ngT('At least %d lower case letter.|At least %d lower case letters.', $settings['lower']), $settings['lower']) . ' ';
480 }
481 if ((int) $settings['upper'] > 0) {
482 $txt .= sprintf(ngT('At least %d upper case letter.|At least %d upper case letters.', $settings['upper']), $settings['upper']) . ' ';
483 }
484 if ((int) $settings['numeric'] > 0) {
485 $txt .= sprintf(ngT('At least %d number.|At least %d numbers.', $settings['numeric']), $settings['numeric']) . ' ';
486 }
487 if ((int) $settings['symbol'] > 0) {
#1
– /srv/www/survey/application/controllers/admin/UserAction.php(159): User->getPasswordHelpText()
154 $aData['aLanguageData'] = $aLanguageData;
155 $aData['sSavedLanguage'] = $oUser->lang;
156 $aData['sUsername'] = $oUser->users_name;
157 $aData['sFullname'] = $oUser->full_name;
158 $aData['sEmailAdress'] = $oUser->email;
159 $aData['passwordHelpText'] = $oUser->getPasswordHelpText();
160
161 $aData['topbar']['title'] = gT('Account');
162 $aData['topbar']['rightButtons'] = Yii::app()->getController()->renderPartial(
163 '/layouts/partial_topbar/right_close_saveclose_save',
164 [
#2
unknown(0): UserAction->personalsettings()
#3

  • /srv/www/survey/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs()
    #4
    – /srv/www/survey/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal()
    78 $oMethod = new ReflectionMethod($this, $sDefault);
    79 }
    80
    81 // We're all good to go, let's execute it
    82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
    83 return parent::runWithParamsInternal($this, $oMethod, $params);
    84 }
    85
    86 /*
    87
    Some functions have different parameters, which are just an alias of the
    88 * usual parameters we're getting in the url. This function just populates
    #5
  • /srv/www/survey/vendor/yiisoft/yii/framework/web/CController.php(308): SurveyCommonAction->runWithParams()
    #6
  • /srv/www/survey/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction()
    #7
  • /srv/www/survey/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters()
    #8
  • /srv/www/survey/application/controllers/AdminController.php(204): CController->run()
    #9
  • /srv/www/survey/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): AdminController->run()
    #10
  • /srv/www/survey/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()
    #11
  • /srv/www/survey/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
    #12
  • /srv/www/survey/index.php(161): CApplication->run()
    2025-01-08 12:00:43 Apache Yii Framework/1.1.30
andreafesta

andreafesta

2025-01-08 12:06

reporter   ~81763

Thank you

c_schmitz

c_schmitz

2025-01-08 17:30

administrator   ~81786

andreafesta, which translation are you using?

I think you might not have replaced all files in your installation with new ones. I mean specifically the files in the /locale folder.

c_schmitz

c_schmitz

2025-01-08 17:34

administrator   ~81787

Last edited: 2025-01-08 17:43

Never mind. It was a faulty translation in Italian. I corrected it on translate.limesurvey.org. It will be in the next release.

Issue History

Date Modified Username Field Change
2025-01-07 14:51 andreafesta New Issue
2025-01-07 14:51 andreafesta File Added: Screenshot 2025-01-07 144205.png
2025-01-07 15:35 DenisChenu Note Added: 81755
2025-01-07 15:35 DenisChenu Bug heat 0 => 2
2025-01-07 15:36 c_schmitz Bug heat 2 => 4
2025-01-07 15:36 c_schmitz Bug heat 4 => 2
2025-01-07 15:37 tibor.pacalat Note Added: 81757
2025-01-07 15:37 tibor.pacalat Bug heat 2 => 4
2025-01-08 12:02 andreafesta Note Added: 81762
2025-01-08 12:02 andreafesta Bug heat 4 => 6
2025-01-08 12:06 andreafesta Note Added: 81763
2025-01-08 14:39 andreafesta Issue Monitored: andreafesta
2025-01-08 14:39 andreafesta Bug heat 6 => 8
2025-01-08 17:30 c_schmitz Note Added: 81786
2025-01-08 17:30 c_schmitz Bug heat 8 => 10
2025-01-08 17:34 c_schmitz Note Added: 81787
2025-01-08 17:34 c_schmitz Assigned To => c_schmitz
2025-01-08 17:34 c_schmitz Status new => resolved
2025-01-08 17:34 c_schmitz Resolution open => fixed
2025-01-08 17:43 c_schmitz Note Edited: 81787