Another ArmorySync Issue

Posts from previous Beta sessions

Another ArmorySync Issue

Postby Dyaxler » Fri Jan 11, 2008 9:51 am

I'm using WoWRoster v1.9.9.1579 & ArmorySync v2.6.0.347...

The only thing that works and ONLY if the debugging is off is the Member List importer. Everything else just sits there but I did notice this error displayed at the bottom.

PHP Errorslib/login.php
Warning line 104: Missing argument 1 for RosterLogin::getAuthorized(), called in /home/****/public_html/roster/addons/armorysync/inc/armorysyncjob.class.php on line 1149 and defined
Notice line 106: Undefined variable: access


Is this still an armory issue? If it's complaining about not being logged into the roster using the admin account, I was and I also tried relaxing all upload permissions and set it to public to see if there were any issues there. Everything I tried resulted in the same error.

Thanks
Last edited by Dyaxler on Fri Jan 11, 2008 9:52 am, edited 1 time in total.
Dyaxler
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Sat Jan 05, 2008 4:51 pm

Another ArmorySync Issue

Postby zanix » Fri Jan 11, 2008 1:59 pm

Yes, the login checks were changed svn 1563

http://www.wowroster.net/websvn/listing ... =1563&sc=1
Login
- Changed the API. The access level to be checked is now passed to the access check function. This should allow login classes that are not level based.


Old
Code: Select all
if( $roster_login->getAuthorized() < $access )
{
    include_once(ROSTER_BASE . 'header.php');
    $roster_menu = new RosterMenu;
    $roster_menu->makeMenu($roster->output['show_menu']);

    print
    '<span class="title_text">' . $roster->locale->act['guildbank'] . '</span><br />'.
    $roster_login->getMessage().
    $roster_login->getLoginForm();

    include_once(ROSTER_BASE . 'footer.php');
    exit();
}


New
Code: Select all
if( !$roster_login->getAuthorized( $access ) )
{
    include_once(ROSTER_BASE . 'header.php');
    $roster_menu = new RosterMenu;
    $roster_menu->makeMenu($roster->output['show_menu']);

    print
    '<span class="title_text">' . $roster->locale->act['guildbank'] . '</span><br />'.
    $roster_login->getMessage().
    $roster_login->getLoginForm();

    include_once(ROSTER_BASE . 'footer.php');
    exit();
}
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

Another ArmorySync Issue

Postby poetter » Fri Jan 11, 2008 5:26 pm

Fixed svn[348]
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron