Error 3: No method passed

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

Moderators: Ulminia, poetter

Error 3: No method passed

Postby Eltari » Tue Oct 09, 2007 12:22 pm

Apologies if this has been posted elsewhere, I had a quick search and could not find it.

Version and environment
I am running wowroster v1.9.9.1389 (the Beta download) which I upgraded today. And ArmorySync from svn[264]. I ran svn update today to get the latest version. When I tried to then update the guild list "ArmorySync Memberlist", I was presented with an error that ArmorySync 2.0.0.0 was registered with wowroster, and I needed to upgrade it. I went to the "Utilities -> Roster CP -> Functions -> Manage Addons" and saw that the square for ArmorySync was red for Installation, so clicked it, and it went green.

So. wowroster svn[1389] and ArmorySync svn[264].

Not sure if it is significant, but the underlying OS is Red Hat Linux, using apache as the web server. I have full access to change whatever is required for testing on the server, database and web server.

Problem Description
When I went to update my guild list I received the error "Error 3: No method passed". This is a repeatable error (I have received it a few times while trying to debug the issue myself). This error only occurs after I actually start the process.

The same issue occurs when trying to perform a character update.

This error appears as if it is a popup message box from Javascript, however I can find nothing in the HTML of the page (nor any of the ArmorySync source code) which would produce that error.

The debugging output is
Code: Select all
Line    Time    File                                                             Class          Function                        Info                Status
435    0.0014    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _checkAuth          Checked authentication          OK
136    0.0015    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _check_env          Checking environment          OK
142    0.0015    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _isRequiredRosterVersion    Check required Roster version       OK
147    0.0016    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _isRequiredArmorySyncVersion    Check required ArmorySync version  OK
215    0.0026    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _prepare_updateMemberlist    Prepared memberlist update job       OK
216    0.0135    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _update_statusMemberlist    Updated memberlist job status       OK
1072    0.0155    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _show_status          Printed status window          OK
217    0.0155    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _show_statusMemberlist       Printed memberlist status       OK
219    0.0156    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _link             Printed reload java code       OK
166    0.0157    /usr/http/warriors/armorysync/inc/armorysyncjob.class.php    ArmorySyncJob    _startSyncing          Finnished sync job          OK


OK. Did some more searching (google this time) and found where the error is being generated. In ajax.php of wowroster the following exists:
Code: Select all
elseif( $method == '')
{
    $status = 3;
    $errmsg = 'No method passed';
}


This status code and error message matches what I am getting exactly.

But that is where I get lost.

Will do some more looking when I get a chance.
Eltari
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jan 24, 2007 1:00 am

Error 3: No method passed

Postby PleegWat » Tue Oct 09, 2007 12:28 pm

You're running the latest beta, in which I changed the ajax system to load the roster environment in the normal way. This changes the calling syntax somewhat, and armorysync has not yet been adapted to match.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Error 3: No method passed

Postby Eltari » Tue Oct 09, 2007 12:46 pm

Thanks for the fast response. I'll wait for an update of ArmorySync.
Eltari
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jan 24, 2007 1:00 am

Error 3: No method passed

Postby Kilmarac » Wed Oct 10, 2007 10:06 am

Does this mean that armorysync isnt working until updated?
User avatar
Kilmarac
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Tue Oct 09, 2007 7:54 am

Error 3: No method passed

Postby poetter » Wed Oct 10, 2007 3:19 pm

no it does not, please turn off ajax in ArmorySync config till i update the calls.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Error 3: No method passed

Postby moofa » Thu Oct 11, 2007 6:56 am

poetter wrote:no it does not, please turn off ajax in ArmorySync config till i update the calls.


How do we go about turning off ajax?
Ejeet Networks
Powering Warcraft Guild Sites
Create, Play, Evolve
http://www.ejeet.net
User avatar
moofa
WR.net Apprentice
WR.net Apprentice
 
Posts: 34
Joined: Thu Dec 07, 2006 3:04 am
Location: Canada

Re: Error 3: No method passed

Postby Eltari » Thu Oct 11, 2007 8:22 am

From you roster page,
- Select "Roster CP" from the Utilities panel
- On the right hand side you should have a box with the title "Addon Config"
--- Select "Armory Sync" from that box
- Set "Use AJAX" to "Off" and click "Save Settings"
- Agree that you want the changes saved to the database


After I did that I was able to Sync to the Armory again.
Eltari
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Wed Jan 24, 2007 1:00 am

Error 3: No method passed

Postby Sorchame » Thu Oct 11, 2007 9:11 am

Mine times out after every 2 or so syncs, I have to keep reloading the page.
Sorchame
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Sep 06, 2006 6:07 pm

Error 3: No method passed

Postby poetter » Thu Oct 11, 2007 3:23 pm

@ Sorchame: Please post your Debug Infos
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Error 3: No method passed

Postby Sorchame » Fri Oct 12, 2007 9:11 pm

it's the same as above. Everything is OK, but after 1 or 2 cycles, I get a 503 error (web not mod) and the page doesn't load at all. Sometimes i can just reload the page (and repost) and it will work for a couple more cycles. It maybe be a problem on my end, or it might be because mysql server is hosted someplace else besides localhost, so the connection between the two times out. (This is my guess).
Sorchame
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Sep 06, 2006 6:07 pm

Error 3: No method passed

Postby poetter » Fri Oct 12, 2007 9:27 pm

No it is not the same as above. Debug Data includes method args and returns. Its much more detailed than the standard debug infos
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 ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron