Welcome to Geeklog, Anonymous Friday, July 19 2024 @ 12:51 am EDT

Geeklog Forums

Blog Plugin + GL 1.4.0rc1 + Ecto = Ripping out hair!


Status: offline

graffixjones

Forum User
Newbie
Registered: 01/12/06
Posts: 5
Well, first of all I must say that I just moved over to GL from Wordpress, and I'm just loving it.
Buuut... I'm having some mad problems with the Blog Plugin.

Here's an example of what happens if I try to post/update a story with Ecto (from the Ecto Console):

Text Formatted Code

Request with URL:
http://www.graffixjones.net/blog/index.php
and data:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>blogger.getPost</methodName>
<params>
        <param>
                <value><string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string></value>
        </param>
        <param>
                <value><string>A20060112142155994</string></value>
        </param>
        <param>
                <value><string>graffixjones</string></value>
        </param>
        <param>
                <value><string>******</string></value>
        </param>
</params>
</methodCall>

Response:

<b>Fatal error</b>:  Call to undefined function:  blog_getstory() in <b>/home/graffixj/public_html/blog/index.php</b> on line <b>1509</b>

 


And here's what happens if I try to delete a story with Ecto:
Text Formatted Code

Request with URL:
http://www.graffixjones.net/blog/index.php
and data:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>blogger.deletePost</methodName>
<params>
        <param>
                <value><string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string></value>
        </param>
        <param>
                <value><string>A20060112135819844</string></value>
        </param>
        <param>
                <value><string>graffixjones</string></value>
        </param>
        <param>
                <value><string>******</string></value>
        </param>
        <param>
                <value><boolean>1</boolean></value>
        </param>
</params>
</methodCall>

Response:
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>1</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Unknown method</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>
 


So... my dilemma is that Ecto and the blog plugin are not cooperating. It'll post a story, but throws an error on the reply from the server (well, since it's a failed method I can see why), and I get an unknown method error when trying to delete a story.

A bit of help would be fantastic... once I get Ecto working I'll be in geek heaven.

Thanks mucho.
 Quote

Status: offline

graffixjones

Forum User
Newbie
Registered: 01/12/06
Posts: 5
Well, looks like I'm the first reply to my own post, but oh well...

I've been digging through the code, and I don't see the blog_getstory() function anywhere except in the instance where the case is switched depending on what the remote using is trying to access... that could be why it's giving the 'undefined function' error.

I've also looked through the two included files in /blog/index.php (lib-common.php and lib-story.php) and neither of those has the blog_getstory() function in them either...

It looks to me like the blogger API files (in the Blog plugin) for Geeklog are incomplete...

Ah well... I could be wrong though... does anybody know if I'm beating my head against a brick wall, or is there something I'm missing here? Doh! - that was a mistake
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by graffixjones: I've been digging through the code, and I don't see the blog_getstory() function anywhere except in the instance where the case is switched depending on what the remote using is trying to access... that could be why it's giving the 'undefined function' error.

I knew there was a bug left in the blog plugin but forgot what it was. Looks like you found it Mr. Green

I'll have to look into this once 1.4.0 is finally out ...

bye, Dirk
 Quote

Status: offline

graffixjones

Forum User
Newbie
Registered: 01/12/06
Posts: 5
Thanks Dirk. Smile
I wasn't trying to hammer the plug-in at all... in fact it's a great addition and I really look forward to having it fully functional.

Glad I could help ya beta test... Wink

If you need me to run any more tests on the plugin, just holler... I'm subscribed to this thread, so I'm notified whenever a post is made.

Thanks again.
 Quote

Status: offline

spazthecat

Forum User
Newbie
Registered: 07/14/06
Posts: 14
Hi,

I was just wondering if this issue had been fixed yet?

I just downloaded version 1.1b2 and I am getting the same error with Ecto.

Thanks,

Andy
 Quote

All times are EDT. The time is now 12:51 am.

  • 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