Bugzilla不能上传附件解决方法

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';

就能够了。

转载于:https://www.cnblogs.com/ljbguanli/p/6899537.html

你可能感兴趣的:(Bugzilla不能上传附件解决方法)