Roster SVN 1202

Posts from previous Beta sessions

Roster SVN 1202

Postby hamunaptra » Wed Aug 15, 2007 5:11 pm

I did a clean install of Roster 2.0b SVN 1202.

When I click on "addon installation" and try to activate/install an addon, the following error occurs:

Fatal error: Call to undefined method roster::error() in D:\guild-site-ng\roster\lib\install.lib.php on line 254

Furthermore, it seems that the roster_addon_config is being deleted by the error as well.

I can rebuild the table by executing the following SQL:

CREATE TABLE `roster_addon_config` (
`addon_id` int(11) NOT NULL default '0',
`id` int(11) unsigned NOT NULL,
`config_name` varchar(255) default NULL,
`config_value` tinytext,
`form_type` mediumtext,
`config_type` varchar(255) default NULL,
PRIMARY KEY (`id`,`addon_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Regards

Hamu
Last edited by hamunaptra on Fri Aug 17, 2007 9:02 am, edited 1 time in total.
hamunaptra
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 9:49 pm

Roster SVN 1202

Postby hamunaptra » Thu Aug 16, 2007 3:49 pm

It seems, that the following line (254) in install.lib.php is faulty:

echo 'Rollback error while reinserting data in '.$table.'. MySQL said: '.$roster->error();

SHOULD be

echo 'Rollback error while reinserting data in '.$table.'. MySQL said: '.$roster->db->error();

Regards

Hamu
hamunaptra
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 9:49 pm

Roster SVN 1202

Postby hamunaptra » Thu Aug 16, 2007 4:02 pm

Ok, I now found the glitch...

the DB user you select for the roster needs the rights to create temporary tables in the database. Once that has been done, my roster works fine, especially adding/removing addons :)

Regards

Hamu
hamunaptra
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 9:49 pm

Roster SVN 1202

Postby zanix » Fri Aug 17, 2007 9:01 am

Fixed: svn[1246]

The $roster->error misspelling fixed
Last edited by zanix on Fri Aug 17, 2007 9:02 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron