80222
发现1.4的一个BUG,不知道2.x系列里是否修改了。
回帖数 1
阅读数 1913
发表时间 2011-07-14 14:12:19
下载文档里的文件时,发现MD5码不对,但文档又能正常使用,然后对比下载下来的文件与上传前的文件,发现,下载的文件多了以下html代码:
”<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /></head><body>ERROR: The file you visit 1360 not found. in E:\zentao\module\file\control.php on line 99, last called by E:\zentao\module\file\control.php on 99 through function download.</body></html>“
根据提示把\module\file\control.php中找到提示“ERROR: The file you visit 1360 not found. ”的地方,发现if(file_exists($file->realPath))后没有else,估计是这个原因,在$this->app->error("The file you visit.........之前加个else,文件下载就正常。
不知道这样修改是否正确?
在2.x里是否有这个问题?
2011-07-14 14:13:10 李振宇 最后编辑
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

相关帖子
黄雨 | 最后回帖 2019-06-27 08:51 禅道 - 闫敏
winta | 最后回帖 2016-07-19 13:25 石洋洋
dongs | 最后回帖 2018-06-22 09:45 扮猪吃老虎
美利坚混泥土拌饭 | 最后回帖 2024-07-04 17:56 禅道-丁卓
柳先森 | 最后回帖 2018-08-31 08:49 柳先森
Leo | 最后回帖 2021-06-30 10:03 张玉洁




精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


