Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content`
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content`

Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content` 5 years, 8 months ago #30415

Hello guys?
I am trying to add a new Slideshow Article under the category 'Slideshow' but I am faced with the error
''Save failed with the following error: Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content` (`id`,`title`,`alias`,`introtext`,`fulltext`,`state`,`catid`,`created`,`created_by`,`created_by_alias`,`modified`,`publish_up`,`publish_down`,`images`,`urls`,`attribs`,`version`,`ordering`,`metakey`,`metadesc`,`access`,`metadata`,`featured`,`language`,`xreference`) VALUES ('0','2016 Annual General Meeting Held at Maliki Boys','2016-annual-general-meeting-held-at-maliki-boys','','','1','86','2016-12-06 13:06:13','322','','2016-12-06 13:06:13','2016-12-06 13:06:13','0000-00-00 00:00:00','{\"image_intro\":\"images\\/slideshow\\/maliki-boys-4.jpg\",\"float_intro\":\"\",\"image_intro_alt\":\"\",\"image_intro_caption\":\"\",\"image_fulltext\":\"\",\"float_fulltext\":\"\",\"image_fulltext_alt\":\"\",\"image_fulltext_caption\":\"\"}','{\"urla\":false,\"urlatext\":\"\",\"targeta\":\"\",\"urlb\":false,\"urlbtext\":\"\",\"targetb\":\"\",\"urlc\":false,\"urlctext\":\"\",\"targetc\":\"\"}','{\"show_title\":\"\",\"link_titles\":\"\",\"show_tags\":\"\",\"show_intro\":\"\",\"info_block_position\":\"\",\"info_block_show_title\":\"\",\"show_category\":\"\",\"link_category\":\"\",\"show_parent_category\":\"\",\"link_parent_category\":\"\",\"show_author\":\"\",\"link_author\":\"\",\"show_create_date\":\"\",\"show_modify_date\":\"\",\"show_publish_date\":\"\",\"show_item_navigation\":\"\",\"show_icons\":\"\",\"show_print_icon\":\"\",\"show_email_icon\":\"\",\"show_vote\":\"\",\"show_hits\":\"\",\"show_noauth\":\"\",\"urls_position\":\"\",\"alternative_readmore\":\"\",\"article_layout\":\"\",\"show_publishing_options\":\"\",\"show_article_options\":\"\",\"show_urls_images_backend\":\"\",\"show_urls_images_frontend\":\"\"}','1','6','','','1','{\"robots\":\"\",\"author\":\"\",\"rights\":\"\",\"xreference\":\"\"}','0','*','')

Help me please
Regards,
Last Edit: 5 years, 8 months ago by Mulombi Annuar.

Re: Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content` 5 years, 8 months ago #30425

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear Mulombi Annuar ,

Please try to fix database issue in Extension manager -> Database.

Thanks & regards!

Re: Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content` 5 years, 8 months ago #30442

Hello Yennt,
I have fixed my database and everything is up-to date now but on adding the new article I am still faced with the same issue. The same error is generated

Re: Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `#__content` 5 years, 8 months ago #30469

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear Mulombi Annuar ,

Pleas submit a ticket and provide us your site information to check directly.

Thanks & regards!
  • Page:
  • 1
Time to create page: 0.42 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes