Config problems

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Config problems

Postby Creepz » Wed Jul 05, 2006 1:05 pm

Hi

I have tried to install wowroster on a b-one.net server.
It seems to work fine, but when I try to upload my guild I just get a blank update screen and no error message at all. I can get this out from the sql txt file:

SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC;

And then nothing happens, and I have no idea what went wrong, any suggestions ?

/Creepz

Edit: I just found out that it's only MySQL 4.0.24 on the server, could this be the problem ?
Last edited by Creepz on Wed Jul 05, 2006 2:14 pm, edited 1 time in total.
Creepz
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 1:00 pm

Re: Config problems

Postby Creepz » Wed Jul 05, 2006 6:24 pm

Doesn't anyone have any idea, it's pretty anoying to not get this startes, it looks good so I'd really like to use this.

Can I give you some more info that would help ?

/Creepz
Creepz
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 1:00 pm

Config problems

Postby darkgoth » Wed Jul 05, 2006 6:30 pm

go to the roster config and make sure your guild name and server name is filled out exactly like the one on .lua, also i believe you need the update page to be chmd 777
Last edited by darkgoth on Wed Jul 05, 2006 6:31 pm, edited 1 time in total.
User avatar
darkgoth
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Tue Jul 04, 2006 7:10 pm

Re: Config problems

Postby ScratchMonkey » Wed Jul 05, 2006 7:08 pm

No chmod needed. conf.php needs to be writable by the web server during initial setup. The image directories need to be writable if you'll be using cached images. All other configuration is stored in the DB.

BTW, ideally the entire wowroster hierarchy should be read-only, and sharable, with the config taken from the PHP environment. That way one can create multiple setups on the same web server and use Apache <location> blocks to specify where the conf.php will come from. I plan to tinker with that to see how hard it would be to set up. For now I've got two instances using the same directory tree mounted in two places, and I just hacked setup.php to point to ../conf.php, so each mount point sees its own conf.php. I'm also using two databases, but it looks like the code might tolerate a single database holding multiple guilds.
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Config problems

Postby Hannah » Wed Jul 05, 2006 7:16 pm

Hi Scratch!

So you have to differnent guilds using you´r roster ?

I´m searching for the solution to have 2-3 guils using same roster
and some bank chars without guild too...

Is this what you do with Apache <location> the solution ? :)

Would be great..

CU

Hannah
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Config problems

Postby ScratchMonkey » Wed Jul 05, 2006 7:42 pm

I haven't gotten them sharing the DB, just the files. My hope is to get them to share the same DB, and allow the info from conf.php to be passed in from Apache's config.

I see in the DB a guild table with a single line, and the member table refers to a guild and a realm. So I think the normalization is adequate. There needs to be some changes to the code that reads the parsed CharacterProfiler hash to scan all guilds listed in the guild table instead of limiting to the entry specified by conf.php, so one only need upload once.
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Config problems

Postby Creepz » Thu Jul 06, 2006 1:00 pm

well.. I still can't get it to work.

Could there be an error with my CharacterProfiler.lua file maybe ?
If I edit that file, shouldn't I be able to find my guildname and charactername in it ? I don't anyway.

/Creepz
Creepz
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 1:00 pm

Config problems

Postby ScratchMonkey » Thu Jul 06, 2006 5:32 pm

Yes, your guild name should be in the CharacterProfiler.lua file. If it's not there, there's no way for wowroster to match it up to its configured guild name. It only accepts character data from guilds and characters it knows about. (Someone needs to previously upload their GuildProfiler.lua to tell wowroster the member list.)
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Config problems

Postby Creepz » Thu Jul 06, 2006 6:05 pm

Seems like it's my characterprofiler that is the problem, it doesn't save any data even though it says it's scanned ok ingame. Oh well, that's not a problem for this forum.(Unless someone happen to know a possible reason to why CharacterProfiler.lua isn't updated =) )

/Creepz
Creepz
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 1:00 pm

Config problems

Postby ThePrimaryDave » Thu Jul 06, 2006 10:51 pm

I hate to say this, since I don't want to sound like I'm asking a stupid question, but are you sure you're looking at the right CharaterProfiler.lua file? It's the one in SavedVariables, not Interface; it's for the right account; etc?
ThePrimaryDave
WR.net Apprentice
WR.net Apprentice
 
Posts: 64
Joined: Wed Jul 05, 2006 9:45 pm
Location: Central Coast of CA

Config problems

Postby Creepz » Fri Jul 07, 2006 12:08 pm

That was exactly the problem, I was trying to upload the wrong file.

Stupid error because I didn't read all and thought I was so smart =)
Well it works like a charm now.

/Creepz
Creepz
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jul 05, 2006 1:00 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 0 guests