Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:22 pm EST

Geeklog Forums

Can't use software with blog plugin


Theophile

Anonymous
Have the blog plugin installed and configured but the 3rd party software doesn't work. I'm using w.bloggar (which is on the list of working clients) and have it set up for my host (themerediths.org) and path (/blog/). It connects, and sees my category titles. I type a new post and click "publish" and it says:
Unable to parse the XML response. Parser Reason:Only one top level element is allowed in and XML document.


If I tell it to view the latest entry, it says:
The blog is empty!
even though there is an entry.

You can see for yourself what the XML output is if you naviate to http://themerediths.org/blog/

If I use Drivel (for Linux) and try to connect to the same RPC, it tells me:
HTTP/POST XML-RPC request failed (HTTP code 301)

However, if I point Drivel to http://themerediths.org/blog/index.php, it is able to sign on and read my most recents posts (albeit, only the html source). But when I try to post a new entry, it says:
Drivel-WARNING **: xmlrpc_parse_packet: Packet is not XML
Drivel-CRITICAL **: drivel_request_set_values: assertion 'table' failed


All this is making me wonder if the plugin is having a difficulty with the data it is getting. Any hepl would be much appreciated. Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Do any of those clients log the actual communication between them and the server? That would be helpful.

The blog plugin itself also has a debug option. To enable it, change the value for "blog.debug" in the gl_vars table in your database to 1 (from 0). Communication with the client is then logged in error.log.

See if any of those provide any insight (and if not, post them here). Looks like the plugin is mostly working, probably only a small detail somewhere ...

bye, Dirk
 Quote

Theophile

Anonymous
None of the clients have dubugging options (other than the Drivel console output I pasted above). I enabled the plugin debugging. It outputs successful processes such as retrieveing the most recent entry (which has mysteriously started working in w.bloggar). But when I attempt to post a new story, it gives that "Unable to parse the XML response..." message, but nothing shows up in the error.log.

I'd like to hear your thoughts. I'm trying to find another client that has a debug option. Let me know if you have any suggestions. Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sounds like something is throwing an error (HTML formatted, probably) when you try to post a story. Now we only need to find out what that message is ...

I'm not too familiar with Blogger clients for Windows, but ecto (for MacOS X) has a nice debug console. I've registered an account with your site (dhaun). So if you would allow me to post through the blog plugin there (see the plugin's options), I'd give it a try.

bye, Dirk
 Quote

Theophile

Anonymous
I've added you to the blog users group. I think that oughta do it. Thanks for your help!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There we go:
Text Formatted Code
Response:

<b>Fatal error</b>:  Cannot instantiate non-existent class:  kses in <b>/var/www/localhost/htdocs/blog/index.php</b> on line <b>329</b>
 

My fault. The blog plugin is not compatible with 1.3.11sr2 yet - I forgot about that little change regarding the kses filter ...

In the plugin's index.php, find the line that reads:
Text Formatted Code
$filter = new kses;
 
and change it to read
Text Formatted Code
$filter = new kses4;
 
Then, a few lines below that, change the two occurences of
Text Formatted Code
$filter->Protocols (...)
 
to read
Text Formatted Code
$filter->SetProtocols (...)
 

That should fix it.

bye, Dirk
 Quote

Theophile

Anonymous
That fixed it! Thanks!

Allow me to say... this is great software. Thanks again for this!
 Quote

Status: offline

eyecravedvd

Forum User
Full Member
Registered: 06/09/03
Posts: 152
I don't have the plugin and had to add that info the lib-common.php on line 3310 in order to edit stories... Shocked
Shane | www.EyeCraveDVD.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by eyecravedvd: I don't have the plugin and had to add that info the lib-common.php on line 3310 in order to edit stories...

Then your Geeklog install is messed up.

The name of the kses class changed in kses 0.2.2 which we're shipping with Geeklog 1.3.11sr2 The plugin was trying to use the old name, hence the above problems.

Geeklog itself should not have these problems, unless you forgot to update a few files ...

bye, Dirk
 Quote

All times are EST. The time is now 06:22 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content