[pkg-horde] Bug#601186: #601186 - horde3: only shows php deprecations and a warning - no actual operational parts

Evgeni Golov evgeni at debian.org
Sun Oct 24 13:05:32 UTC 2010


Hi,

there are two ways of handling this.

Either you set
$conf['debug_level'] = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
in /etc/horde/horde3/conf.php, which will disable all Deprecation
warnings (warnings meant for developers shouldn't be shown to users
anyways).

Or you patch the source not to use the deprecated &new.
I did so by running
sed -i -e 's#=.*&[ ]*new#= new#' `grep -rl "=.*&[ ]*new" .`
in the source tree. I have no Horde here to test, so the attached patch
that was the result of the above sed-orgy may burn your server, kill
your kittens and eat your sushi - use with caution and have backups :)

Regards
Evgeni

PS: *NOT* tagging "patch" as reasoned above :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: horde3_601186.diff
Type: text/x-patch
Size: 72471 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20101024/3aea918c/attachment-0001.bin>


More information about the pkg-horde-hackers mailing list