[horde] Parse error: syntax error, unexpected T_FUNCTION in /www/htdocs/user/etc/git/horde/imp/config/prefs.php on line 70

OnkelM onkelm08 at gmail.com
Fri Jun 5 13:32:58 UTC 2015


that was my first thought too but...

Imp Version
>
>    - H6 (7.0.0-git)
>
> Other Horde Applications
>
>    - ingo: *Yes* (Version: H5 (3.3.0-git))
>    - kronolith: *Yes* (Version: H5 (4.3.0-git))
>    - nag: *Yes* (Version: H5 (4.3.0-git))
>    - turba: *Yes* (Version: H5 (4.3.0-git))
>
> PHP Version
>
>    - View phpinfo() screen
>    <http://h.onkelm.com/test.php?app=imp&mode=phpinfo>
>    - View loaded extensions
>    <http://h.onkelm.com/test.php?app=imp&mode=extensions>
>    - PHP Version: 5.5.24-nmm1
>    - PHP Major Version: 5.5
>    - PHP Minor Version: 24
>    - PHP Subminor Version: nmm1
>    - PHP Version Classification: release
>    - *You are running a supported version of PHP.*
>
> PHP Module Capabilities
>
>    - OpenSSL Support: *Yes*
>
> Miscellaneous PHP Settings
>
>    - file_uploads enabled: *Yes*
>
>


Gruß

2015-06-05 15:19 GMT+02:00 Michael J Rubinsky <mrubinsk at horde.org>:

>
> Quoting OnkelM <onkelm08 at gmail.com>:
>
>  Hello all,
>>
>> on a fresh git install i get this error on /test.php
>>
>>
>> *The file config/prefs.php has PHP syntax errors:Parse error: syntax
>> error,
>> unexpected T_FUNCTION in
>> /www/htdocs/user/etc/git/horde/imp/config/prefs.php on line 70*
>>  The line in question is:
>>
>>   70     'suppress' => function() {
>>   71         return !IMP_Compose::canHtmlCompose();
>>
>>
>>
>> what should i do ?
>>
>
> Your probably running a too old version of PHP. Nothing wrong with that
> line.
>
> --
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>


More information about the horde mailing list