[dev] Syntax error after upgrade in Socket.php

Gunnar Wrobel wrobel at horde.org
Wed Apr 11 12:30:11 UTC 2012


Zitat von Martin Höfling <martin.hoefling at googlemail.com>:

> Hey Folks,
>
> after upgrading (see below), I only get
>
> *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in *
> /usr/share/php/Horde/Imap/Client/Socket.php* on line *1436
>
> *Any ideas where this could come from?

The problem is the Horde_Imap_Client-1.5.2 package which is not  
compatible with PHP-5.2 (a bug). Downgrade to 1.5.1. Don't know at the  
moment if there will be a fixed package soon.

Cheers,

Gunnar

>
> my imp/config/backends.php diff to the original one looks like this:
>
> @@ -324,16 +324,16 @@
>      'disabled' => false,
>      'name' => 'IMAP Server',
>      'hostspec' => 'localhost',
> -    'hordeauth' => false,
> +    'hordeauth' => true,
>      'protocol' => 'imap',
>      'port' => 143,
>      // Plaintext logins are disabled by default on IMAP servers (see RFC
> 3501
>      // [6.2.3])
> -    'secure' => 'tls',
> +    'secure' => false,
>      'maildomain' => '',
>      // 'smtphost' => 'smtp.example.com',
>      // 'smtpport' => 25,
> -    'cache' => false,
> +    'cache' => true,
>  );
>
>
> And the pear upgrade-all updated:
>
> [...]
>
> upgrade-all ok: channel://pear.horde.org/Horde_Thrift-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Stream_Wrapper-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Translation-1.0.2
> upgrade-all ok: channel://pear.php.net/Archive_Tar-1.3.10
> upgrade-all ok: channel://pear.php.net/File-1.4.1
>
> [...]
>
> Build process completed successfully
> Installing '/usr/lib/php5/20060613/intl.so'
> upgrade-all ok: channel://pecl.php.net/intl-2.0.0
> upgrade-all ok: channel://pear.horde.org/Horde_Exception-1.0.9
> upgrade-all ok: channel://pear.horde.org/Horde_Scribe-1.0.2
> upgrade-all ok: channel://pear.horde.org/Horde_History-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Text_Filter-1.1.4
> upgrade-all ok: channel://pear.horde.org/Horde_Mime-1.6.0
> upgrade-all ok: channel://pear.horde.org/Horde_Url-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Perms-1.0.7
> upgrade-all ok: channel://pear.horde.org/Horde_Oauth-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_SessionHandler-1.0.5
> upgrade-all ok: channel://pear.horde.org/Horde_SpellChecker-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Cache-1.0.5
> upgrade-all ok: channel://pear.horde.org/Horde_Controller-1.0.2
> upgrade-all ok: channel://pear.horde.org/Horde_Service_Facebook-1.1.3
> upgrade-all ok: channel://pear.horde.org/Horde_Secret-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Tree-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Mail-1.2.0
> upgrade-all ok: channel://pear.horde.org/Horde_Share-1.3.0
> upgrade-all ok: channel://pear.horde.org/Horde_Token-1.1.7
> upgrade-all ok: channel://pear.horde.org/Horde_Prefs-1.1.8
> upgrade-all ok: channel://pear.horde.org/Horde_Text_Filter_Csstidy-1.0.1
> upgrade-all ok: channel://pear.horde.org/Horde_Data-1.0.7
> upgrade-all ok: channel://pear.horde.org/Horde_Core-1.9.0
> upgrade-all ok: channel://pear.horde.org/Horde_Imap_Client-1.5.2
> upgrade-all ok: channel://pear.horde.org/Horde_Form-1.1.0
> upgrade-all ok: channel://pear.horde.org/Horde_Editor-1.0.2
> upgrade-all ok: channel://pear.horde.org/imp-5.0.20
> upgrade-all ok: channel://pear.horde.org/turba-3.0.13
> configuration option "php_ini" is not set to php.ini location
> You should add "extension=intl.so" to php.ini
>
> Best wishes
>
> Martin
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org

-- 
Core Developer
The Horde Project

e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org

pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de




More information about the dev mailing list