Index: /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/basexml.php
===================================================================
--- /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/basexml.php	(revision 356)
+++ /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/basexml.php	(revision 357)
@@ -40,5 +40,5 @@
 
 	// Set the response format.
-	header( 'Content-Type:text/xml; charset=utf-8' ) ;
+	header( 'Content-Type: text/xml; charset=utf-8' ) ;
 }
 
Index: /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/io.php
===================================================================
--- /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/io.php	(revision 356)
+++ /FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/io.php	(revision 357)
@@ -112,12 +112,12 @@
 	// Get the slash according to the filesystem
 	$slash = ( strpos( $sRealPath, '/' ) === false ) ? '\\' : '/' ;
-	$sSelfPath = str_replace('/', $slash, $sSelfPath) ;
+	$sSelfPath = str_replace( '/', $slash, $sSelfPath ) ;
 	
-	$position = strpos($sRealPath, $sSelfPath) ;
+	$position = strpos( $sRealPath, $sSelfPath ) ;
 
 	// This can check only that this script isn't run from a virtual dir
 	// But it avoids problems the problems that arise if it isn't checked
 	if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) )
-		SendError( 1, "Sorry, can't map 'UserFilesPath' to a physical path. You must set the 'UserFilesAbsolutePath' value " . $position) ;
+		SendError( 1, 'Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/browser/default/connectors/php/config.php".' ) ;
 
 	return substr( $sRealPath, 0, $position ) ;
Index: /FCKeditor/trunk/editor/filemanager/browser/default/frmresourceslist.html
===================================================================
--- /FCKeditor/trunk/editor/filemanager/browser/default/frmresourceslist.html	(revision 356)
+++ /FCKeditor/trunk/editor/filemanager/browser/default/frmresourceslist.html	(revision 357)
@@ -108,5 +108,5 @@
 	if ( oFolderNode == null )
 	{
-		alert( 'The server didn\'t reply with a proper XML file\r\nCheck your configuration.' ) ;
+		alert( 'The server didn\'t reply with a proper XML data. Please check your configuration.' ) ;
 		return ;
 	}
Index: /FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js
===================================================================
--- /FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js	(revision 356)
+++ /FCKeditor/trunk/editor/filemanager/browser/default/js/fckxml.js	(revision 357)
@@ -62,16 +62,15 @@
 			if ( oXmlHttp.readyState == 4 )
 			{
-				if ( oXmlHttp.responseXML == null || oXmlHttp.responseXML.firstChild == null)
+				if ( ( oXmlHttp.status != 200 && oXmlHttp.status != 304 ) || oXmlHttp.responseXML == null || oXmlHttp.responseXML.firstChild == null )
 				{
-					alert( 'The server didn\'t send back a proper XML response.\r\n\r\n' +
-							'Requested URL: ' + urlToCall + '\r\n' +
-							'Response text:\r\n' + oXmlHttp.responseText ) ;
+					alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' +
+							'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')\n\n' +
+							'Requested URL:\n' + urlToCall + '\n\n' +
+							'Response text:\n' + oXmlHttp.responseText ) ;
 					return ;
 				}
+
 				oFCKXml.DOMDocument = oXmlHttp.responseXML ;
-				if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 )
-					asyncFunctionPointer( oFCKXml ) ;
-				else
-					alert( 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')' ) ;
+				asyncFunctionPointer( oFCKXml ) ;
 			}
 		}
