Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Database error copying a survey

Database error copying a survey 5 years 10 months ago #55110

  • tacman1123
  • tacman1123's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 125
  • Thank you received: 1
  • Karma: 1
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.

The administrator has disabled public write access.
Time to create page: 0.205 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form