Subject: | "CGI open of tmpfile: No such file or directory\n" |
I found a problem with upload of attachments using apache2, mod_perl2
and bugzilla running on Windows.
If I run apache as a service, CGItemp# files are correctly created and
read in c:\windows\temp, but if I run apache from the command
line/terminal, upload of attachments doesn't work (PS: only when using
mod_perl): now it (CGI.pm) (tries to) reads CGItemp# files from
C:\DOCUME~1\monster\LOCALS~1\Temp folder (the folder exists, no
problem), but it never creates/writes the temp files!? (found out using
Sysinternals FileMonitor).
Workaround was to set fixed temp dir:
$CGITempFile::TMPDIRECTORY = 'c:/temp';
It took a long time for me to figure this out.
Please fix so the next guy doesn't won't have to figure out:-)
Bug exists in at least 3.41 and 3.48.
I can assist if you need me:-)