Fatal error: RosterArmory::getguilddata()

Sync Blizzards' Armory data with WoWRoster (addon depreciated no longer works see ApiSync)

Moderators: Ulminia, poetter

Fatal error: RosterArmory::getguilddata()

Postby iteru » Fri Mar 06, 2009 3:16 am

Error: Fatal error: Call to undefined method RosterArmory::getguilddata() in D:\wamp\www\Applcore\roster\addons\armorysync\inc\armorysync.class.php on line 170

Using version :
Armory Sync v2.7.0.427
Syncronizes chars with Blizzard's Armory
Author: Ulminia

: On WAMP Platform
- Apache 2.2.11
- MySQL 5.1.30
- PHP 5.2.8

Php Code ~: Error marked

function _getGuildInfo() {
global $roster, $addon;

include_once(ROSTER_LIB . 'armory.class.php');
$armory = new RosterArmory;
//$armory->region = $roster->data['region'];
$armory->region = $this->region;
$armory->setTimeOut( $addon['config']['armorysync_fetch_timeout']);

ERROR>>>> $content = $armory->getguilddata( $roster->data['guild_name'], $this->region, $this->server, $fetch_type='array' );//$armory->fetchGuild( $this->memberName, $roster->config['locale'], $this->server );

//if ( $this->_checkContent( $content, array( 'guildInfo', 'guild' ) ) ) {
$guild = $content->guildInfo->guild;


//$this->data['Ranks'] = $this->_getGuildRanks( $roster->data['guild_id'] );
//$this->data['timestamp']['init']['datakey'] = $roster->data['region'];
$this->data['Ranks'] = $this->_getGuildRanks( $this->guildId );
$this->data['timestamp']['init']['datakey'] = $this->region;
$this->data['timestamp']['init']['TimeStamp'] = time();
$this->data['timestamp']['init']['Date'] = date('Y-m-d H:i:s');
$this->data['timestamp']['init']['DateUTC'] = gmdate('Y-m-d H:i:s');

$this->data['GPprovider'] = "armorysync";
$this->data["DBversion"] = "3.0.0";
$this->data["GPversion"] = "3.0.0";
//$this->data['GPversion'] = "v2.6.0";
//$this->data['name'] = $roster->data['guild_name'];
$this->data['name'] = $this->memberName;
$this->data['Info'] = ''; //$roster->data['guild_info_text'];
ETC--
iteru
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Fri Mar 06, 2009 3:05 am

Fatal error: RosterArmory::getguilddata()

Postby Ulminia » Fri Mar 06, 2009 3:38 am

?!?! did your copy over the new armory.class.php file in to the roster lib... probably why the function is undefined..
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 ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron