Charles,
I've run into the near exact problem under FreeBSD. I don't understand
what always causes this, but what seems to have worked is to do a
complete deinstall of PHP, make clean, and reinstall PHP.
It is almost as though the build process links in an old object which
causes PHP uploading to fail.
I installed from the ports tree.
I went into the php directory.
And did these steps (some are redundant, but I wanted to be absolutely sure):
make clean
make deinstall
make install
I selected only the absolute list of items I needed (if you search the
mailing list for my name, you'll find what I included/didn't include).
I can also say that this started happening with some of the more recent
releases of PHP4 to the ports tree.
Hope that helps. <8)
L8r.
Brian 8)
Date: Tue, 18 May 2004 20:42:06 -0400 (EDT)
Subject: Re: [SM-USERS] cannot upload attachments (no luck with FAQ) From:
"Charles Ulrich" <[EMAIL PROTECTED]>
To: "p dont think" <[EMAIL PROTECTED]>
Cc: "Charles Ulrich" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
p dont think said:
> Thanks for the thorough email. The only other thing I can think of is
to move your attachments directory out of the SM tree (and out of the
web servers htdocs tree entirely), which is something you should do
anyway. After that, name the path explicitly in the SM config, not
relatively. Try setting permissions recursively on that directory to
777 for starters to see if you can get it to work, but don't dare leave
it like that.
> - Paul
Thanks for the suggestion. (I should have noted that the file I'm trying
to attach is only 8k, much smaller than the upload limit, so that
shouldn't be a problem.) Although I've tried setting the attachment
directory to /tmp in the past, I followed your advice by creating the
directory /foo in the root directory and setting the permissions to 777. =
I
then changed the attachment directory (via absolute path of course) to
/foo with the configure utility.
I still get the lone "could not move/copy file" error. While I'm not quit= e
ready to accuse SquirrelMail of having a bug, I'm starting to wonder if i= t
isn't something in my PHP configuration. If I can't get this work in a fe= w
days, I might try to enlist the help of my PHP-weilding co-worker who is
already insanely busy.
Thanks again for your help thus far,
Charles Ulrich
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users