mt.supportedTextFilters

Found a bug? Tell us!!
Post Reply
rbrugman
Regular
Posts: 21
Joined: Mon Jun 16, 2003 3:12 pm
Contact:

mt.supportedTextFilters

Post by rbrugman »

Hello,
I use KungLog to update my blog. It supports Serendipity, but in the latest version, it gives me an XML-RPC error. I e-mailed the creator of KungLog, and he said:

"Looks like they expect parameters for mt.supportedTextFilters, where they should not."

Here is the output of the KungLog console:

Code: Select all

XMLRPC parameters for blogger.getUsersBlogs:
{
    appkey = CBA1A614CEFC5337A795A465752597A7BEEB0287; 
    password = ******; 
    username = "code_zero"; 
}

Invoking XMLRPC call...

WebServicesCore Response:
{
    "/Result" = (
        {
            dateCreated = 2003-09-08 11:51:57 -0400; 
            postid = 42; 
            title = "*zzzZZZzzz*"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-09-03 13:09:09 -0400; 
            postid = 41; 
            title = "My Results from Quizilla re: a movie"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-09-03 11:02:26 -0400; 
            postid = 40; 
            title = "New Updates"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-09-02 11:26:48 -0400; 
            postid = 39; 
            title = "First Day = First Impressions = Entry in Douche Bags 
Section"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-09-01 15:35:21 -0400; 
            postid = 38; 
            title = "Update #3:  Teacher Strike Info"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-08-30 18:57:08 -0400; 
            postid = 37; 
            title = "I hate Quizilla!"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-08-29 10:59:23 -0400; 
            postid = 36; 
            title = "Update #2:  Teacher Strike Situation"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-08-28 18:32:49 -0400; 
            postid = 35; 
            title = "Confirmed:  School Start Time Detais, the Truth"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-08-27 13:53:05 -0400; 
            postid = 34; 
            title = "Stop the Canadians"; 
            userid = 1; 
        }, 
        {
            dateCreated = 2003-08-26 18:18:45 -0400; 
            postid = 33; 
            title = "Update:  New Strike Information"; 
            userid = 1; 
        }
    ); 
    "/kWSHTTPResponseMessage" = <NSCFType: 0x165f390>; 
}

WebServicesCore Response:
{
    "/Result" = (
        {
            blogName = "Code Zero's Bitchlist"; 
            blogid = 1; 
            url = "http://blog.reaktor6.de/"; 
        }
    ); 
    "/WSDebugInBody" = "<?xml version=\"1.0\"?>
<!-- DEBUG INFO:
0 - new XML_RPC_Value(\"CBA1A614CEFC5337A795A465752597A7BEEB0287\", 
'string') 
1 - new XML_RPC_Value(\"code_zero\", 'string') 
2 - new XML_RPC_Value(\"******\", 'string') 

-->
<methodResponse>
<params>
<param>
<value><array>
<data>
<value><struct>
<member><name>url</name>
<value><string>http://blog.reaktor6.de/</string></value>
</member>
<member><name>blogid</name>
<value><string>1</string></value>
</member>
<member><name>blogName</name>
<value><string>Code Zero's Bitchlist</string></value>
</member>
</struct></value>
</data>
</array></value>
</param>
</params>
</methodResponse>"; 
    "/WSDebugInHeaders" = {
        "Cache-Control" = "no-store, no-cache, must-revalidate, 
post-check=0, pre-check=0"; 
        Connection = close; 
        "Content-Length" = 623; 
        "Content-Type" = "text/xml"; 
        Date = "Mon, 08 Sep 2003 18:45:10 GMT"; 
        Expires = "Thu, 19 Nov 1981 08:52:00 GMT"; 
        Pragma = "no-cache"; 
        Server = "Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7 
PHP/4.3.0"; 
        "Set-Cookie" = "PHPSESSID=b4f397fcdc922815792a7a4fadace5cf; 
path=/"; 
        "X-Powered-By" = "PHP/4.3.0"; 
    }; 
    "/WSDebugOutBody" = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
  <methodCall>
    <methodName>blogger.getUsersBlogs</methodName>
    <params>
      <param>
          <value>
            <string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string>
          </value>
      </param>
      <param>
          <value>
            <string>code_zero</string>
          </value>
      </param>
      <param>
          <value>
            <string>******</string>
          </value>
      </param>
    </params>
  </methodCall>
"; 
    "/WSDebugOutHeaders" = {
        "Content-Type" = "text/xml"; 
        Host = "blog.reaktor6.de"; 
        "User-Agent" = "Kung-Log/1.3 (Macintosh; U; PPC Mac OS X) 
WebServicesCore"; 
    }; 
    "/kWSHTTPResponseMessage" = <NSCFType: 0x16e9170>; 
}

XMLRPC parameters for blogger.getUserInfo:
{
    appkey = CBA1A614CEFC5337A795A465752597A7BEEB0287; 
    password = ******; 
    username = "code_zero"; 
}

Invoking XMLRPC call...

WebServicesCore Response:
{
    "/Result" = {
        email = "rbrugman@mac.com"; 
        firstname = ""; 
        lastname = ""; 
        nickname = "code_zero"; 
        url = "http://blog.reaktor6.de/"; 
        userid = 1; 
    }; 
    "/WSDebugInBody" = "<?xml version=\"1.0\"?>
<!-- DEBUG INFO:
0 - new XML_RPC_Value(\"CBA1A614CEFC5337A795A465752597A7BEEB0287\", 
'string') 
1 - new XML_RPC_Value(\"code_zero\", 'string') 
2 - new XML_RPC_Value(\"******\", 'string') 

-->
<methodResponse>
<params>
<param>
<value><struct>
<member><name>nickname</name>
<value><string>code_zero</string></value>
</member>
<member><name>userid</name>
<value><string>1</string></value>
</member>
<member><name>url</name>
<value><string>http://blog.reaktor6.de/</string></value>
</member>
<member><name>email</name>
<value><string>rbrugman@mac.com</string></value>
</member>
<member><name>lastname</name>
<value><string></string></value>
</member>
<member><name>firstname</name>
<value><string></string></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>"; 
    "/WSDebugInHeaders" = {
        "Cache-Control" = "no-store, no-cache, must-revalidate, 
post-check=0, pre-check=0"; 
        Connection = close; 
        "Content-Length" = 797; 
        "Content-Type" = "text/xml"; 
        Date = "Mon, 08 Sep 2003 18:45:10 GMT"; 
        Expires = "Thu, 19 Nov 1981 08:52:00 GMT"; 
        Pragma = "no-cache"; 
        Server = "Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7 
PHP/4.3.0"; 
        "Set-Cookie" = "PHPSESSID=5cad4aa09a40e0eff74d17e7b8271169; 
path=/"; 
        "X-Powered-By" = "PHP/4.3.0"; 
    }; 
    "/WSDebugOutBody" = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
  <methodCall>
    <methodName>blogger.getUserInfo</methodName>
    <params>
      <param>
          <value>
            <string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string>
          </value>
      </param>
      <param>
          <value>
            <string>code_zero</string>
          </value>
      </param>
      <param>
          <value>
            <string>******</string>
          </value>
      </param>
    </params>
  </methodCall>
"; 
    "/WSDebugOutHeaders" = {
        "Content-Type" = "text/xml"; 
        Host = "blog.reaktor6.de"; 
        "User-Agent" = "Kung-Log/1.3 (Macintosh; U; PPC Mac OS X) 
WebServicesCore"; 
    }; 
    "/kWSHTTPResponseMessage" = <NSCFType: 0x16ee340>; 
}

XMLRPC parameters for mt.supportedTextFilters:
{}

Invoking XMLRPC call...

WebServicesCore Response:
{
    "/FaultCode" = -65794; 
    "/FaultExtra" = {domain = -1; error = -65795; msg = "No valid XML 
data in response"; }; 
    "/FaultString" = "/CFStreamFault"; 
    "/WSDebugInBody" = "<br />
<b>Fatal error</b>:  Call to a member function on a non-object in 
<b>/usr/home/reaktor/blog/serendipity_xmlrpc.php</b> on line 
<b>128</b><br />
"; 
    "/WSDebugInHeaders" = {
        "Cache-Control" = "no-store, no-cache, must-revalidate, 
post-check=0, pre-check=0"; 
        Connection = close; 
        "Content-Type" = "text/html"; 
        Date = "Mon, 08 Sep 2003 18:45:15 GMT"; 
        Expires = "Thu, 19 Nov 1981 08:52:00 GMT"; 
        Pragma = "no-cache"; 
        Server = "Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7 
PHP/4.3.0"; 
        "Set-Cookie" = "PHPSESSID=ce2cb30131a30e0af12c4be3bc29d4f4; 
path=/"; 
        "X-Powered-By" = "PHP/4.3.0"; 
    }; 
    "/WSDebugOutBody" = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
  <methodCall>
    <methodName>mt.supportedTextFilters</methodName>
  </methodCall>
"; 
    "/WSDebugOutHeaders" = {
        "Content-Type" = "text/xml"; 
        Host = "blog.reaktor6.de"; 
        "User-Agent" = "Kung-Log/1.3 (Macintosh; U; PPC Mac OS X) 
WebServicesCore"; 
    }; 
    "/kWSHTTPResponseMessage" = <NSCFType: 0x16fd600>; 
    "/kWSResultIsFault" = 1; 
}

XMLRPC parameters for mt.getCategoryList:
{blogid = 1; password = ******; username = "code_zero"; }

Invoking XMLRPC call...

WebServicesCore Response:
{
    "/Result" = (
        {categoryId = 1; categoryName = "Douche Bags"; }, 
        {categoryId = 2; categoryName = b00bies; }, 
        {categoryId = 3; categoryName = Bastards; }, 
        {categoryId = 4; categoryName = Bitches; }
    ); 
    "/WSDebugInBody" = "<?xml version=\"1.0\"?>
<!-- DEBUG INFO:
0 - new XML_RPC_Value(\"1\", 'string') 
1 - new XML_RPC_Value(\"code_zero\", 'string') 
2 - new XML_RPC_Value(\"******\", 'string') 

-->
<methodResponse>
<params>
<param>
<value><array>
<data>
<value><struct>
<member><name>categoryId</name>
<value><string>1</string></value>
</member>
<member><name>categoryName</name>
<value><string>Douche Bags</string></value>
</member>
</struct></value>
<value><struct>
<member><name>categoryId</name>
<value><string>2</string></value>
</member>
<member><name>categoryName</name>
<value><string>b00bies</string></value>
</member>
</struct></value>
<value><struct>
<member><name>categoryId</name>
<value><string>3</string></value>
</member>
<member><name>categoryName</name>
<value><string>Bastards</string></value>
</member>
</struct></value>
<value><struct>
<member><name>categoryId</name>
<value><string>4</string></value>
</member>
<member><name>categoryName</name>
<value><string>Bitches</string></value>
</member>
</struct></value>
</data>
</array></value>
</param>
</params>
</methodResponse>"; 
    "/WSDebugInHeaders" = {
        "Cache-Control" = "no-store, no-cache, must-revalidate, 
post-check=0, pre-check=0"; 
        Connection = close; 
        "Content-Length" = 1073; 
        "Content-Type" = "text/xml"; 
        Date = "Mon, 08 Sep 2003 18:45:33 GMT"; 
        Expires = "Thu, 19 Nov 1981 08:52:00 GMT"; 
        Pragma = "no-cache"; 
        Server = "Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.7 
PHP/4.3.0"; 
        "Set-Cookie" = "PHPSESSID=f676ff83cf5f93565a68e53f2ff89569; 
path=/"; 
        "X-Powered-By" = "PHP/4.3.0"; 
    }; 
    "/WSDebugOutBody" = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
  <methodCall>
    <methodName>mt.getCategoryList</methodName>
    <params>
      <param>
          <value>
            <string>1</string>
          </value>
      </param>
      <param>
          <value>
            <string>code_zero</string>
          </value>
      </param>
      <param>
          <value>
            <string>******</string>
          </value>
      </param>
    </params>
  </methodCall>
"; 
    "/WSDebugOutHeaders" = {
        "Content-Type" = "text/xml"; 
        Host = "blog.reaktor6.de"; 
        "User-Agent" = "Kung-Log/1.3 (Macintosh; U; PPC Mac OS X) 
WebServicesCore"; 
    }; 
    "/kWSHTTPResponseMessage" = <NSCFType: 0x1716a70>; 
}
Please e-mail me if you have any questions.

Robert
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

We have no official support for KingLog... if he has an idea how it should be fixed, then feel free to come with suggestions... :)
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Should work now
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply