Hi,

On 10/24/2010 08:25 PM, Phil Reynolds wrote:
>> $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).
> 
> Not effective. Less warnings but still fails.

Hmm. And if you add "& ~E_STRICT" too?
Could you post the resulting warnings?

>> 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 :)
> 
> More effective, looks promising. Presumably the horde framework apps will
> have similar problems?

Well, as far as I understood, horde3 is meant to be PHP4 compatible,
which needs &new instead of new...
Do you have any horde plugins installed? You can check for any &new with
grep -r "=.*&[ ]*new" /path/to/plugin.

Regards
Evgeni



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to