码迷,mamicode.com
首页 > Web开发 > 详细

Bugzilla不能上传附件解决方法

时间:2014-11-19 12:41:45      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:win7   buzilla 附件上传   

</pre>Bugzilla不能上传附件解决方法</h1><div><span style="font-size:18px">环境:win7、Bugzilla</span></div><div><span style="font-size:18px">错误提示:</span><span style="font-size:18px">CGI.pm open of tmpfile </span><img src="file:///C:\Users\student\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png" alt="" style="font-size:18px" /><span style="font-size:18px">\\CGItemp5760/QQ.png failed: No such file or directory ;</span></div><div><span style="font-size:18px"><span style="white-space:pre"></span>一种解决方法:在C盘创建一个文件夹temp;找到CGI.pm文件,路径为C:/bugzilla/lib/CGI.pm,用记事本打开CGI.pm,找到变量CGITempFile::TMPDIRECTORY。</span></div><div><span style="font-size:12px"><span style="font-family:FangSong_GB2312"></span></span><pre name="code" class="php"><span style="font-size:12px;"># HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
# $CGITempFile::TMPDIRECTORY = '/usr/tmp';</span>
改为
<span style="font-family:FangSong_GB2312;font-size:12px;"># HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
<span style="color:#ff0000;">$CGITempFile::TMPDIRECTORY = 'C:/temp';</span></span>
<span style="font-family:FangSong_GB2312;font-size:18px;">保存即可。</span>

Bugzilla不能上传附件解决方法

标签:win7   buzilla 附件上传   

原文地址:http://blog.csdn.net/lurenyi168/article/details/41278933

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!