Possible bug at creating base Tiki DB tables
- Status
- Closed
- Subject
- Possible bug at creating base Tiki DB tables
- Version
- 18.x
- Category
- Error
- Easy for Newbie Dev
- Less than 30-minutes fix
- Feature
- Installer (profiles, upgrades and server-related issues)
- Resolution status
- Invalid
- Submitted by
- hman
- Lastmod by
- hman
- Rating
- Description
The basic Tiki DB initalization IMHO contains an error. Maybe this is due to a change introduced later that made the INSERT incompatible to the CREATE. /db/tiki.sql contains this at lines 2867-2878:
Copy to clipboardDROP TABLE IF EXISTS `users_usergroups`; CREATE TABLE `users_usergroups` ( `userId` int(8) NOT NULL default '0', `groupName` varchar(255) NOT NULL default '', `created` int(14) default NULL, `expire` int(14) default NULL, PRIMARY KEY (`userId`,`groupName`(225)) ) ENGINE=MyISAM; INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Anonymous','Public users not logged'); INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Registered','Users logged into the system'); INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Admins','Administrator and accounts managers.');
This should not work. Maybe the resulting error is just ignored? Values are entered into the non-existent column "groupDesc"...- Importance
- 5
- Easy to solve?
- 10 easy
- Priority
- 50
- 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
- 7770
- Created
- Thursday 17 June, 2021 09:57:00 UTC
by hman - LastModif
- Thursday 17 June, 2021 10:01:33 UTC