Error Message: Duplicate entry '0' for key 'PRIMARY' 【FIX Success 100%】

You are using CMS Joomla  (Joomla 2.5x, Joomla 3.10.x, Joomla 4.x)  Error Message Duplicate entry '0' for key 'PRIMARY' when saving new content of the article, how to fix the error below ensures 100% success.

Reason: Column VDT of Table _content NOT is AUTO_INCREMENT 

duplicate entry 0 for key primary 1

Solution: You access Hosting and then go to PhpMyadmin find the Table _content Select the attribute AUTO_INCREMENT for the VDT column save and done

Step 1: After clicking on the table _content you click Structure

duplicate entry 0 for key primary step1

duplicate entry 0 for key primary step2

Step 2: Here you will see the item Extra of column Id has no attribute  AUTO_INCREMENT. You click Chage

duplicate entry 0 for key primary step3

Step 3: Then click the A_I (AUTO_INCREMENT) then press the Save button

duplicate entry 0 for key primary final

 

 

 

 

Đánh Giá - Review

Đánh Giá Bài Viết: 100% - 8 votes
100%

Ngày đăng: Thứ ba, 31 Tháng 1 2023