Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
The permissions table that gets created as part of setup using file nel_00001.sql is missing a column DomainID, which is referenced in r2_login.php in the section that creates a user ID for unknown users.
Either the r2_login.php should remove this dependency or the column should be added to the setup script.
Adding DomainID to the table got me past this, but I'm not sure if the column is needed by the rest of the account management system.
CREATE TABLE IF NOT EXISTSpermission( UIdint(10) unsigned NOT NULL DEFAULT '0', ClientApplicationchar(64) NOT NULL DEFAULT 'ryzom', DomainIdint(10) NOT NULL DEFAULT '-1', ShardIdint(10) NOT NULL DEFAULT '-1', AccessPrivilegeset('OPEN','DEV','RESTRICTED') NOT NULL DEFAULT 'OPEN', primint(10) unsigned NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
Original report by Jonathan Deeds (Bitbucket: JDCodeIt, GitHub: JDCodeIt).
The permissions table that gets created as part of setup using file nel_00001.sql is missing a column DomainID, which is referenced in r2_login.php in the section that creates a user ID for unknown users.
Either the r2_login.php should remove this dependency or the column should be added to the setup script.
Adding DomainID to the table got me past this, but I'm not sure if the column is needed by the rest of the account management system.
CREATE TABLE IF NOT EXISTS
permission(
UIdint(10) unsigned NOT NULL DEFAULT '0',
ClientApplicationchar(64) NOT NULL DEFAULT 'ryzom',
DomainIdint(10) NOT NULL DEFAULT '-1',
ShardIdint(10) NOT NULL DEFAULT '-1',
AccessPrivilegeset('OPEN','DEV','RESTRICTED') NOT NULL DEFAULT 'OPEN',
primint(10) unsigned NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;