[horde] Horde 4 + MAMP

Jan Schneider jan at horde.org
Mon Aug 1 05:41:03 UTC 2011


Zitat von Reindl Harald <h.reindl at thelounge.net>:

> Am 01.08.2011 04:47, schrieb Luis Felipe Marzagao/Andamentos:
>> Hello:
>>
>> I'm trying to set up horde 4 with MAMP on Mac OS for testing purposes.
>>
>> Everything seems to be ok. I could easily install horde and  
>> dependencies via 'pear instal ...'
>>
>> After copying conf.php.dist to conf.php and setting proper  
>> parameters, I could successfully load horde and enter
>> admin interface.
>>
>> But just above horde menus and stuff I'm getting a lot of messages  
>> like these:
>>
>> Warning: Invalid callback Horde::errorHandler, class 'Horde' not found in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Config.php on line 650
>>
>> Deprecated: Assigning the return value of new by reference is deprecated in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Config.php on line 650
>>
>> ...
>>
>> Warning: Invalid callback Horde::errorHandler, class 'Horde' not found in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Registry.php on line 1450
>>
>> Deprecated: Assigning the return value of new by reference is deprecated in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Registry.php on line 1450
>>
>> Warning: Invalid callback Horde::errorHandler, class 'Horde' not found in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Registry.php on line 1458
>>
>> Deprecated: Assigning the return value of new by reference is deprecated in
>> /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Registry.php on line 1458
>>
>> I have 'error_reporting  =  E_ALL' and 'display_errors = On' in my php.ini.
>>
>> Why is it happening? What could be wrong? Any clues?

Set your error level to E_ALL & ~E_DEPRECATED.

> because most developers do not understand that on EVERY development
> machine E_ALL | E_STRICT + display_errors has to be mandatory
> and where clean code exists this error level without display_errors
> is practicable for some hndret domains

If you don't have anything useful to add, better don't add anything at  
all. Thanks.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list