[dev] Syntax error after upgrade in Socket.php
Martin Höfling
martin.hoefling at googlemail.com
Wed Apr 11 12:37:36 UTC 2012
... actually. This is maybe a problem of still using PHP 5.2?
downgrading to Horde_Imap_Client-1.5.1 solves the problem.
Best Martin
2012/4/11 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?
>
> 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
>
>
More information about the dev
mailing list