[imp] over 800kb Attachment problems

Antonio Guerrieri ant at ultra5.unile.it
Tue Dec 16 08:46:32 PST 2003


On 15 dic 2003, at 18:10, Michael M Slusarz wrote:

> Quoting Mark Hernandez <markcism at dost.gov.ph>:
>
> | ; Temporary directory for HTTP uploaded files (will use system  
> default if not
> | ; specified).
> | ;upload_tmp_dir =
> | upload_tmp_dir = /var/tmp
> | ; Maximum allowed size for uploaded files.
> | upload_max_filesize = 10M
>
> This is in the archives.

Yes, but it doesn't work...
SquirrelMail works well with this php.ini and apache settings...
so it is not a php or apache problem...
If I set 10M it (SM) allows 10MB attachements and sends 10MB...
The problem is with horde/imp 2.2.4/3.2.2 the previous version worked  
well...
I have tried any possible settings also with 100MB!
for max_upload, memory_limit and post_max_size in php.ini
but imp sends the message with a 0Bytes attach if it is greater than  
~800K.

The message errors in apache error_log are:
PHP Notice:  Undefined index:  direct_access in  
/usr/local/apache2/htdocs/horde/imp-3.2.2/templates/menu/menu.inc on  
line 53, referer: https://astrid.unile.it/horde/

PHP Warning:  filesize(): Stat failed for /tmp/impattAq3KNu (errno=2 -  
No such file or directory) in  
/usr/local/apache2/htdocs/horde/imp-3.2.2/compose.php on line 330,  
referer:  
https://astrid.unile.it/horde/imp/compose.php? 
uniq=9357328493fd9bb4039cf71071234059892

PHP Warning:  fread(): supplied argument is not a valid stream resource  
in /usr/local/apache2/htdocs/horde/imp-3.2.2/compose.php on line 330,  
referer:  
https://astrid.unile.it/horde/imp/compose.php? 
uniq=9357328493fd9bb4039cf71071234059892

PHP Warning:  fclose(): supplied argument is not a valid stream  
resource in /usr/local/apache2/htdocs/horde/imp-3.2.2/compose.php on  
line 331, referer:  
https://astrid.unile.it/horde/imp/compose.php? 
uniq=9357328493fd9bb4039cf71071234059892

PHP Warning:  unlink(/tmp/impattAq3KNu): No such file or directory in  
/usr/local/apache2/htdocs/horde/imp-3.2.2/compose.php on line 332,  
referer:  
https://astrid.unile.it/horde/imp/compose.php? 
uniq=9357328493fd9bb4039cf71071234059892

Antonio

> You must increase either the max file size in your
> Apache config or increase the memory limit of PHP.
>
> michael
> ______________________________________________
> Michael Slusarz [slusarz at bigworm.colorado.edu]
> The University of Colorado at Boulder
>
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>



More information about the imp mailing list