DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
"Not supported by the serv"

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports

Author

Message

Frink



Joined: 13 Jun 2006
Posts: 31

PostPosted: Sun Nov 26, 2006 6:49 am    Post subject: "Not supported by the serv"

Reply with quote


Hello

I'm using the latest Windows DKP parser (v1.4.0f) along with the latest plugin (v1.3.2e). The plugin shows as being installed on the EQdkp site admin panel.

The following settings display "Not supported by the serv" in the configuration screen:

Day representation
Reward interval representation
Event representation
Loot representation
High participation bonus representation

Is there something else I need to configure for these settings to become active?

Thanks in advance

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Mon Nov 27, 2006 7:56 am    Post subject:

Reply with quote


This appears to be a bug of some sort. What do you have entered as "Server URL" (you don't need to include the host) and "Server software interface"?

A slightly older version that seems to not have this problem is also available. I would like to find out why this error occurs though (I'm unable to reproduce it).

Back to top

Frink



Joined: 13 Jun 2006
Posts: 31

PostPosted: Mon Nov 27, 2006 3:11 pm    Post subject:

Reply with quote


Lokorin wrote:
What does "Server->Specification Number" in the menu tell you?

"The server implements specification number S6"

...


I can confirm that S6 is the specification number reported back to me. As for the other two things you mention in your post, I'll need to check that when I get home...can't remember for sure what's in those fields.

Thanks

Back to top

DarkNight



Joined: 13 Jun 2006
Posts: 6

PostPosted: Mon Nov 27, 2006 10:21 pm    Post subject:

Reply with quote


I also am seeing the same issue with version 1.3.2e of the EQDKP plugin.

Installed latest version as follows:
* From EQDKP v1.3.1 Admin panel > Manage Plugins > DKP Log Parser 1.3.2c > Uninstall
* Delete /eqdkp/plugins/dkplp directory from webserver
* Upload dkplp directory from the 1.3.2e download into the /eqdkp/plugins directory on webserver
* From EDQKP Admin panel > manage Plugins > DKP Log Parser 1.3.2e > Install

Results:
* Open DKPLP Client
* Help > About > version 1.4.0f
* Edit > Preferences > Server > Connectivity > Server URL: http://wog.darknights-haven.com/eqdkp
* Edit > Preferences > Server > Connectivity > Server software interface: EQDKP with plugin
* Server > Connect... no error reported
* Server > Specification number > This server implements specification number S6
* Edit > Preferences > Server > Upload > Day representation: Not supported by server
* Edit > Preferences > Server > Upload > Reward interval representation: Not supported by server
* Edit > Preferences > Server > Upload > Event representation: Not supported by server
* Edit > Preferences > Server > Upload > Loot representation: Not supported by server
* Edit > Preferences > Server > Upload > High participation bonus representation: Not supported by server

Using the same procedure to roll back to 1.3.2c, everything works correctly as shown here...

* From EQDKP v1.3.1 Admin panel > Manage Plugins > DKP Log Parser 1.3.2e > Uninstall
* Delete /eqdkp/plugins/dkplp directory from webserver
* Upload dkplp directory from the 1.3.2c download into the /eqdkp/plugins directory on webserver
* From EDQKP Admin panel > Manage Plugins > DKP Log Parser 1.3.2c > Install

Results:
* Open DKPLP Client
* Help > About > version 1.4.0f
* Edit > Preferences > Server > Connectivity > Server URL: http://wog.darknights-haven.com/eqdkp
* Edit > Preferences > Server > Connectivity > Server software interface: EQDKP with plugin
* Server > Connect... no error reported
* Server > Specification number > This server implements specification number S7
* Edit > Preferences > Server > Upload > Day representation: None
* Edit > Preferences > Server > Upload > Reward interval representation: Raids
* Edit > Preferences > Server > Upload > Event representation: Raids
* Edit > Preferences > Server > Upload > Loot representation: Events
* Edit > Preferences > Server > Upload > High participation bonus representation: Raid

Certainly seems like a bug in the latest version of the plugin. I'd be happy to offer whatever assistance I can in troubleshooting this with you.

Back to top

Frink



Joined: 13 Jun 2006
Posts: 31

PostPosted: Mon Nov 27, 2006 11:22 pm    Post subject:

Reply with quote


Lokorin wrote:
This appears to be a bug of some sort. What do you have entered as "Server URL" (you don't need to include the host) and "Server software interface"?

A slightly older version that seems to not have this problem is also available. I would like to find out why this error occurs though (I'm unable to reproduce it).


Server URL = http://ofcguild.com/eqdkp
Server software interface = EQDKP with plugin

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Tue Nov 28, 2006 9:39 pm    Post subject:

Reply with quote


To be honest I'm quite stumped. The 1.3.2e plugin has been removed from the download page and replaced by 1.3.2c while this is being figured out.

This is the diff between the two versions (1.3.2e downloaded from the download page and 1.3.2c from the other thread):

Quote:
diff -r 1.3.2c/plugins/dkplp/deprecated.php 1.3.2e/plugins/dkplp/deprecated.php
11c11
< * @version $Revision: 812 $
---
> * @version $Revision: 1051 $
25c25
< require_once('./lib/xmlrpc.php');
---
> require_once('./lib/xmlrpc.inc');
29c29
< require_once('./lib/xmlrpcs.php');
---
> require_once('./lib/xmlrpcs.inc');
diff -r 1.3.2c/plugins/dkplp/dkplp_plugin_class.php 1.3.2e/plugins/dkplp/dkplp_plugin_class.php
32c32
< 'version' => '1.3.2c',
---
> 'version' => '1.3.2e',
diff -r 1.3.2c/plugins/dkplp/dkprpc.php 1.3.2e/plugins/dkplp/dkprpc.php
10c10
< * @version $Revision: 1036 $
---
> * @version $Revision: 1051 $
28c28
< require_once('./lib/xmlrpc.php');
---
> require_once('./lib/xmlrpc.inc');
32c32
< require_once('./lib/xmlrpcs.php');
---
> require_once('./lib/xmlrpcs.inc');
Only in 1.3.2e/plugins/dkplp/lib: xmlrpc.inc
Only in 1.3.2c/plugins/dkplp/lib: xmlrpc.php
Only in 1.3.2e/plugins/dkplp/lib: xmlrpcs.inc
Only in 1.3.2c/plugins/dkplp/lib: xmlrpcs.php
Only in 1.3.2e/plugins/dkplp/lib: xmlrpc_wrappers.inc
diff -r 1.3.2c/plugins/dkplp/util.php 1.3.2e/plugins/dkplp/util.php
10c10
< * @version $Revision: 997 $
---
> * @version $Revision: 1078 $
209,213d208
<
< $sql = "SELECT count(*) FROM ".RAID_ATTENDEES_TABLE."
< WHERE raid_id = ".$db->escape($raidId)."
< AND member_name = '".$db->escape($member)."'";
< $duplicate = $db->query_first($sql);
244a240,252
> //Check whether the first raid date should be updated.
> $sql = "SELECT member_firstraid FROM ".MEMBERS_TABLES." ".
> "WHERE member_name = ".$db->escape($member);
> $firstRaid = $db->query_first($sql);
> if($firstRaid == 0) {
> //The first raid has to be updated.
> $sql = "SELECT min(raid_date) FROM ".RAIDS_TABLE." r, ".RAID_ATTENDEES_TABLE." ra ".
> "WHERE member_name='".$db->escape($member)."' AND r.raid_id = ra.raid_id";
> $firstRaid = $db->query_first($sql);
> $db->query("UPDATE ".MEMBERS_TABLE." SET member_firstraid=".$db->escape($firstRaid)." ".
> "WHERE member_name='".$db->escape($member)."'");
> }
>
279a288
> return new xmlrpcresp(new xmlrpcval(true, "boolean"));
527a537,543
>
> /**
> * For PHP 5.2 compatibility.
> */
> public function __toString() {
> return $this->event . ": " . $this->note;
> }
647a664,670
>
> /**
> * For PHP 5.2 compatibility.
> */
> public function __toString() {
> return $this->itemName . " bought by " . $this->buyer;
> }
804a828,834
>
> /**
> * For PHP 5.2 compatibility.
> */
> public function __toString() {
> return $this->note . ": " . $this->reward;
> }
diff -r 1.3.2c/plugins/dkplp/xmlrpc/dkprpc.php 1.3.2e/plugins/dkplp/xmlrpc/dkprpc.php
10c10
< * @version $Revision: 812 $
---
> * @version $Revision: 1059 $
34c34
< include_once('../lib/xmlrpc.php');
---
> include_once('../lib/xmlrpc.inc');
38c38
< include_once('../lib/xmlrpcs.php');
---
> include_once('../lib/xmlrpcs.inc');


So something in there causes this. The lib files were changed and a query or two were changed (the latter should have no affect on this). There is an old file at "dkplp/xmlrpc/dkprpc.php" which is there for backwards compatibility, it uses S6. Hence I'm guessing that the main file "dkplp/dkprpc.php" fails and the client hence falls back on the old one. I just can't figure out why the main one fails and not the fall back, they use the same libraries and both their libraries were changed.

Quote:
Certainly seems like a bug in the latest version of the plugin. I'd be happy to offer whatever assistance I can in troubleshooting this with you.


I can't reproduce this so I appreciate your help. What I would need is to see what goes on when the client tries to connect to the server. If you're used to watching network packages (or feel adventurous Smile ) then you could sniff your own network traffic when the client connects (using wireshark for instance). I'm suspecting that it will first try to call the "plugins/dkplp/dkprpc.php" file but that it will return an error of some sort (in the text returned, not an http error code), at which point the client will call "plugins/dkplp/xmlrpc/dkprpc.php" instead.

Alternatively if you could set up a temporary account for me at your EQDKP installation so that I can try to connect myself. It's understandable if you would not want to do that though.

*edit*

And just to verify that the fall back dkprpc.php file (plugins/dkplp/xmlrpc/dkprpc.php) is used one could delete/rename it and see if the client can still connect.

*edit edit*

I just spotted what is wrong: I used "public function" instead of "function" when creating the new toString functions. The former is valid in PHP 5 but not previous versions. New version is on the way.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Tue Nov 28, 2006 10:08 pm    Post subject:

Reply with quote


Here's a dev build which should hopefully fix the problem. Please tell me whether it does.


dkplp-plugin-dev.zip
 Description:

Download
 Filename:  dkplp-plugin-dev.zip
 Filesize:  72.19 KB
 Downloaded:  150 Time(s)

Back to top

Frink



Joined: 13 Jun 2006
Posts: 31

PostPosted: Wed Nov 29, 2006 6:25 pm    Post subject:

Reply with quote


Lokorin wrote:
Here's a dev build which should hopefully fix the problem. Please tell me whether it does.


I'll give it a shot and let you know, thanks Smile

Back to top

DarkNight



Joined: 13 Jun 2006
Posts: 6

PostPosted: Wed Nov 29, 2006 7:30 pm    Post subject:

Reply with quote


Lokorin wrote:
Here's a dev build which should hopefully fix the problem. Please tell me whether it does.

Bingo! That file's a winner. I now get specification number S7 and the representations are displayed correctly. Thanks for the great work Lokorin.

Back to top

Frink



Joined: 13 Jun 2006
Posts: 31

PostPosted: Wed Nov 29, 2006 7:57 pm    Post subject:

Reply with quote


DarkNight wrote:
Lokorin wrote:
Here's a dev build which should hopefully fix the problem. Please tell me whether it does.

Bingo! That file's a winner. I now get specification number S7 and the representations are displayed correctly. Thanks for the great work Lokorin.


That's great news...looking forward to installing this.

Thanks for the quick fix, Lokorin Very Happy

Back to top

Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
SoftGreen 1.1 phpBB theme © DaTutorials.com 2005