使用FCKEditor时,编辑文本正常,但上传图像文件却发生错误如下:

 FCKeditor : xml request error:internal server error(500)

 查FCKeditor网站,得到如下信息

In the file browser, I'm having a "XML Request Error : Internal Server Error (500)" . How to find out the problem? The editor uses a "connector" in the file browser to communicate with the server, through XML, and retrieve files and folders. The connector is available in different programming languages, as AS P and PHP for example. By default, it is configured to use the ASP one. Be sure you have configured the editor to use the appropriate connector for your preferred language. You can do that in the fckconfig.js file. If the configurations seem to be OK, you can use the test page that comes with the connector to check the XML responses that the connector sends and maybe identify errors on the server side. The test page is located at "editor/filemanager/browser/default/connectors/test.html". Another thing to check is that the target folder for the files exists in your server. By default it uses the "/UserFiles/" folder, but it is configurable. The editor uses a fixed structure in the target folder that separate files used on different dialog boxes, respectively the link, file and flash dialogs. For example, if you are using the "/UserFiles/" as your target file, it will use "/UserFiles/File/", "/UserFiles/Image/", "/UserFiles/Flash/" and "/UserFiles/Media/". The connector tries to create those directories automatically, but on some configurations they need to be created manually to make it work properly. Note for ASP connector Another workaround seem to re-install VBScript runtime (from http://msdn.microsoft.com/scripting) and/or MDAC (from http://msdn.microsoft.com/data/mdac/). Ultimate way : register the scripting library with running "regsvr32 vbscript.dll" in the "\system32\" folder.

按照提供的方法,我重新注册了vbscript.dll仍然不行

 

IIS5.1的安装问题

(1) 开始 > 运行 > 输入 CMD >再输入以下命令: esentutl /p %windir%/security/database/secedit.sdb

(2)插入安装盘再试一下,问题解决了。



Trackback: http://tb.donews.net/TrackBack.aspx?PostId=1052193


[点击此处收藏本文]  发表于2006年10月03日 11:23 AM




正在读取评论……