Bugzilla不能上傳附件解決方法
阿新 • • 發佈:2017-05-24
nco upload tracking comm pfile spa location track 文件
錯誤提示:CGI.pm open of tmpfile \\CGItemp5760/QQ.png failed: No such file or directory ;
Bugzilla不能上傳附件
環境:win7、Bugzilla錯誤提示:CGI.pm open of tmpfile \\CGItemp5760/QQ.png failed: No such file or directory ;
一種解決方法:在C盤創建一個目錄temp;找到CGI.pm文件,路徑為C:/bugzilla/lib/CGI.pm。用記事本打開CGI.pm,找到變量CGITempFile::TMPDIRECTORY
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU‘RE DOING.
# $CGITempFile::TMPDIRECTORY = ‘/usr/tmp‘;
改為:
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU‘RE DOING.
$CGITempFile::TMPDIRECTORY = ‘c:/temp‘;
就能夠了。
Bugzilla不能上傳附件解決方法