[imp] horde_prefs max size
Claude Tompers
claude.tompers at restena.lu
Mon Jun 18 11:50:42 UTC 2012
On 06/18/2012 01:46 PM, Rui Carneiro wrote:
> On Fri, Jun 15, 2012 at 1:59 PM, Vilius Šumskas <vilius at lnk.lt> wrote:
>
>>> One of our users just added a picture to his mail signature and broke
>>> his whole webmail that way. He was unable to login, falling back to the
>>> login page again.
>>> Luckily he could tell me that he just updated his signature before,
>>> adding a picture to it.
>>> The picture had something more then 67k in size, but the prefs_value
>>> field (blob) has only a maximum size of 65535 bytes. This resulted in a
>>> chunked php object that broke everything.
>>>
>>> Shouldn't this be checked before writing it to the database ?
>> You can limit this in Horde -> Preference System configuration.
>
> I have the exact same issue but when I set a maxsize to prefs I always get
> this error:
>
> *A fatal error has occurred*
> *Horde_Cache_Storage_Memcache::serialize() must return a string or NULL*
> *framework/Core/lib/Horde/Core/Factory/Prefs.php line 95*
>
> Anyone have the same problem or have any idea why this is happening?
>
Hi Rui, I had the exact same issue, so I turned it off again.
Claude
--
Claude Tompers
Ingénieur réseau et système
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
Tel: +352 424409 1
Fax: +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/imp/attachments/20120618/971f3d8a/attachment.bin>
More information about the imp
mailing list