Hello friends,
I am using FCK editor for my e-mail client application developing using Jakarta Struts. I am getting following error when i'm trying to upload a image to the server. Its giving the error
Error: The server didn't send back a proper XML response. Please contact your system administrator and its giving one url \jakarta-tomcat-5.0.28\webapps\MyApplication\fckeditor\editor\filemanager\upload\asp\connector.asp?Command=....
I dont have any idea on this and even i dont know asp.
I want one more information about fonts. I want widows defined fonts available to my editor how can i go about doing this in this ??
thanks
with regards,
Subramanya
I am using FCK editor for my e-mail client application developing using Jakarta Struts. I am getting following error when i'm trying to upload a image to the server. Its giving the error
Error: The server didn't send back a proper XML response. Please contact your system administrator and its giving one url \jakarta-tomcat-5.0.28\webapps\MyApplication\fckeditor\editor\filemanager\upload\asp\connector.asp?Command=....
I dont have any idea on this and even i dont know asp.
I want one more information about fonts. I want widows defined fonts available to my editor how can i go about doing this in this ??
thanks
with regards,
Subramanya

I met a similar problem with this tool as well, and I figured out the problem on my system and fixed it.
There are two steps to make the problem gone, hope it'll be helpful to you..
Root cause on my system:
Since I installed my web page server on WinXP, it couldn't support ASP anyhow(Which needs IIS server
that WinXP doesn't support). Therefore, the call to "connector.asp" will make the web page fail.
Solution:(Suppose the target server uses php as its web page language)
1. In ..fckeditor\fckconfig.js
Modify var _FileBrowserLanguage = 'asp' to var _FileBrowserLanguage = 'php' and
var _QuickUploadLanguage = 'asp' to var _QuickUploadLanguage = 'php'
2. In ..fckeditor\editor\filemanager\browser\default\connectors\php\config.php
Modify "$Config['Enabled'] = false ;" to "$Config['Enabled'] = true ;"
Note:
1. The version of fckeditor on my server is Version 2.0.
2. The two steps satisfied my condition well enough, but you may have to modify config.php under
..fckeditor\editor\filemanager\upload\php\ to enable the php config for uploading as well.
3. The font issue is beyond my knowledge.
modyfications
not help, I still has
The server didn't send back a proper XML response. Please contact your system administrator.
XML request error: OK (200)
stay tight. A brand new Java intergration pack is comming really soon.
I had similar problems, if the webserver didn't send the correct header (content-type) for xml.
Hope that helps,
regards
Thilo
FCKeditor 2.6.2
FCKeditor.Java
Java && JSP(spring || struts || just servlet) && Tomcat && Linux
my application is going to use quite a lot of javascript for fancy stuffs, so I thought it would be smart to create a dedicated folder for all the javascript, i name it "js" and place it under my web folder, then i put fckeditor in it, and now the web folder looks like this:
web-folder
js
fancy-stuff1
fancy-stuff1
fckeditor (yo, i'm here)
css
WEB-INF
classes
lib (FCKeditor.Java is here)
according to the configuration setting guide, i should have a fckeditor.properties in classpath, i should also have something like these (fckeditor.toolbarSet=Basic and connector.userActionImpl=net.fckeditor.requestcycle.impl.UserActionImpl) in the file, so i put it in as well.
then i found more properties for FCKeditor and Connector configurations. i'm happy, so now i thought i would have no worry about my fckeditor path, so i have this in fckeditor.properties:
fckeditor.basePath=/js/fckeditor
and because i dont like the name "userfiles", so i have this as well:
connector.userFilesPath=/hahaha
then this is how i got into the "The Server didn't send back a proper XML response" problem as all of you were, or are still facing.
the solution? simple:
as far as the connector is concerned, i can configure any path for connector.userFilesPath, even with value like /hahaha/hahaha/hahaha, but i just cant configure fckeditor.basePath to anything except /fckeditor. of course, i will now have to move fckeditor folder out of my js folder.
it took me a while to find out this solution, but i dont know the reason and cause behind it, or maybe i dont want to.
thanks for having patient on reading my post here. i hope this is helpful.
you must be doing something wrong. You should recheck your setting. I just tried to set fckeditor.basePath=/js/fckeditor. IT works perfectly. Check out the attachment. Deploy in your tomcat, run the app. Dissect and check it out. See the magic. Setting a custom basepath works.
hi michael,
i've checked your attachment, and i think i know what you mean, but i think you may misread my post, or my post was obscure.
what my situation was:
i can set fckeditor.basePath to any path so long as i dont want to take use of Connector, but when i need Connector to upload files like images or html, and i configure connector.userFilesPath with any path, it just wont work if fckeditor.basePath is any path but /fckeditor (also known as the default path fckeditor will take).
hence, connector.userFilesPath will only work iff fckeditor.basePath=/fckeditor
that was how i got into the described problem, and figured it out later on and avoid it.
hope it clarifies something. thank you, michael, for the reply.
I found the problem: You missed to read the documenation completely. Quoting from http://java.fckeditor.net/connector.html
This means you have to adapt the servlet mapping to
That did the trick.
I had the same problem with FCKeditor.Net.
After some survey about it I found that the problem was caused from the .net Themes.
The solution is:
Remove from web.config and put it at avery page you need to use it
I hope it helps
please show me how to configure it
thanks and regard vanhai
I had similar problems,i live in china,according to he alert information,that maybe I request a php web page ,it make a error!(I use asp program language) but in fact i have the thing following:
1. In ..fckeditor\fckconfig.js
Modify var _FileBrowserLanguage = 'php' to var _FileBrowserLanguage = 'asp' and
var _QuickUploadLanguage = 'php' to var _QuickUploadLanguage = 'asp'
2. In ..fckeditor\editor\filemanager\browser\default\connectors\php\config.php
Modify "$Config['Enabled'] = false ;" to "$Config['Enabled'] = true ;"
I think there is some mistake in program ,so it requests a php webpage,but now I use the fckeditor first time!I am nots so famuliar with the System!I hope the developers or other friendscan give a mail to help me !Thank you very much!!!!!
my e-mail address:jjshcc@163.com
chinese chat software QQ ID:404226330
http://docs.fckeditor.net/FCKeditor_2.x ... ation_File
Good luck.
The file xml not response because by compression (GZIP ).
Hope thats useful.
Your lead was right for me. I fixed response xml (asp.net) by clearing Request.Filter property.
I fallowed this post : http://www.icodefactory.com/lab/post/FC ... error.aspx
It is strange as I did not have this issue with asp.net 2.0 on our previous projects.
I hope this will help to someone.
Have you tested your connection with the file fckeditor/editor/filemanager/connectors/test.html (http://www.your_domain.com/yours_folder ... /test.html)
This file helps a lot, I had the same problem as you "...proper XML ..."
I realized that it had on the chmod the files 777 (bad parameter ftp) at OVH and some hosts the 777 causes an error 500 (security reason)
also look at your. htaccess
Solution: Put all files and directories in FCK 705 or maximum 755
if you don't know what's chmod, look : http://catcode.com/teachmod/
I work with a dedicated server:
Gentoo realease2 OVH - Apache 2 - PHP5
If all goes well when you tested your connection with the "Get Folders"
you in return:
<? xml version = "1.0" encoding = "utf-8"?>
- <Connector Command="GetFolders" resourceType="File">
<CurrentFolder Path="/" url="/your_folder/your_folder/your_folder/" />
<Folders />
</ Connector>
I hope it will help
Thanks for all fckeditor team for your great work
To start with what may be obvious: In your connector's config file, for me that's config.php, there are two paths which have to be set, absolute and relative. The absolute path is is the path to the directory where you store your uploads. The relative path is what is used to create urls for your files. The editor takes that relative path and prepends the server address:
/my/data/directory/
becomes:
http://mydomain.com/my/data/directory/
A misconfiguration of either of these paths will not, in my experience, give you the XML error. The XML error tends to be an error in the application itself, most likely through some kind of misconfiguration. You might have made some changes in your code and there's an error in your code; or, as in one case posted here, you've changed the base path value, so the editor can't find what it needs when setting up the file browser.