Thanks for the comprehensive reply, it got me on the right track!
Brilliant.
I think it was the ldconfig part that did it. I commented in
upload_tmp_dir = /var/tmp/ in php.ini after I could not see the upload
of a large file growing as you suggested.
I then did ldconfig and apachectl stop and
Hey, it works!
Thanks for the comprehensive reply, it got me on the right track!
Brilliant.
I think it was the ldconfig part that did it. I commented in
upload_tmp_dir = /var/tmp/ in php.ini after I could not see the upload
of a large file growing as you suggested.
I then did ldconfig and apac
Brian,
This is perfectly appropriate for the mailing list (forwarding there
now).
- paul
Original Message
Right...
I was seeing this exact same problem. It looked like it wasn't able to
create the temporary file for some reason.
Actually, if you try uploading a large file an
Nope. It's an undefined index because PHP couldn't put a file in your
temp directory. You most always need to solve the *first* error and
the following errors will disappear.
Hi, thanks for the answer. I see, it makes sense. The thing is "unable
to create a temporary file in Unknown on line 0"
I checked permissions on /var/tmp and they seem fine, although php.ini
does not define the upload tmp directory (commented out, but even if
defined the error occurs).
Also I always get the same errors in the Apache logs:
[Tue May 25 10:08:33 2004] [error] PHP Warning: File upload error -
unabl
I checked permissions on /var/tmp and they seem fine, although php.ini
does not define the upload tmp directory (commented out, but even if
defined the error occurs).
Also I always get the same errors in the Apache logs:
[Tue May 25 10:08:33 2004] [error] PHP Warning: File upload error -
unabl
me, 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
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,
I'm currently attempting to setup SquirrelMail 1.4.2 from ports in a
FreeBSD 4.9-RELEASE jail. PHP is at version 4.3.6. I've run into a little
problem with regards to uploading attachments. Before you say it, I've
scoured the wiki on squirrelmail.org and tried everything there to no
avail.
I follow