修复WordPress的Windows Live Writer的问题
我一直使用Windows Live Writer的在写我的博客(WLW)和交叉张贴到两个WordPress站点www.ningzhang.org和Blogger网站blog.ningzhang.org ,非常方便。 昨天,我跑进WordPress站点使用Windows Live Writer的开放和张贴到我的问题:有一个错误对话框说
服务器响应无效 - 博客服务器收到的metaWeblog.newMediaObject方法是无效的
我在网上搜索,尝试了一些事情,很快解决的问题。 希望其他类似的问题,它可能是有用的,在这里分享我的发现。
Windows Live Writer的日志中
WLW有不错的记录。 打开帮助 - >关于Windows Live Writer的菜单项:
你会看到关于“对话框,单击”显示日志文件的链接:
![]()
“的%LOCALAPPDATA%\ Windows Live Writer的文件夹”将弹出,其中包含“Windows即时Writer.log的”文件。 我下面复制相关的错误日志。 不错的堆栈跟踪,调试和诊断非常有帮助 ![]()
WindowsLiveWriter,1.7696,失败,00031,30-APR-2009 01:28:58.595的“WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException:无效的服务器响应 - 博客服务器收到的metaWeblog.newMediaObject方法是无效的:从XMLRPC服务器在WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod,(字符串methodName的,XmlRpcValue []参数)在WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.DoBeforePublishUploadWork在WindowsLive.Writer.PostEditor(IFileUploadContext uploadContext)返回无效的响应文件在WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork,。WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)(字符串的FileReference,BlogFileUploader fileUploader,布尔isWindowsLiveLightboxCloneEnabled的)在WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag标签,String引用)在 标签,String引用)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag的(BeginTag标签)在WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse(AT WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences)(TextWriter输出,ReferenceFixer referenceFixer,ReferenceFixedCallback referenceFixed)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences的(HTML字符串,ReferenceFixer定影液,ReferenceFixedCallback referenceFixed的)WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(HTML字符串,ReferenceFixer定影液,ReferenceFixedCallback referenceFixed的) WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(字符串的HTML,ReferenceFixer定影液) 在WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()在WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart的()“,”在System.Environment.GetStackTrace(例外五,布尔needFileInfo),在System.Environment.get_StackTrace()保存到美味(String消息。Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail)在System.Diagnostics.TraceInternal.Fail(String消息)在WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog在System.Diagnostics.Trace.Fail(弦乐消息)(布尔在WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(布尔发布)发布)WindowsLive.Writer.PostEditor.BlogPostEditingManager.PublishAsDraft()在WindowsLive.Writer.PostEditor.PostEditorMainControl.commandPostAsDraft_Execute的在WindowsLive.Writer(对象发件人,EventArgs的五)。 ApplicationFramework.Command.RaiseEvent(对象eventKey,EventArgs的五)在WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs的五)在WindowsLive.Writer.ApplicationFramework.CommandOwnerDrawMenuItem.OnClick(EventArgs的五)在System.Windows.Forms.MenuItem.MenuItemData执行()在System.Windows.Forms.Command.Invoke的(在System.Windows.Forms.Control.WmCommand(INT32 ID)System.Windows.Forms.Command.DispatchID(消息&M))在System.Windows.Forms的(消息&M。Control.WndProc)在System.Windows.Forms.ContainerControl.WndProc在System.Windows.Forms.Form.WndProc(消息&M)(消息&M)(消息&M System.Windows.Forms.ScrollableControl.WndProc中)在System.Windows.Forms.Control.ControlNativeWindow.OnMessage WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.WndProc(消息&M)(消息&M)在System.Windows.Forms的WindowsLive.Writer.ApplicationFramework.ApplicationForm.WndProc(消息&M) 。Control.ControlNativeWindow.WndProc(消息&M)在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)在System.Windows.Forms.NativeWindow.DefWndProc系统(消息&M)。 Windows.Forms.NativeWindow.WndProc(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 米),在System.Windows.Forms.NativeWindow.Callback(IntPtr的HWND,味精的Int32,IntPtr的IntPtr的WPARAM,LPARAM)System.Windows.Forms.NativeWindow.DefWndProc在System.Windows.Forms.NativeWindow.WndProc(消息&M)(消息&M) 在System.Windows.Forms.NativeWindow.Callback(米),味精的Int32,IntPtr的WPARAM,LPARAM的IntPtr IntPtr的HWND)在System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(味精:味精) 的Int32 pvLoopData dwComponentID,原因的Int32)的Int32原因,System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(ApplicationContext的情况下)在System.Windows.Forms.Application.ThreadContext.RunMessageLoop System.Windows(INT32原因,ApplicationContext的情况下) (MainForm的表格)。Forms.Application.Run在WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.ThreadMain(Object []的参数)在WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run()在System.Threading.ThreadHelper.ThreadStart_Context的(对象状态)在System.Threading.ExecutionContext.Run System.Threading.ThreadHelper.ThreadStart(,ContextCallback回调对象状态的ExecutionContext的ExecutionContext)()“
这是黄金的星级插件!
由于WLW一直与我的WordPress站点罚款直至现在,所以我怀疑这是我的WordPress网站上最近的一些变化,近期最有可能的插件更新,所以我尝试停用插件逐个。 我很幸运! 因为我知道什么插件我最近更新的,所以我第一次停用黄金开始评插件 ,然后使用WLW打开并发布的,和它的工作!
更新
2009-05-05
我跑进此错误时再次发布后,从Windows Live Writer的:

Windows Live Writer的日志显示了类似的错误消息之前和调用堆栈。 我打开我的WordPress站点的顶层目录下的error_log,它有这样的事情:
2009年5月05 - 8点10分59秒] PHP的致命错误:允许内存大小33554432字节用尽(尝试分配865469字节)[删除/上线242] / wp-includes/class-IXR.php
242行类IXR.php的是下面的第二行:
: 案 “BASE64”: ->_currentTagContents ) ); $ 值 = base64_decode(TRIM($ - > _currentTagContents)); 美元valueFlag = TRUE; 打破 ;
因此,它看起来像它跑的内存而base64_decode图像。 我删除了我的文章最大的形象,张贴到博客的草案,它的成功。 然后我编辑草案从WordPress的web用户界面,选择“从计算机中添加图像,插入张贴:
它成功了。
我真的不知道Wordpress或PHP作为开发人员,因此,如果有谁知道如何提高这更好的,请让我知道。 一个一般的新手用户的做法似乎:
- 草案发布到服务器经常以查明肇事者的形象,而你是创作
- 上传和插入图片张贴在WordPress的Web UI








最新评论