PDA

View Full Version : cant edit sytles - mysql error: Duplicate entry


technicali taze
09-04-2004, 05:48 AM
Whenever i try to edit any style changes in Edit Styles, i return this type of error. this particular one occured when changing page background color. can someone help me fix this? is there something wrong with my db.

Database error in vBulletin 3.0.3:

Invalid SQL:
INSERT INTO template
(styleid, templatetype, title, dateline, username, template)
VALUES
(1, 'css', '.page', 1094278365, 'BSMITH', 'a:7:{s:10:\"background\";s:7:\"#E1E1E2\";s:5:\"color\";s:7:\"#000000\";s:4:\"fo nt\";a:3:{s:5:\"style\";s:0:\"\";s:4:\"size\";s:0:\"\";s:6:\"family\";s:0:\"\";} s:5:\"EXTRA\";s:0:\"\";s:6:\"LINK_N\";a:3:{s:10:\"background\";s:0:\"\";s:5:\"co lor\";s:0:\"\";s:15:\"text-decoration\";s:0:\"\";}s:6:\"LINK_V\";a:3:{s:10:\"background\";s:0:\"\";s:5:\"co lor\";s:0:\"\";s:15:\"text-decoration\";s:0:\"\";}s:6:\"LINK_M\";a:3:{s:10:\"background\";s:0:\"\";s:5:\"co lor\";s:0:\"\";s:15:\"text-decoration\";s:0:\"\";}}')

mysql error: Duplicate entry '.page-1' for key 2

mysql error number: 1062