Recent Topics

1 Mar 27, 2007 07:14    

My b2evolution Version: Not Entered

Hello All;

Using 1.9.3 and trying to post from Windows Live Writer and I get the following error:

"The response to the mt.setPostCategories method received from the weblog server was invalid."

The post seem to go the my blog, but they are put in draft, and I have to go in and then publish them. I would like to have them published, could this be related to the error, or have I missed a setting?

TIA

2 Jul 27, 2007 01:20

I'm having the same problem with b2evolution version 1.10.2.

After some investigation, it seems that there is a problem with categories. Are the expected as number instead of strings?

Here is my xmlrpc log:

2007-07-26 00:51:00  Input: Called method:metaWeblog.newPost
2007-07-26 00:51:00  Output: start of mwnewpost...
2007-07-26 00:51:00  Output: finished getting username ...
2007-07-26 00:51:00  Output: finished getting password ...********
2007-07-26 00:51:00  Output: finished checking password ...
2007-07-26 00:51:00  Output: finished getting xcontent ...
2007-07-26 00:51:00  Input: Publish: 0 -> Status: draft
2007-07-26 00:51:00  Output: finished getting xstatus ->0
2007-07-26 00:51:00  Output: finished getting contentstruct ...
2007-07-26 00:51:00  Output: finished getting title ...
2007-07-26 00:51:00  Output: finished getting contentstruct categories...
2007-07-26 00:51:00  Output: No category for post given ...
2007-07-26 00:51:00  Output: no contentstruct dateCreated, using now...2007-07-26 00:51:00
2007-07-26 00:51:00  Output: finished checking permissions ...
2007-07-26 00:51:00  Output: Handling notifications...
2007-07-26 00:51:00  Output: service() response:
<?xml version="1.0" ?>
<!-- DEBUG INFO:

Getting xcontent
Categories: 

-->
<methodResponse>
<params>
<param>
<value><string>469</string></value>
</param>
</params>
</methodResponse>

After this, I get an empty post in posts list.

I was able to capture xml sent to b2evolution:

<?xml version="1.0" encoding="utf-8"?>
<methodCall>
 <methodName>metaWeblog.newPost</methodName>
 <params>
  <param>
   <value><string>7</string></value>
  </param>
  <param>
   <value><string>username</string></value>
  </param>
  <param>
   <value><string>******</string></value>
  </param>
  <param>
   <value>
     <struct>
       <member>
          <name>title</name><value><string>Test title</string></value>
       </member>
       <member>
          <name>description</name>
          <value><string>some content</string></value>
       </member>
       <member>
           <name>categories</name>
           <value>
              <array>
                  <data><value><string>Internet</string></value></data>
              </array>
          </value>
      </member>
    </struct>
  </value>
</param>
<param>
   <value><boolean>0</boolean></value>
</param>
</params></methodCall>

Is there anybody there, able to fix this issue? Live writer is a cool editor! :)

3 Nov 08, 2007 03:15

Similar error.
I've just downloaded the final version of WLW. I run b2evo 1.10.2.

I succeeded to correctly configure Windows Live Writer. Setting it to WordPress it's able to connect to my blog, to recover categories and everything else.
But the problem is when i try to post something.
WLW publishes an empty post and termitates with these errors:

Invalid response from method metaWeblog.newPost.
Invalid response document returned from XmlRpc server.

Does anyone know if 2.x version solve this?
Hope in a solution since WLW is really nice and useful! It's maybe the best software of Windows live suite.

4 Nov 08, 2007 07:23

I never did work with Live Writer, but I tried to set it up for 2.0.2, but didn't succeed. I didn't get through the basic configuration. Non of the API's accepted xmrcp.php.

@paolom65: interesting thought: the database needs an int for the Category, but half way through the proces it's stored as a php variable and I don't thinl it matters from there if it's a string or an int as long as it's a number.

I will try to get some more information. I think it's important B2evo can work with programs like Live Writer.

Good luck

5 Nov 08, 2007 22:54

Afwas wrote:

@paolom65: interesting thought: the database needs an int for the Category, but half way through the proces it's stored as a php variable and I don't thinl it matters from there if it's a string or an int as long as it's a number.

BTW, I just checked 1.10.3 vs 1.10.2 and xmlrpc.php is exactly the same.

No bug fix at all.

Afwas wrote:

I will try to get some more information. I think it's important B2evo can work with programs like Live Writer.

I agree with you!

Paolo.

http://www.drakeworld.net/blogs/drakeblog

6 Nov 08, 2007 23:18

Yes, i've just updated my be2vo to 1.10.3 version and the problem still remains.
I also tried 2.1 but Live Writer works even more bad. It's able to recover blog settings and categories of 1.10.3, but doesn't undertand anything when i try to connect to 2.1. I'm afraid i won't never able to use LW with b2evolution.

OT: i looked at yuour blog, and you suggest me a great thing talking about IE7Pro. I use it since many months, but never turned on save text option. I suppose that option is a great helper and will take a look.

Bye
Ciao

7 Nov 08, 2007 23:53

skynet wrote:

OT: i looked at yuour blog, and you suggest me a great thing talking about IE7Pro. I use it since many months, but never turned on save text option. I suppose that option is a great helper and will take a look.

It's a really cool option. It saved me a lot of troubles! B)

Bye,
Paolo.
[url=http://www.drakeworld.net/blogs/drakeblog]-= DrakeBlog =-[/url]


Form is loading...