Welcome, Guest
Username: Password: Remember me

TOPIC: Database error copying a survey

Database error copying a survey 3 years 11 months ago #55110

  • tacman1123
  • tacman1123's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 125
  • 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
$query
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.

Tac
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.094 seconds
Donation Image