Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

3.2 conflict feedback

fixed
UserPost

1:01 am
February 3, 2010


gordsmith

Member

posts 8

1

Hi just to let you know I have found a conflict when using Windows Live Writer with version 3.2 of DCG installed. Everything was working fine before update and turning off DCG enables it to work again.

The error message I get from Live Writer when I upload a post is:

"The response to the metaWeblog.newPost method received from the weblog server was invalid:

Invalid response document returned from XmlRpc server"

 

I hope this helps

Thanks

1:47 am
February 3, 2010


Ade

Admin

posts 1140

2

Post edited 1:58 am – February 3, 2010 by Ade


Thanks for the info. I'll look into it.

Edit: Do you get this error on all posts, or just posts which have DCG data in the metabox? If you're using One Category or Multi OPtion, do you get the WLW problem when posting a Page?

Can you send me your WLW log file? (In WLW, go to Help, About and click on the Show Log File link.)

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:30 am
February 3, 2010


gordsmith

Member

posts 8

3

Post edited 2:35 am – February 3, 2010 by gordsmith


will do. Is there any way to attach the file or should I copy/paste it?

2:54 am
February 3, 2010


Ade

Admin

posts 1140

4

Don't worry, I've found the problem: a tiny, weeny little bug in dfcg-admin-metaboxes.php.

I'll issue an update tomorrow or the day after, but to get you going, you can edit these lines in dfcg-admin-metaboxes.php:

Change line 34 from this:

add_meta_box( DFCG_FILE_HOOK . '_box', __( 'Dynamic Content Gallery', DFCG_DOMAIN ), 'dfcg_meta_box', 'page', 'side' );

to this:

add_meta_box( DFCG_FILE_HOOK . '_box', __( 'Dynamic Content Gallery', DFCG_DOMAIN ), 'dfcg_meta_box', 'page', 'side', 'low' );

And change line 38 from this:

add_meta_box( DFCG_FILE_HOOK . '_box', __( 'Dynamic Content Gallery', DFCG_DOMAIN ), 'dfcg_meta_box', 'post', 'side' );

to this:

add_meta_box( DFCG_FILE_HOOK . '_box', __( 'Dynamic Content Gallery', DFCG_DOMAIN ), 'dfcg_meta_box', 'post', 'side', 'low' );

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

3:23 am
February 3, 2010


gordsmith

Member

posts 8

5

Post edited 3:28 am – February 3, 2010 by gordsmith


Thanks for that but unfortunatly it still has the same error. Here is the most recent log 1st with new code 2nd with plugin disabled then 3rd with enabled again:

WindowsLiveWriter,6448,None,00028,03-Feb-2010 01:16:40.796,"Exception parsing XML-RPC response:

WindowsLive.Writer.CoreServices.XmlRpcClientInvalidResponseException: Invalid response document returned from XmlRpc server —> System.Xml.XmlException: There are multiple root elements. Line 2, position 2.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
   — End of inner exception stack trace —
   at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
   at WindowsLive.Writer.CoreServices.XmlRpcClient.CallMethod(String methodName, XmlRpcValue[] parameters)

<br />
<b>Warning</b>:  call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'dfcg_save_metabox_data' was given in <b>/home/indiebad/public_html/wp-includes/plugin.php</b> on line <b>339</b><br />
<br />
<b>Warning</b>:  call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'dfcg_save_metabox_data' was given in <b>/home/indiebad/public_html/wp-includes/plugin.php</b> on line <b>339</b><br />
<br />
<b>Warning</b>:  Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>395</b><br />
<br />
<b>Warning</b>:  Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>396</b><br />
<br />
<b>Warning</b>:  Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>397</b><br />
<br />
<b>Warning</b>:  Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>398</b><br />
<?xml version=""1.0″"?>
<methodResponse>
  <params>
    <param>
      <value>
        <boolean>1</boolean>
      </value>
    </param>
  </params>
</methodResponse>
",""
WindowsLiveWriter,6448,Fail,00029,03-Feb-2010 01:16:40.812,"WindowsLive.Writer.Extensibility.BlogClient.BlogClient

InvalidServerResponseException: Invalid Server Response – The response to the metaWeblog.editPost method received from the blog server was invalid:

Invalid response document returned from XmlRpc server
   at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)
   at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.MetaweblogEditPost

(String blogId, BlogPost post, Boolean publish)
   at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish)
   at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish, String& etag, XmlDocument& remotePost)
   at WindowsLive.Writer.BlogClient.Blog.EditPost(BlogPost post, INewCategoryContext newCategoryContext, Boolean publish)
   at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
   at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()","   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.

Fail(String message)
   at System.Diagnostics.TraceInternal.Fail(String message)
   at System.Diagnostics.Trace.Fail(String message)
   at WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog(Boolean publish)
   at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(Boolean publish)
   at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PublishAsDraft()
   at WindowsLive.Writer.PostEditor.PostEditorMainControl.

commandPostAsDraft_Execute

(Object sender, EventArgs e)
   at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
   at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
   at WindowsLive.Writer.ApplicationFramework.CommandBarButtonLightweightControl

.DoShowContextMenu()
   at WindowsLive.Writer.ApplicationFramework.CommandBarButtonLightweightControl

.OnMouseDown(MouseEventArgs e)
   at WindowsLive.Writer.Controls.LightweightControl.RaiseMouseDown(MouseEventArgs e)
   at WindowsLive.Writer.Controls.LightweightControlContainerControl.OnMouseDown

(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at WindowsLive.Writer.Controls.LightweightControlContainerControl.WndProc

(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.

UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.

ThreadMain(Object[] parameters)
   at WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()"
WindowsLiveWriter,6448,None,00030,03-Feb-2010 01:16:40.828,"DisplayableException occurred: WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponse

Exception: Invalid Server Response – The response to the metaWeblog.editPost method received from the blog server was invalid:

Invalid response document returned from XmlRpc server
   at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)
   at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.MetaweblogEditPost

(String blogId, BlogPost post, Boolean publish)
   at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish)
   at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish, String& etag, XmlDocument& remotePost)
   at WindowsLive.Writer.BlogClient.Blog.EditPost(BlogPost post, INewCategoryContext newCategoryContext, Boolean publish)
   at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
   at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()",""

I hope this helps

9:05 am
February 3, 2010


Ade

Admin

posts 1140

6

Are you sure you implemented the edits I posted?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:24 pm
February 3, 2010


gordsmith

Member

posts 8

7

yeah excactly as you posted Smile

8:03 pm
February 3, 2010


Ade

Admin

posts 1140

8

Thanks for the feedback. I'll do some more testing.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:14 pm
February 19, 2010


gordsmith

Member

posts 8

9

Hey, appologies for taking time to get back. The latest update has fixed the problem.

Thanks for such quick responce in fixing the issue.

3:18 am
February 20, 2010


Ade

Admin

posts 1140

10

Great! Glad it's fixed. Thanks for posting back. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?