MODx “Invalid XML response from connector” error

This is an annoying error that you can get in MODx when uploading new files via the FCK Image Browser, and I’ve only ever seen it in the Internet Explorer browser. The fix for it is quite simple though…

  1. Open manager/media/browser/mcpuk/connectors/php/Commands/GetFileUploadProgress.php
  2. After //Progresshandler not specified, return generic response (mine is line 46) insert:
    header ("content-type: text/xml");
    echo "< ?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
  3. See if that works

If that doesn’t work then here is the MODx forum post that goes into more detail. A variety of problems can cause this issue (like the file being larger than the allowed max size). The End

if you liked this post :)

Category: Programming | 2,639 views | Posted: July 20th 2007 12:40 pm

Related Posts

1 Comment »

MyAvatars 0.2

Comment by Andros
on 22 Dec 2008 at 6:08 am #

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

« 10 Reasons why NewsGator is my RSS reader | Links from the Trenches #1 »