Opened 15 years ago
Closed 15 years ago
#1233 closed defect (bug) (no action required)
Can't create a new group
Reported by: | netweblogic | Owned by: | |
---|---|---|---|
Milestone: | 1.1.2 | Priority: | blocker |
Severity: | Version: | ||
Component: | Keywords: | groups | |
Cc: |
Description
I upgraded to 1.1.1 and I can't create new groups. Error and my solution below:
Error logs say this:
[15-Oct-2009 02:57:25] WordPress database error: [Field 'avatar_thumb' doesn't have a default value]
INSERT INTO wp_bp_groups (
creator_id,
name,
slug,
description,
news,
status,
enable_wire,
enable_forum,
date_created
) VALUES (
173, 'Forum Testing', 'forum-testing', 'Test', 'test', '', 1, 1, FROM_UNIXTIME(1255546645)
)
My Solution:
Change the default values of avatar_thumb and avatar_full:
ALTER TABLE wp_bp_groups
CHANGE date_created
date_created
DATETIME NOT NULL ,
CHANGE avatar_thumb
avatar_thumb
VARCHAR( 250 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
CHANGE avatar_full
avatar_full
VARCHAR( 250 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
Change History (2)
#2
@
15 years ago
- Resolution set to invalid
- Status changed from new to closed
I cannot reproduce this on my test install. Please confirm the details listed here http://buddypress.org/forums/topic/when-asking-for-support. If you are able to recreate this, please let us know exactly what you enter at each stage of the group creation process. Thank you.
Thought I should add, the solution had no issues with regards to assigning an abstract gravatar to the group during creating process. Also, uploading/deleting a new avatar was no problem either.