Forgive me if this has already been brought to your attention. I did a search and didn't find any similiar problem.

I'm developing a site with 4.6.3 and need to have multiple layouts, hence my love of the sections module.

Anyway, after successfully setting up 5 sections and themes I tried to add a new block. This is the error I received:

user error: Duplicate entry '' for key 3
query: INSERT INTO boxes (title, body, info, format) VALUES  ('Going to add a block', 'Test Block', '', 1) in /home/domain/public_html/includes/database.mysql.inc on line 66.

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

When I turned off Sections I was able to add the block just fine. I then turned Sections back on and the new block and Sections work fine. Just thought this may help.

Thanks for the great module.
DS

Comments

hass’s picture

Status: Active » Fixed

headers already sent by sounds like a closing ?> in the module... i cannot verify this with the latest version. So i mark this for fixed now.

If you have such problems with 4.7.x or 5.x branches, please reopen.

hass’s picture

Version: 6.x-1.x-dev » 4.7.x-1.x-dev
Anonymous’s picture

Status: Fixed » Closed (fixed)