Error while configuring the addon

Upload screen shots for display in Roster

Moderator: Ulminia

Error while configuring the addon

Postby Augustin » Fri Feb 22, 2008 11:52 pm

I just run afoul of some hard coded table names during the configuration of this addon. Please consider this line of code in admin/index.php:

$sql = "SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '".$addon['addon_id']."' ORDER BY `id` ASC;";

Sadly this table does not exist in my database, since I had to opt for the renaming of the basename of the tables, because I have a side-by-side installation of roster 2.0beta and 1.73. Since this is a legit choice and supported by the install procedure of Roster I am sure there is somewhere a variable you can use, so that you can mend this.

Sorry for the bother, but I think I am not the only one with this problem.
Augustin
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Thu Nov 08, 2007 3:08 am

Error while configuring the addon

Postby zanix » Sat Feb 23, 2008 12:11 am

Roster 1.7.3 does not have a addon_config table, only 2.0 does

For Roster 2.0, the line should look like this
Code: Select all
$sql "SELECT `config_name`, `config_value` FROM `" $roster->db->table('addon_config') . "` WHERE `addon_id` = '".$addon['addon_id']."' ORDER BY `id` ASC;"
Last edited by zanix on Sat Feb 23, 2008 12:11 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

Error while configuring the addon

Postby Ulminia » Sat Feb 23, 2008 3:03 am

Updated for final Roster 2.0 release of RG 3.0 Build 3000
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Error while configuring the addon

Postby Augustin » Wed Mar 19, 2008 12:10 am

Well, wherever the update is, I can't find it.
It isn't in the download area nor in the svn.
All those files in there all have the same old errors.

Can somebody tell me where to look?
Help would be appreciated since I really would like to allow a pictureupload for the guildies.
Last edited by Augustin on Fri Mar 28, 2008 7:28 pm, edited 1 time in total.
Augustin
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Thu Nov 08, 2007 3:08 am

Re: Error while configuring the addon

Postby Ulminia » Thu Apr 03, 2008 1:08 am

as i said final release will be with roster 2.0 when it is release untill then find the line of code and change it to the post zanix made i am at 3.0.2999 for rg doing final changes and adding auth for vewing catagores
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to Roster Gallery

Who is online

Users browsing this forum: No registered users and 0 guests

cron