Hi,
I have a kind of similar problem. I recieve the same error as the topic starter and tried to fix it using the following. Methods
I added this code
if (phpversion()=="5.2.2") $GLOBALS['HTTP_RAW_POST_DATA'] =
file_get_contents("php://input");
Source: http://foliovision.com/2007/05/19/xml-rpc-server-wordpress-error/
After that i got a 500 error
$HTTP_RAW_POST_DATA = file_get_contents(“php://input”);
Source: http://josephsmarr.com/2007/06/06/wordpress-xml-rpc-server-accepts-post-requests-only/
Here i also get the same error.
I kind of have no idea how to fix it so does anyone have any idea?
Below is my log output:
WindowsLiveWriter,2788,None,00034,03-Aug-2009 04:25:48.140,"Exception parsing XML-RPC response:
WindowsLive.Writer.CoreServices.XmlRpcClientInvalidResponseException: Invalid response document returned from XmlRpc server ---> System.Xml.XmlException: Gegevens op hoofdniveau zijn ongeldig. Regel 1, positie 1.
bij System.Xml.XmlTextReaderImpl.Throw(Exception e)
bij System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
bij System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
bij System.Xml.XmlTextReaderImpl.ParseDocumentContent()
bij System.Xml.XmlTextReaderImpl.Read()
bij System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
bij System.Xml.XmlDocument.Load(XmlReader reader)
bij System.Xml.XmlDocument.LoadXml(String xml)
bij WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
--- Einde van intern uitzonderingsstackpad ---
bij WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText)
bij WindowsLive.Writer.CoreServices.XmlRpcClient.CallMethod(String methodName, XmlRpcValue[] parameters)
XML-RPC server accepts POST requests only.",""
WindowsLiveWriter,2788,Fail,00035,03-Aug-2009 04:25:48.140,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException: Ongeldige serverrespons - De respons van de weblogserver op de methode metaWeblog.newMediaObject is ongeldig:
Invalid response document returned from XmlRpc server
bij WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)
bij WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)"," bij System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
bij System.Environment.get_StackTrace()
bij WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail(String message)
bij System.Diagnostics.TraceInternal.Fail(String message)
bij System.Diagnostics.Trace.Fail(String message)
bij WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(String fileReference, BlogFileUploader fileUploader, Boolean isWindowsLiveLightboxCloneEnabled)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag tag)
bij WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(TextWriter output, ReferenceFixer referenceFixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer)
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
bij WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()"
WindowsLiveWriter,2788,Fail,00036,03-Aug-2009 04:25:48.171,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException: Ongeldige serverrespons - De respons van de weblogserver op de methode metaWeblog.newMediaObject is ongeldig:
Invalid response document returned from XmlRpc server
bij WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)
bij WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(String fileReference, BlogFileUploader fileUploader, Boolean isWindowsLiveLightboxCloneEnabled)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag tag)
bij WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(TextWriter output, ReferenceFixer referenceFixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer)
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
bij WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()"," bij System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
bij System.Environment.get_StackTrace()
bij WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail(String message)
bij System.Diagnostics.TraceInternal.Fail(String message)
bij System.Diagnostics.Trace.Fail(String message)
bij WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog(Boolean publish)
bij WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(Boolean publish)
bij WindowsLive.Writer.PostEditor.BlogPostEditingManager.PublishAsDraft()
bij WindowsLive.Writer.PostEditor.PostEditorMainControl.commandPostAsDraft_Execute(Object sender, EventArgs e)
bij WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
bij WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
bij WindowsLive.Writer.ApplicationFramework.CommandOwnerDrawMenuItem.OnClick(EventArgs e)
bij System.Windows.Forms.MenuItem.MenuItemData.Execute()
bij System.Windows.Forms.Command.Invoke()
bij System.Windows.Forms.Command.DispatchID(Int32 id)
bij System.Windows.Forms.Control.WmCommand(Message& m)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij WindowsLive.Writer.ApplicationFramework.ApplicationForm.WndProc(Message& m)
bij WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
bij System.Windows.Forms.Application.Run(Form mainForm)
bij WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.ThreadMain(Object[] parameters)
bij WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run()
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()"
WindowsLiveWriter,2788,None,00037,03-Aug-2009 04:25:48.171,"DisplayableException occurred: WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException: Ongeldige serverrespons - De respons van de weblogserver op de methode metaWeblog.newMediaObject is ongeldig:
Invalid response document returned from XmlRpc server
bij WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)
bij WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(String fileReference, BlogFileUploader fileUploader, Boolean isWindowsLiveLightboxCloneEnabled)
bij WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag tag, String reference)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag tag)
bij WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(TextWriter output, ReferenceFixer referenceFixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
bij WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer)
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()
bij WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
bij WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()",""
I think the most important part is
XML-RPC server accepts POST requests only.",""
A few days ago i also had some strange accounts in my wordpress admin panel. They had no roles so i deleted the accounts. But i kind of suspect that some one was possibly hacking it.
Anyway does anyone have any idea's what it might be? Otherwise i`m considering reinstalling wordpress.