Add Group fails
- Status
- Closed
- Subject
- Add Group fails
- Category
- Error
- Feature
- Administration
- Resolution status
- Invalid
- Submitted by
- yuria
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
Add new Group fails with error:
An error occured in a database query!
Built query was probably:
insert into `users_groups` (`groupName`, `groupDesc`, `groupHome`,`groupDefCat`,`groupTheme`,`usersTrackerId`,`groupTrackerId`, `registrationUsersFieldIds`, `userChoice`, `usersFieldId`, `groupFieldId`) values('IHS',,,'0',,'0','0',,,,'')----------------
No error was reported in error.logThe two last parameters correspond usersFieldId and groupFieldId fields in the users_groups table and defined as int(11) there.
The problem seems to be in default values of those parliaments as they defined in add_group function in userlibs.php:Copy to clipboardfunction add_group($group, $desc='', $home='', $utracker=0, $gtracker=0, $rufields='', $userChoice='', $defcat=0, $theme='', $ufield='', $gfield='') {- Solution
- Workaround
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2585
- Created
- Tuesday 23 June, 2009 16:44:49 UTC
by Unknown - LastModif
- Tuesday 26 May, 2026 15:13:27 UTC