Check out the LimeSurvey source code on GitHub!

Database error copying a survey

6 years 1 month ago #55110 by tacman1123
I've imported a few few surveys, launched one, and then decided to copy it to make a few changes. When I went to copy, I got the error message:

Error: Failed to insert data
Duplicate entry '1-en' for key 'PRIMARY'

I assume it's attempting to copy the survey id (sid?), instead of making that Null and letting AUTO_INCREMENT create the new id.


Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form