Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-27 04:57:58

zheaton
New Member
Registered: 2009-01-27
Posts: 3

[resolved] [Solved] Issues with XML-RPC, blogger.getUsersPosts() not specified

Greetings,

I’m running TextPattern 4.0.8 on Apache 2 with mod_rewrite and clean urls. When I attempt to access the XML-RPC interface (for example, by using Ecto or mtsend.py) I receive the following error message from the server with the error code -32601:

server error. requested method "blogger.getUsersBlogs" not specified

Tracing through the source code indicates that this error is being thrown by lib/IXRClass.php because it can’t find the blogger_getUsersBlogs method defined in rpc/TXP_RPCServer.php. Does anyone have any ideas as to why rpc/TXP_RPCServer.php might not be extended?

Diagnostics section follows:

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-01-27 04:14:22/2009-01-23 19:20:55
Document root: /var/www/ (/var/www)
$path_to_site: /var/www
Textpattern path: /var/www/textpattern
Permanent link mode: section_title
Temporary directory path: /tmp
Site URL: hostname.tld # Redacted for this post
PHP version: 5.2.4-2ubuntu5.4
GD Image Library: version 2.0 or higher, supported formats: GIF, JPG, PNG
Server Local Time: 2009-01-26 23:52:32
MySQL: 5.0.51a-3ubuntu5.4
Locale: en_US.UTF-8
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
Apache version: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.18-028stab057.4-ent
Active plugins: rss_auto_excerpt-0.5, zem_paginate-0.1, mem_glinklist-0.8.5, zem_event-0.3.5, ied_hide_in_admin-0.1.6


I've set up clean URLs via Apache configuration as opposed to .htaccess - here's the relevant section of my Apache config:


        <Directory /var/www/>
                Options -Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all

                # Set up mod_deflate to compress HTML.
                AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css

                # This section is a port of the rewrite
                # directives from TextPattern's .htaccess file, designed
                # to let clean URL writing happen

                RewriteEngine On
                RewriteBase /

                # Rewrite anything that's not a file or a directory
                RewriteCond %{REQUEST_FILENAME} -f [OR]
                RewriteCond %{REQUEST_FILENAME} -d
                RewriteRule ^(.+) - [PT,L]

                # If the target URL doesn't exist, pass it to index.php
                RewriteRule ^(.+) index.php

                RewriteCond %{HTTP:Authorization} !^$
                RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
        </Directory>

Offline

#2 2009-03-07 20:28:11

zheaton
New Member
Registered: 2009-01-27
Posts: 3

Re: [resolved] [Solved] Issues with XML-RPC, blogger.getUsersPosts() not specified

Problem solved – after tracking through the source code, it turns out that clicking “Enable XML-RPC” in the advanced preferences is a good idea if you plan on using XML-RPC. (beats forehead against desk)

Offline

Board footer

Powered by FluxBB