View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
13752Bug reportsUser / Groups / Rolespublic2019-05-10 15:45
ReporterJohn_K Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.9.x 
Summary13752: LS390 Error- Create new user function Throws a 'Failed to Add User' error
Description

Installed LS390. When admin tries to create a new user, LS Throws a 'Failed to Add User' error msg. LS obviously does not send the PW email after this error.

However, LS somehow manages to create the user, as evidenced by navigating back to Configuration -> Manage survey administrators.- I see the new user listed there.
Plus I see that the Users are inserted in [LIMESURVEY390].[dbo].[lime_users] table & LS displays it in the app.

Steps To Reproduce

1)Login to LS390 as Admin
2)Under Add User, Add a new survey user & Save.
Then I get this 'Failed to Add User' error screen!

Additional Information

My limesurvey\application\config\config.php is set to 'debug'=>2.
My Environment is Windows 2012-Apache/PHP-SQL Server 2014(all 64Bit).

TagsNo tags attached.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)Version 3.9.0+180604
I will donate to the project if issue is resolvedNo
BrowserChrome, Edge, IE11
Database type & versionMS SQL Server 2014 SP1(64bit)
Server OS (if known)Windows Server 2012 r2(64bit)
Webserver software & version (if known)Apache 2.4.33(64bit)
PHP VersionPHP 7.2.5(64bit)

Users monitoring this issue

efingdmi

Activities

John_K

John_K

2018-06-19 20:31

reporter   ~48234

Hi LS Bug Team,
Wanted to check back in to see if this issue was looked into?
Thanks
JK

John_K

John_K

2018-06-19 22:26

reporter   ~48235

Hi LS Bug Team,
I've just right now upgraded to LimeSurvey Version 3.12.1+180616. But I still continue to get the same error.
(It is same situation as desc for LS390 above & as well as for previous 381 & 372.)
Unfortunate the only workaround is for Admin to use the 'Forgot your password?' route to get LS to send a temp mail to user.

efingdmi

efingdmi

2018-06-25 11:53

reporter   ~48289

Same for me:
Windows Server 2012 R2 64Bit
MS SQL Server 2016
Apache Apache 2.4.33 (64bit)
PHP 7.2.6 (64bit)

efingdmi

efingdmi

2018-06-25 11:55

reporter   ~48291

forgot the LS Version: 3.12.1

c_schmitz

c_schmitz

2018-06-26 19:21

administrator   ~48309

I cannot reproduce this issue.
If you can still reproduce this issue using the latest LimeSurvey version please activate debug mode and attach the debug output if available.
Thank you!

John_K

John_K

2018-06-27 21:18

reporter   ~48350

Hi c_schmitz,
Thanks for ur reply-test. I will try reproduce with the latest sometime this week- but I've been experiencing this same bug/issue from my 1st install of LS372.
Other users are also experiencing this issue.-
https://www.limesurvey.org/forum/installation-a-update-issues/115059-change-password-for-users-other-administrators?start=15#170457
Regards
JK

elissa

elissa

2018-06-27 22:46

reporter   ~48352

My issue is not exactly the same but maybe similar. I can create an user but the e-mail with password is not sent to the user. After upadating to the latest version I can change the password in edit mode. Emails are successfully sent to this user when sending to the group of users that contains the user. Invitation emails are also successfully sent (SMTP).

LS 3.12.3+180627, Linux 2.6.32-48, PHP 7.1.10, Apache/2.2.22 (Debian), mysql

LSuserFail.jpg (39,537 bytes)   
LSuserFail.jpg (39,537 bytes)   
John_K

John_K

2018-06-28 00:49

reporter   ~48353

Hi elissa/LS team.
Yes- I did get this error msg too, on https://demo.limesurvey.org/index.php?r=admin/authentication/sa/login (Version 3.12.1)
while engaging for User 'J98007'.
JK

c_schmitz

c_schmitz

2018-06-28 10:58

administrator   ~48355

E-Mail functions are disabled on the demo.

c_schmitz

c_schmitz

2018-06-28 11:00

administrator   ~48356

The most common reason for this problem is if you didn't configure your email settings correctly.
Remember that a survey uses probably a different setting, than a general function like the user email.

efingdmi

efingdmi

2018-07-13 07:20

reporter   ~48505

Seems to be solved 3.13.2

Issue History

Date Modified Username Field Change
2018-06-09 01:16 John_K New Issue
2018-06-19 20:31 John_K Note Added: 48234
2018-06-19 22:26 John_K File Added: (LS312)FailedCreateNewUserBUT_LS+DBstillShowIt.PNG
2018-06-19 22:26 John_K Note Added: 48235
2018-06-25 11:49 efingdmi Issue Monitored: efingdmi
2018-06-25 11:53 efingdmi Note Added: 48289
2018-06-25 11:55 efingdmi Note Added: 48291
2018-06-26 13:53 LouisGac Assigned To => c_schmitz
2018-06-26 13:53 LouisGac Status new => assigned
2018-06-26 19:21 c_schmitz Status assigned => feedback
2018-06-26 19:21 c_schmitz Note Added: 48309
2018-06-27 21:18 John_K Note Added: 48350
2018-06-27 21:18 John_K Status feedback => assigned
2018-06-27 22:46 elissa File Added: LSuserFail.jpg
2018-06-27 22:46 elissa Note Added: 48352
2018-06-28 00:49 John_K Note Added: 48353
2018-06-28 10:58 c_schmitz Note Added: 48355
2018-06-28 11:00 c_schmitz Note Added: 48356
2018-06-28 11:54 c_schmitz Status assigned => feedback
2018-07-13 07:20 efingdmi Note Added: 48505
2019-05-10 15:45 c_schmitz Status feedback => closed
2019-05-10 15:45 c_schmitz Resolution open => fixed
2019-11-01 17:26 c_schmitz Category User/User groups => User / Groups / Roles
2021-08-02 17:20 guest Bug heat 8 => 10