Problems getting Faction Rewards running

Search obtained rewards of your guild members by faction (and reputation progression)

Moderator: Tyradil

Problems getting Faction Rewards running

Postby Alisandar » Wed Jul 18, 2007 5:05 pm

I have a new installation of WoWRoster

The site can be found here
-- edited --

When trying to use Faction Rewards, it will only display a blank page.

One of the files in lib was showing up as an error when I set it up - I have replaced the file and it shows up OK now.

Searching on the forums, I have found a problem someone else had (forum link here that was resolved by modifying an include line to have $addonDir. in front of function.php.
If I changed index.php
Code: Select all
require_once 'functions.php';

to
Code: Select all
require_once ($addonDir.'functions.php');


This modification will get the page to a point where it loads up WoWRoster, but doesn't give the options for configuring factionrewards, or choosing a faction etc.

Any help would be apprectiated.
Last edited by Alisandar on Thu Jul 19, 2007 7:42 am, edited 1 time in total.
Alisandar
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Wed Jul 18, 2007 3:43 pm

Re: Problems getting Faction Rewards running

Postby Tyradil » Thu Jul 19, 2007 6:23 am

A strange error I didn't ran into yet, so I can only guess ...

Since you have only the two <br/> between header and footer in your output page ...
(looking like this:)
Code: Select all
...
<!-- End WoWRoster Menu -->

<br /><br />

<!-- Begin Roster Footer -->
...


... he doesn't seam to find the includes between the code to print the <br/> ...

(code from index.php:)
Code: Select all
...
//begin generation the addon's output
print '<br />';

if ($_REQUEST['mode'] == 'faction')
   include 'faction.php';
else if ($_REQUEST['mode'] == 'character')
   include 'character.php';

echo $content;

print '<br />';
...


... so I guess you have to do the mentioned correction there too.
Try changing the index.php so that the includes look like:
Code: Select all
include ($addonDir.'faction.php');

and
Code: Select all
include ($addonDir.'character.php');


Hope that's it. :-)
author of the addon "Faction Rewards" - http://www.wowroster.net/Forums/viewforum/f=102.html

Image
User avatar
Tyradil
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 35
Joined: Thu Oct 26, 2006 5:13 pm

Re: Problems getting Faction Rewards running

Postby Alisandar » Thu Jul 19, 2007 7:41 am

Ah, excellent - it's working now.

Thanks very much for your help, and thanks for making this - it's a nice addon.
Alisandar
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Wed Jul 18, 2007 3:43 pm

Problems getting Faction Rewards running

Postby Tyradil » Thu Jul 19, 2007 3:41 pm

No problem, I'm glad you like the addon and it's runing now.

And I have to thank you too, I never read the linked thread. Now I can fix another bug. :-)
author of the addon "Faction Rewards" - http://www.wowroster.net/Forums/viewforum/f=102.html

Image
User avatar
Tyradil
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 35
Joined: Thu Oct 26, 2006 5:13 pm


Return to Faction Rewards

Who is online

Users browsing this forum: No registered users and 1 guest

cron