Quoting Martin Kleinschmidt <m...@theochem.uni-duesseldorf.de>:

Webmail (imp) 6.1.7

when I forward a message as attachment, I get no error as the user, but
the attachment is missing.

In the log, I find
HORDE: [imp] PHP ERROR: filesize(): stat failed for /tmp/impatt77e1ay [pid 6391 on line 76 of "/home/horde4/imp/lib/Compose/Attachment/Storage/VfsLinked.php"]

This most likely indicates that you have not configured your VFS linked storage correctly.

This file does not exist during message composing.

If I change

        $atc_file = Horde::getTempFile('impatt');

to

        $atc_file = Horde::getTempFile('impatt', false);

in /home/horde4/imp/lib/Compose.php, public function addAttachmentFromPart

everything works OK.

This is not a correct solution.

in /usr/share/php5/PEAR/Horde/Util.php, static public function shutdown,
the comment says:
"Deletes registered files at request shutdown." but what is a "request
shutdown"?

After that particular PHP request is completed. Which is essentially either a page view or, for dynamic apps, an AJAX request.

michael

___________________________________
Michael Slusarz [slus...@horde.org]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to