标签: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>
标签:win7 buzilla 附件上传
原文地址:http://blog.csdn.net/lurenyi168/article/details/41278933