注意,2.1中修改允许上传文件文件类型的的位置变了,以前的版本是wp-includes\functions-post.php,2.1之后的版本改成了wp-includes\functions.php wordpress2.1.3默认不支持上传rar文件,修改方法如下: 打开wp-includes\functions.php,查找    ‘zip’ => ‘application/zip’, (第1106行左右),在这一行的下面加上这一行 ‘rar’ => ‘application/rar’, 注意后面有个半角的逗号...

, , ,

使用FCKeditor上传图片、Flash等文件时,文件名中的中文会显示为乱码并在在服务器上面保存有些全部为乱码文件,不能正常显示,在网上搜了一下前辈们的解决方法,没找到很好的解决办法。看来还有N多的人和我一样的困惑,但解决办法又如此的简单: 将 editor\filemanager\browser\default\frmupload.html 文件的编码改为UTF-8即可。 如果不能解决则 编辑upload.php文件 // Compose the file path. /...

, , , ,

上传过程提示信息: This file uploader is disabled. Please check the “editor/filemanager/upload/php/config.php” file 使用过程中可能出现问题。有以下几个地方要修改 modules\article\fckeditor.upload.php 中必须定义 define(“FCKUPLOAD_DISABLED”, 1); 修改class\xoopseditor\FCKeditor\editor\filemanager\upload\php\upload.php 文件头部为 //Modifyed By XuYong 解决有时不能顺利获取config.php等文件 $current_path =dirname(__FILE__)...

, , ,