日期:2014-05-17  浏览次数:20642 次

fckeditor在本地没问题,到win2003服务器上就不能用
本地测试一切OK,但传到服务器上传图片找不到路径:
The server didn't send back a proper XML response. Please contact your system administrator.

XML request error: Not Found (404)

Requested URL:
/fckeditor/editor/filemanager/connectors/jsp/connector.jsp?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1322279108410

Response text:

、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、
请求 URL:
  http://www.leixundr.com/fckeditor/editor/filemanager/connectors/jsp/upload.jsp?Type=Image
  
  
  请求方法:
  POST
  
  
  状态码:
  HTTP/1.1 404 Not Found
、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、

------解决方案--------------------
检查路径。
本地和2003 server上应用系统的目录不一致,而可能某些调用是采用绝对路径
------解决方案--------------------
应该就是路径的问题!

探讨

检查路径。
本地和2003 server上应用系统的目录不一致,而可能某些调用是采用绝对路径
http://www.qinglobo.com/list-26.htm

------解决方案--------------------
将FCKeditor放在正确的位置就是了
------解决方案--------------------
我在项目中也遇到过类似的问题
好好看看fck的basepath和tomcat配置文件中<Conext>节点的docBase属性。。。
如果basepath=“/”,那么docBase中绝对路径就要把项目名写上。。
在不行就把editor以及和fck相关的文件夹剪切到你引用fck的那个文件夹下
------解决方案--------------------
比如说你的项目名是A,放在D:\tomcat\webapps下
引入fckeditor的那个页面的路径是A/admin/newsPublish.jsp
fck依赖的editor文件夹路径是A/editor
那么你要这么配置
tomcat:
XML code

<Host name="外网IP" appBase="webapps"
  unpackWARs="true" autoDeploy="true"
  xmlValidation="false" xmlNamespaceAware="false">
<Context path="/" docBase="D:\tomcat\webapps\A" />   
</Host>