Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SQL Error: Want to view user statistics

More
8 years 7 months ago #133017 by Yka
Hey everybody,

I've set up a survey without any problems. I did not use any conditions or something like that.
I've activated the new survey, clicked through it and after that opened the link "Show results of this survey".
Then I got this SQL error:

CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column '524461X64X2219A1_A1' in 'where clause'

The error message seems logical to me. It could not find the column. But I don't know why?
I did not change anything, just created this freshly new survey. And I got this error after fist try.

BTW: It does not matter if I test this in Version 2.05+ or 2.50+. Same problem.

Server runs on PHP Version 5.6.19 using phpMyAdmin and MySQL.

Thank you.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #133021 by tpartner
Replied by tpartner on topic SQL Error: Want to view user statistics
Try finding the question with ID 2219 and remove/rebuild it.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 7 months ago #133022 by Yka
Replied by Yka on topic SQL Error: Want to view user statistics
Thank you very much for your answer.
The question is, why is the database created wrong everytime I activate the survey?
I changed the default question codes but the system does not recognize at all for creating the result database. Is that possible?
The topic has been locked.
More
8 years 6 months ago #134707 by codingnerd
Replied by codingnerd on topic SQL Error: Want to view user statistics
Hello
I am having the same problem. I get this sql error only with a multiple choice question.
How can I fix this problem?
Thank you!
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose