6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2539] windows : attachment form missing
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..___ __.. | ||__|[__ (__ | |/\|| || .__)|___
Comment
> 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 > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers