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

Michael J Rubinsky mrubinsk at horde.org
Fri Jun 5 13:46:56 UTC 2015


Quoting OnkelM <onkelm08 at gmail.com>:

> 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*

No idea. Maybe you have some extension that is breaking things. That  
is a perfectly valid function closure.


> 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
>>
>>



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20150605/f366dfbb/attachment.bin>


More information about the horde mailing list