After uninstalling the old version and installing V2, I get this error when trying to create a new usergroup
Quote:
Unknown column 'akvbghsfs_akismet_permissions' in 'field list'
|
I checked the xml from v1.2 and this bit is in it but is missing in the V2 xml
PHP Code:
//Akismet code
$db->query_write('ALTER TABLE '.TABLE_PREFIX.'usergroup ADD akvbghsfs_akismet_permissions INT(10) UNSIGNED DEFAULT "0" NOT NULL');
$db->query_write('ALTER TABLE `'.TABLE_PREFIX.'user` ADD akvbghsfs_optionsfield INT(10) UNSIGNED NOT NULL DEFAULT "0" AFTER `options`');
$db->query_write('UPDATE `'.TABLE_PREFIX.'usergroup` SET akvbghsfs_akismet_permissions=1 WHERE usergroupid=1 OR usergroupid=2');