[imp] Ok, i give up: how to make the attachment thing work??The problem persists

Bruno Negrao imp-bnegrao at engepel.com.br
Wed Feb 5 16:16:09 PST 2003


And still persists.

> http://lists.horde.org/archives/imp/Week-of-Mon-20001127/005673.html
I read this message long time before I posted my first message on this
subject.
>> http://www.horde.org/faq/admin/trouble/index.php#t43
I'm aware of it also. When I change the php.ini file to
upload_tmp_dir = /var/tmp

And the horde/config/horde.php to:
$conf['tmpdir'] = '/var/tmp';

I'm still sending truncated attached files and receiving the following error
messages:

Warning: fopen("/var/tmp/impattcvXkES", "rb") - No such file or directory in
/var/www/html/zz/horde/imp/compose.php on line 319
Warning: stat failed for /var/tmp/impattcvXkES (errno=2 - No such file or
directory) in /var/www/html/zz/horde/imp/compose.php on line 320
Warning: fread(): supplied argument is not a valid File-Handle resource in
/var/www/html/zz/horde/imp/compose.php on line 320
Warning: fclose(): supplied argument is not a valid File-Handle resource in
/var/www/html/zz/horde/imp/compose.php on line 321
Warning: unlink() failed (No such file or directory) in
/var/www/html/zz/horde/imp/compose.php on line 322
Warning: Cannot add header information - headers already sent by (output
started at /var/www/html/zz/horde/imp/compose.php:319) in
/var/www/html/zz/horde/imp/compose.php on line 855


And I checked: the file "/var/tmp/impattcvXkES" was there - waiting to be
sent....

If it is a problem in my configuration, what can it be?

thanks,
bruno.



> > Thank you guys for helping me (and I'm sorry if i seemed to be
nervous!!)
> > (my customers and my boss are driving me mad with this problem...)
> >
> > I upgraded the PEAR package and the problem persists. When I try to send
an
> > e-mail with attached file, I receive the following error messages:
> >
> > --------------------------------------
> > Warning: fopen("/tmp/impattfIKHwd", "rb") - No such file or directory in
> > /var/www/html/zz/horde/imp/compose.php on line 319
> >
> > Warning: stat failed for /tmp/impattfIKHwd (errno=2 - No such file or
> > directory) in /var/www/html/zz/horde/imp/compose.php on line 320
> >
> > Warning: fread(): supplied argument is not a valid File-Handle resource
in
> > /var/www/html/zz/horde/imp/compose.php on line 320
> >
> > Warning: fclose(): supplied argument is not a valid File-Handle resource
in
> > /var/www/html/zz/horde/imp/compose.php on line 321
> >
> > Warning: unlink() failed (No such file or directory) in
> > /var/www/html/zz/horde/imp/compose.php on line 322
> >
> > Warning: Cannot add header information - headers already sent by (output
> > started at /var/www/html/zz/horde/imp/compose.php:319) in
> > /var/www/html/zz/horde/imp/compose.php on line 855
> > ----------------------------------------------------------------------
> >
> > Before I pressed the 'send' button, I checked for the file
> > '/tmp/impattfIKHwd' and it was right there!! After I pressed the send
> > button, the file was removed, so I can't understand what are the above
> > messages complaining...
> > The e-mail arrives on the destination with 2 attached files, 1 file is
> > messed up (you can't open it for reading)and the other is 0 byte.
>
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
>
> Why get even? Get odd!
>



More information about the imp mailing list