Byte My Data

A personal collection of advice and solutions I've used.

About the author

Something about the author

JTableMenu::store failed - Duplicate entry '0' for key 1 SQL=INSERT INTO `jos_menu` (

If you get this it means the auto-increment isn't set for the id primary key in the table.

All you have to do is change the column to auto-increment through MySQL Administrator or phpMyAdmin and that will solve it.

In phpMyAdmin, edit the id column and set the "Extra" attribute to auto_increment.


Categories: Joomla | MySQL
Permalink | Comments (0) | Post RSSRSS comment feed

Comments

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading