AS 2.7.1 errors

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

Moderators: Ulminia, poetter

AS 2.7.1 errors

Postby hozzdutch » Wed May 13, 2009 12:01 am

When I try and sync on either ArmorySync for Guilds or ArmorySync for Guild Member Lists, it'll change the page to view the next update, 0% showing complete and before it does any updating at all, the screen will go blank showing the following error -

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\roster\addons\armorysync\inc\armorysync.class.php on line 1474
hozzdutch
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue May 12, 2009 11:24 pm

Re: AS 2.7.1 errors

Postby tuigii » Wed May 13, 2009 12:30 am

This is, as the error states, not an Armory bug or error.
Use the word curl_init and search on this forum : you'll find out that your host doesn't support curl.
Happens if you have a 'ahum...' lousy host.

Open the file addons\armorysync\inc\armorysync.class.php
Goto line 24
Change
define("USE_CURL", TRUE);
into
define("USE_CURL", FALSE);

Save file to server
Retry.

Edit : this is strange ; before, something like function_exist() was used to check if curl was supported, now one has to patch his code ... :scratch:
Why ?
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: AS 2.7.1 errors

Postby zanix » Wed May 13, 2009 2:09 am

Because Ulminia forget things like this


..I do too though
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: AS 2.7.1 errors

Postby Ulminia » Wed May 13, 2009 6:31 am

thos so why i have a beta test lol ial slap some code to gether tomarrow and test it and see what happens...
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: AS 2.7.1 errors

Postby hozzdutch » Wed May 13, 2009 8:54 am

Thanks Tuigii, that appears to have done the trick...now I just gotta wait for the armory to come back out of maintenance so I can test it :bash:
hozzdutch
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue May 12, 2009 11:24 pm

Re: AS 2.7.1 errors

Postby hozzdutch » Wed May 13, 2009 7:06 pm

Hi guys,

well it now retrieves data, but when it's finished and I view character data, it has some very weird stuff -

Image

you can see the tooltip has no formatting or images and the bonuses window shows pretty much nothing of any use.
hozzdutch
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue May 12, 2009 11:24 pm

Re: AS 2.7.1 errors

Postby hozzdutch » Sat May 16, 2009 11:17 am

So...any idea's as to why this is happening?
hozzdutch
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue May 12, 2009 11:24 pm

Re: AS 2.7.1 errors

Postby tuigii » Sat May 16, 2009 1:04 pm

Well, simple :roll:

The information that Blizzard sends to you when you have access to a new item, is not the same information that is used by the Armory.
Of course, the item ID is ok, but the tooltip is being written using another format, for example, other line termination. Different spacing, etc.
The item parser is severely adapted to take the item info, and filter out and recognize as much as possible.
This filtering doesn't work well for tooltip info coming from the Armory.

There might be only one solution for this: preparse the armory item so it will be having the same format as the realm server format.

To see what really happens : look at lib/item.php
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: AS 2.7.1 errors

Postby Ulminia » Sat May 16, 2009 4:31 pm

yes ial look into this ...
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: AS 2.7.1 errors

Postby tuigii » Sat May 16, 2009 5:07 pm

....it has some very weird stuff....


In the mean time : did you try a 'normal' CP update.
Just checked it : works great :glad:

Image
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: AS 2.7.1 errors

Postby Tupsi » Tue May 26, 2009 8:46 am

just tried the beta on a fresh install with nothing installed and getting the following error when I try to add my guild:

Fatal error: Call to undefined method ArmorySync::setTimeOut() in /var/www/ff/roster/addons/armorysync/inc/armorysync.class.php on line 267


Now I am not sure if I even can import a complete fresh guild from the armory alone, or if I have to upload the guild via character/guildprofiler at least one time, so this might not even be a bug, but a clarification would be nice.

Thanks

update:
I found some ancient characterprofiler.lua on my usb stick and preloaded roster with it. Now the update memberlist and updatecharacter buttons work.
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

Re: AS 2.7.1 errors

Postby Blueleaf » Mon Jun 01, 2009 6:31 pm

OK I know this has probably been addressed before but if you are having Curl issues and you happen to run your own server this is a PHP issue and can be easily corrected,

Open Your php.ini file
Search for "extension=php_curl.dll"
enable it by deleting the ; at the start of the line
Restart your server

and your done it should work fine now.
User avatar
Blueleaf
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Apr 26, 2007 12:06 am
Location: Minot, ND

Re: AS 2.7.1 errors

Postby Ulminia » Mon Jun 01, 2009 7:26 pm

yes working on maming an error check for curl should be in next update
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 0 guests

cron