View Issue Details

IDProjectCategoryView StatusLast Update
13634Bug reports[All Projects] User/User groupspublic2018-05-25 11:30
ReporterBZHNedrAssigned ToDenisChenu 
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Product Version3.7.x 
Target VersionFixed in Version3.7.x 
Summary13634: Internal Server Error CDbCommand failed to execute the SQL command: SQLSTATE [42000]: Syntax error or access violation: 1064
Description

Hello,
I just passed a LimeSurvey 2.0.5 in 3.7.0, I created the account of the manager, with which he created 3 accounts with only the rights on "Questionnaires" and when he wants to "Edit" one of these three user, he has the following message, in return:

Internal Server Error
CDbCommand failed to execute the SQL command: SQLSTATE [42000]: Syntax error or access violation: 1064 check the manual that fits your MariaDB server version for the right syntax to use near ')' at line 1
An internal error occurred when the web server was processing your request. Please contact the webmaster to report this problem.
Thank you.

Thinking that he did something wrong, I created a test account, through which I created the same user rights and got the same error message.

Steps To Reproduce
  • In admin, create a user with the rights of the screenshot number 3.
  • Creation of a user who can only post, with the account previously created, having the rights of the screenshot number 4.
  • Connect with the 1st account.
  • Open "Managed questionnaire administrators"
  • Click on the icon "Edit this user" of the second created account, see screenshot number 1.
  • We get the error message, screenshot number 2.
Additional Information

I can very well edit all users with my admin accounts

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.7.0+180418
I will donate to the project if issue is resolvedNo
BrowserFireFox 52.4.1 (32bits)
Database & DB-VersionMariaDB
Server OS (if known)DEBIAN 8
Webserver software & version (if known)Apache 2.4
PHP Version5.6

Activities

BZHNedr

BZHNedr

2018-04-25 11:09

reporter  

LimeSurvey 3.7 bug 1.jpg (142,614 bytes)
LimeSurvey 3.7 bug 2.jpg (116,311 bytes)
LimeSurvey 3.7 bug 3.jpg (303,582 bytes)
LimeSurvey 3.7 bug 4.jpg (296,555 bytes)
DenisChenu

DenisChenu

2018-04-25 14:45

developer   ~47519

Ok,

Sorry to didn't put this in formum can you activate debug mode : http://manual.limesurvey.org/Debug_Mode just before “Click on the icon "Edit this user"”

And then you can directly upload the HTML file produced. We have the file where this error happen and the line :)

guest

guest

2018-04-26 08:50

viewer   ~47537

Hello,
Here is the debug file.
Thank you.



CDbException.htm (22,644 bytes)
DenisChenu

DenisChenu

2018-04-26 17:47

developer   ~47546

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=27076

DenisChenu

DenisChenu

2018-04-26 17:47

developer   ~47547

Thanks for this excellent bug report

BZHNedr

BZHNedr

2018-04-27 09:04

reporter   ~47548

Thank you, for the quick resolution.

c_schmitz

c_schmitz

2018-05-25 11:30

administrator   ~47838

Version 3.8.1+180524 released

Related Changesets

LimeSurvey: master a2fcabb3

2018-04-26 17:46:49

DenisChenu

Details Diff
Fixed issue 13634: Internal Server Error on CDbCommand when edit user
Dev: just remove this uneeded )
Affected Issues
13634
mod - application/controllers/admin/useraction.php Diff File

Issue History

Date Modified Username Field Change
2018-04-25 11:09 BZHNedr New Issue
2018-04-25 11:09 BZHNedr File Added: LimeSurvey 3.7 bug 1.jpg
2018-04-25 11:09 BZHNedr File Added: LimeSurvey 3.7 bug 2.jpg
2018-04-25 11:09 BZHNedr File Added: LimeSurvey 3.7 bug 3.jpg
2018-04-25 11:09 BZHNedr File Added: LimeSurvey 3.7 bug 4.jpg
2018-04-25 14:45 DenisChenu Note Added: 47519
2018-04-26 08:50 guest File Added: CDbException.htm
2018-04-26 08:50 guest Note Added: 47537
2018-04-26 09:42 DenisChenu Assigned To => DenisChenu
2018-04-26 09:42 DenisChenu Status new => assigned
2018-04-26 17:47 DenisChenu Changeset attached => LimeSurvey master a2fcabb3
2018-04-26 17:47 DenisChenu Note Added: 47546
2018-04-26 17:47 DenisChenu Resolution open => fixed
2018-04-26 17:47 DenisChenu Status assigned => resolved
2018-04-26 17:47 DenisChenu Fixed in Version => 3.7.x
2018-04-26 17:47 DenisChenu Note Added: 47547
2018-04-27 09:04 BZHNedr Note Added: 47548
2018-05-25 11:30 c_schmitz Note Added: 47838
2018-05-25 11:30 c_schmitz Status resolved => closed