Weird Error

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

Moderators: Ulminia, poetter

Weird Error

Postby N3T_K1LLA » Wed Jul 25, 2007 11:45 am

Well I finally decided to use this addon and it works great! I had a little trouble with the installation but finally figured out how to do it and got it working.

I was able to update the roster, I had a bit of trouble getting things to flow right when it came to getting EVERYONE updated, but I finally did it.

The only problem I have now is when I click on the addon, it does its thing, or so I think, but then asks me if I want to open or save addon.php. This happens in firefox, but not in IE, IE just shows 'page can not be displayed'

Has anyone else had this problem?
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Weird Error

Postby Kristoff22 » Wed Jul 25, 2007 7:04 pm

Sounds like a problem with the web server. Apache/IIS should NEVER be prompting you to download php files.
Kristoff22
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Mon Nov 13, 2006 5:54 am

Weird Error

Postby Pugro » Wed Jul 25, 2007 8:16 pm

Odd, can you try saving it, it may be putting extra chars on the request for the php file so it may be trying to access:

addon.phpmode=xxx or something?

What's the URL from IE when you get a cannot be displayed error?
--------------------------------
Pugro_
Ice and Trinity Guilds, Nordrassil, EU PvE
www.iceguild.org.uk, www.trinityguild.net
Image
Pugro
WR.net Journeyman
WR.net Journeyman
 
Posts: 79
Joined: Fri Jul 07, 2006 2:14 pm
Location: London, UK

Re: Weird Error

Postby N3T_K1LLA » Thu Jul 26, 2007 1:34 am

Pugro wrote:Odd, can you try saving it, it may be putting extra chars on the request for the php file so it may be trying to access:

addon.phpmode=xxx or something?

What's the URL from IE when you get a cannot be displayed error?


I just ran it again in FIREFOX to try to re-produce the error and got this:

2013: Lost connection to MySQL server during query
SQL:
SELECT * FROM `roster_guild` WHERE `guild_name` = 'Omertà' AND `server` = 'Lightninghoof'
File: wowdb.php
Function: get_guild_info
Line: 1841

----- This is the standard error that I have been getting, not sure if I should worry about it or not, I think it is whats causing the updating not to completely get everyone in the roster, and we only have 50 people.

The end URL From IE:

roster/addon.php?roster_addon_name=ArmorySynch

----- I could never update using IE, it always times out.

Here is what I have changed to the files config.php and index.php

config.php:
$addon_conf['ArmorySync']['MemberSorting'] = "members.update_time DESC";

index.php:
Nothing, only thing that isn't commented out is.
synchPlayers(null, $players);

---------------------------------------------------------

After typing this, I decided to run it again, and was able to re-produce the error.

After waiting for around 30 seconds, it prompts me to save a file called addon.php. So, I did, and then opened it in dreamweaver, its an empty file.

Could it be the loss of connection for mysql database thats causing this?
Last edited by N3T_K1LLA on Thu Jul 26, 2007 1:35 am, edited 1 time in total.
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby N3T_K1LLA » Thu Jul 26, 2007 1:47 am

Pugro wrote:Odd, can you try saving it, it may be putting extra chars on the request for the php file so it may be trying to access:

addon.phpmode=xxx or something?

What's the URL from IE when you get a cannot be displayed error?


I also visited your roster to see what it looked like, I noticed you had two different 'armory syncs'

Armory Synch and Armory Synch Mod,, is there a difference?
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby N3T_K1LLA » Thu Jul 26, 2007 1:53 am

Kristoff22 wrote:Sounds like a problem with the web server. Apache/IIS should NEVER be prompting you to download php files.


Its Apache hosted on a linux server hosted through godaddy

Running: MySQL: 5.0.27

PHP v4 i believe
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby Movix » Thu Jul 26, 2007 4:50 am

perhaps this is your solution
have a look here

crperryjr wrote: can't seem to get this to work in WoWrosterDF, The error I noted after the first character updated was this:

File does not exist
The URL that you requested, /addon.php?roster_addon_name=ArmorySynch_Mod&syncmemberid=2, could not be found. Perhaps you either mistyped the URL or we have a broken link.

I found this code in functions.synch

Code: Select all
//Output javascript to move to process next player...
            Print 'Next Player: ' . $nextmemberid;
            //Print '<pre>' . $module_name . '</pre>';
            $link = 'addon.php?roster_addon_name=ArmorySynch_Mod&syncmemberid='.$nextmemberid;

crperryjr wrote:Looks like the pathing isn't right in the javascript for the $link variable. The path for addon.php on my server is http://www.~server~.com/modules/WoWRosterDF/addon.php


the answer

Pugro wrote:$link = getlink($module_name.'&file=addon&roster_addon_name=ArmorySynch_Mod&syncmemberid='.$nextmemberid);
Image
DF 9.2.1 - RosterDF 1.7.3.0 (patched) - Roster 2.0 beta
User avatar
Movix
WR.net Apprentice
WR.net Apprentice
 
Posts: 59
Joined: Fri Dec 22, 2006 1:27 pm

Re: Weird Error

Postby N3T_K1LLA » Thu Jul 26, 2007 6:05 am

Movix wrote:perhaps this is your solution
have a look here

crperryjr wrote: can't seem to get this to work in WoWrosterDF, The error I noted after the first character updated was this:

File does not exist
The URL that you requested, /addon.php?roster_addon_name=ArmorySynch_Mod&syncmemberid=2, could not be found. Perhaps you either mistyped the URL or we have a broken link.

I found this code in functions.synch

Code: Select all
//Output javascript to move to process next player...
            Print 'Next Player: ' . $nextmemberid;
            //Print '<pre>' . $module_name . '</pre>';
            $link = 'addon.php?roster_addon_name=ArmorySynch_Mod&syncmemberid='.$nextmemberid;

crperryjr wrote:Looks like the pathing isn't right in the javascript for the $link variable. The path for addon.php on my server is http://www.~server~.com/modules/WoWRosterDF/addon.php


the answer

Pugro wrote:$link = getlink($module_name.'&file=addon&roster_addon_name=ArmorySynch_Mod&syncmemberid='.$nextmemberid);


I wish this was the answer, but alas, it is not.

I don't use the DF mod, therefore there is no $link spot on any of the files :( that I can see.
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby N3T_K1LLA » Sun Jul 29, 2007 5:29 am

Update:

It looks like when I run the Armory Sync addon, it updates everything, it just prompts me to download the addon.php file.
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby Jerm » Fri Aug 03, 2007 3:31 pm

I get the same error.

Tell me if i got this right. I placed the armorysync into the addons folder of roster. It shows up. When I click on it, A dialog box opens up and says I have chosen to open ADDON.PHP. Any ideas??

Operating system Linux
Kernel version 2.6.19.2-grsec-sg5
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.8
PHP version 5.0.5
MySQL version 4.1.22-standard-log
Jerm
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 08, 2006 11:08 pm

Weird Error

Postby N3T_K1LLA » Sun Aug 05, 2007 3:48 pm

UPDATE:

I fixed the problem I was having!

I had to allow addon.php to have more access rights.
N3T_K1LLA
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Nov 19, 2006 3:59 am

Re: Weird Error

Postby Jerm » Mon Aug 06, 2007 2:03 pm

I tried changing the access rights. did not work as usual. Really think this mod is a great idea but I have run out of ideas. Anyone have any clues how to remedy this?
Jerm
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 08, 2006 11:08 pm

Weird Error

Postby Kristoff22 » Mon Aug 06, 2007 7:22 pm

It looks like it's a problem with addon.php, not this particular addon. Do other addons work? Have you tried reinstalling WoW Roster?
Kristoff22
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Mon Nov 13, 2006 5:54 am

Re: Weird Error

Postby Jerm » Tue Aug 07, 2007 2:12 am

It looks like it's a problem with addon.php, not this particular addon. Do other addons work? Have you tried reinstalling WoW Roster?


I just did a fresh install of the roster.
Jerm
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 08, 2006 11:08 pm

Weird Error

Postby Kristoff22 » Wed Aug 08, 2007 5:16 am

Ok, so do other addons work?
Kristoff22
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Mon Nov 13, 2006 5:54 am

Next

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron