Bugzilla不能上传附件解决方法
</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>
<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>
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。