[SOLVED][Drupal CCK] Duplicate entry '690-0' for key 1 query: INSERT INTO content_field_photo... /sites/all/modules/cck/content.module on line 1213.

January 31, 2013 - 09:23

A large number of Drupal users were encountering a Duplicate entry '690-0' for key 1 query: INSERT INTO content_field_photo... /sites/all/modules/cck/content.module on line 1213. If you are facing the same error message or a similar message related to the Content module in your Drupal installation and looking to know how to fix the error message then read on to know the solution.

Most sources who fixed the issue reported that this scenario was caused by a race condition between the Content module and another module. A number of Drupal users found success by

  • Changing the weight of the the content module to -1 and the Trigger module to 1.
  • Change the weight of the content module to -1 and the Filefield module to 1 fixed the issue for certain number of users.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.

Get Drupal updates straight to your inbox

To prevent automated spam submissions leave this field empty.

Post your comments / questions