I'm trying to create a new block with no luck

user error: Duplicate entry '' for key 3
query: INSERT INTO boxes (title, body, info, format) VALUES  ('Hello', 'Hello', '', 1) in /home/egyarabi/public_html/drupal/includes/database.mysql.inc on line 66.

warning: Cannot modify header information - headers already sent by (output started at /home/egyarabi/public_html/drupal/includes/common.inc:384) in /home/egyarabi/public_html/drupal/includes/common.inc on line 192.

What does it supposed to be ?

This error occured during creating a new block

Comments

US421’s picture

Check and see if you already have a block you created with a blank info field. If you add Hello there as well it may work.

Pronco’s picture

I've already created a previous block. but for now I'm not able to create another one

---
I'm a code junkie security enthusiast

- http://pronco.manalaa.net

US421’s picture

It seems that you have not filled out your Block description when creating your blocks. It is the third text area and right above the submit button. You are allowed to create one like that but the second is considerred to have a duplicate field. This is for the block overview page, so only you will see the description.

Pronco’s picture

It is REQUIRED for uniqueness. Which means it doesn't allow duplicates

Thanks

---
I'm a code junkie security enthusiast

- http://pronco.manalaa.net