[Tickets #2539] NEW: windows : attachment form missing
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Aug 31 09:15:06 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2539
-----------------------------------------------------------------------
Ticket | 2539
Created By | fabrice at gmail.com
Summary | windows : attachment form missing
Queue | IMP
Version | 4.0.3
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
fabrice at gmail.com (2005-08-31 09:15) wrote:
Hi,
I've proceeded to the installation of Horde 3.0.5 + Imp 4.0.3 under WS2003 +
IIS 6.0 + PHP 4.3.11 (CGI mode) and found an error concerning attachment
when composing a new message. No upload form / attachment area was shown in
the pop-up composing window.
Upload directive and writing in temp dir were fine.
When looking in the /lib/Horde/Browser.php file, I saw a call to
is_writable() function (in allowFileUploads() around lines 795 to 798).
Under Windows this function doesn't tell wether the directory is writable or
not (cf. php documentation).
As a quick (and very ugly) fix I commented this section :
if (($dir = ini_get('upload_tmp_dir')) &&
!is_writable($dir)) {
return 0;
and the attachment area came back in my browser :)
Hope this will help.
Regards,
Fabrice
More information about the bugs
mailing list