DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
"no server interface was found at the specified locatio
Goto page 1, 2  Next
 
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

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Fri Nov 10, 2006 9:57 am    Post subject: "no server interface was found at the specified locatio

Reply with quote


Hi, Ive been using eqdkp and dkplp for 4 months now. I have not changed anything on the server and yesterday I couldnt log into the eqdkp site all of a sudden from dkplp, the other person who updates the dkp has the same problem. :S

Im completely blank on what to do, any pointers?

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Nov 11, 2006 12:57 pm    Post subject:

Reply with quote


Where is you EQDKP site located (you can PM me if you wish)? Since you have not changed the configuration the only reasons left would be that the plugin has vanished/failed because of some reason.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Nov 11, 2006 1:51 pm    Post subject:

Reply with quote


Thanks for the PM, I'm trying to find what's going on now. The server returns an error message that looks something like this

Code:
<b>Catchable fatal error</b>:  Object of class xmlrpcval could not be converted to string in <b>[location]/plugins/dkplp/lib/xmlrpcs.php</b> on line <b>427</b><br />


xmlrpcs.php is a third party library that the plugin uses to enable XML-RPC communications. The line talked about in the error message is:

Code:
            $m=new xmlrpcmsg($_xh[$parser]['method']);
            // now add parameters in
            $plist='';
            //$allOK = 1;
            for($i=0; $i<sizeof($_xh[$parser]['params']); $i++)
            {
               //print "<!-- " . $_xh[$parser]['params'][$i]. "-->\n";
line 427:      $plist.="$i - " .  $_xh[$parser]['params'][$i]. ";\n";
               //$allOK = 0;
               //@eval('$m->addParam(' . $_xh[$parser]['params'][$i]. '); $allOK=1;');
               @$m->addParam($_xh[$parser]['params'][$i]);
               //if (!$allOK)
               //{
               //   break;
               //}
            }


Which is part of a function that parses incoming requests. I will see if I can find an error somewhere.

That it happened without you changing anything would indicate the possibility of it being a result of an upgrade of the server's php version or that a configuration was changed. If you have the possibility of investigating that, then it might help. Another thing that could also be tried is to download the latest version of the library used (where the bug might have been fixed). Replace the plugins/dkplp/lib directory with the lib directory found in the latest version of the library to upgrade it. If you feel that what I just said was gibberish then I can upload a version of the plugin where the library has been upgraded for you.

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sat Nov 11, 2006 2:11 pm    Post subject:

Reply with quote


Hmmm, U mean 2.1 version ? Or 1.2.1 version?


Edit: Nvm, me stoopid...

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Nov 11, 2006 2:14 pm    Post subject:

Reply with quote


I should say that I have not tested with the 2.x version, it might not be backwards compatible. So unless you're used to PHP I can try to see how much work it is to switch to that version.

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sat Nov 11, 2006 2:15 pm    Post subject:

Reply with quote


tried replacing the lib folder, didnt work :S

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sat Nov 11, 2006 2:23 pm    Post subject:

Reply with quote


Im not that familiar with php no :S

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Nov 11, 2006 2:35 pm    Post subject:

Reply with quote


Lets see, it seems to be backwards compatible so only a few changes have to be made in addition to replacing the lib directory. I will walk you through them.

First download the files name "dkprpc.php" and "deprecated.php" from the plugins/dkplp/ directory. Then open the downloaded "dkprpc.php" with some editor (e.g. notepad). Close to the beginning of the file you will see the following lines:

Code:
/**
 * For access to a stand-alone XML-RPC implementation.
 */
require_once('./lib/xmlrpc.php');
/**
 * For access to a stand-alone XML-RPC implementation.
 */
require_once('./lib/xmlrpcs.php');


Replace them with the following (the .php extension has been changed to .inc):

Code:
/**
 * For access to a stand-alone XML-RPC implementation.
 */
require_once('./lib/xmlrpc.inc');
/**
 * For access to a stand-alone XML-RPC implementation.
 */
require_once('./lib/xmlrpcs.inc');


Now save the file and close it. Now open the "deprecated.php" file you downloaded and make the same changes, then save and close it. Finally upload the changed files overwriting the old ones.

To ensure that everything is working visit http://[your_eqdkp_site]eqdkp/plugins/dkplp/dkprpc.php If you see something similar to

Code:
<methodResponse>
   <fault>
   <value>
   <struct>
   <member>
<name>faultCode</name>
   <value>
<int>105</int>
</value>
</member>
   <member>
<name>faultString</name>
   <value>
<string>XML error: Invalid document end at line 1</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>


Then the library switch was successful. If it displays a php error then it was not. If it was not successful then please tell me and I will upload a new distribution containing the changes. If it was successful then try to connect again and see if it works better.

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sat Nov 11, 2006 2:40 pm    Post subject:

Reply with quote


that fixed it!!! Thank you so much!!!! Still waiting for the livehelp to reply from my hoster Very Happy

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Nov 11, 2006 2:44 pm    Post subject:

Reply with quote


Thanks for reporting the error an testing the fix Smile

A new distribution will be released today or tomorrow with updated libraries in case anyone else runs into the same problems.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sun Nov 12, 2006 1:41 pm    Post subject:

Reply with quote


Plugin version 1.3.2d has now been released.

The thing that triggers the bug seems to be upgrading to php 5.2 (which was released about 10 days ago, meaning that webhosts are beginning to upgrade to it right about now).

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sun Nov 12, 2006 2:41 pm    Post subject:

Reply with quote


hmmmm, seems I still have some problems here :S. I parsed a string & got this error message: " There were some problems while uploading. Most of the day might however still have been uploaded successfully. java.lang.NullPointerException"

Ive also set /raidtracker oldformat 0 before I uploaded, incase that has something to say about it Razz



log.txt
 Description:

Download
 Filename:  log.txt
 Filesize:  14.28 KB
 Downloaded:  146 Time(s)

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sun Nov 12, 2006 4:00 pm    Post subject:

Reply with quote


Zapfcarn wrote:
hmmmm, seems I still have some problems here :S. I parsed a string & got this error message: " There were some problems while uploading. Most of the day might however still have been uploaded successfully. java.lang.NullPointerException"


I can't seem to be able to reproduce it. Have you replaced the plugin with the newly released version? It contains some additional tweaks. Additionally could you please post the contents of the error log?

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sun Nov 12, 2006 4:43 pm    Post subject:

Reply with quote


yeah, I uploaded the whole new plugin to the server.

Here is the error.txt file btw.



errors.txt
 Description:

Download
 Filename:  errors.txt
 Filesize:  164 Bytes
 Downloaded:  175 Time(s)

Back to top

Zapfcarn



Joined: 13 Aug 2006
Posts: 21

PostPosted: Sun Nov 12, 2006 4:48 pm    Post subject:

Reply with quote


btw, could it have anything to do with that my eqdkp site isnt on the normal www.yoursite.com/eqdkp but in: www.yoursite.com/apps/eqdkp ?

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
Goto page 1, 2  Next
Page 1 of 2

 


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