[imp] Session expired when attaching a file

Michael M Slusarz slusarz at horde.org
Wed Nov 27 20:13:42 UTC 2013


Quoting SSRI <ssri_abo at u-paris2.fr>:

> Hi,
>
> We have a problem when attaching a file larger than php's
> upload_max_filesize. After uploading the file, the session expires.
>
> Horde
>
> $conf['vfs']['type'] = 'None';
>
> Imp
>
> $conf['compose']['attach_size_limit'] = 41943040;
> $conf['compose']['link_attachments'] = false;
> $conf['compose']['use_vfs'] = false;
>
> php
>
> post_max_size = 60M
> upload_max_filesize = 40M
>
> PHP Warning:  POST Content-Length of 81326886 bytes exceeds the limit
> of 41943040 bytes in Unknown on line 0, referer:
> https://.../horde/imp/dynamic.php?page=compose&type=new&token=o9oQreqfzGENsFD9v1YhZQ1&uniq=1385563193628

You are trying to upload ~80MB of data when your post_max_size is  
60MB.  So that's your issue.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list