[Tickets #9354] Re: Incomaptible with php 5.3.3
bugs at horde.org
bugs at horde.org
Sun Oct 31 19:38:40 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9354
------------------------------------------------------------------------------
Ticket | 9354
Updated By | thiemo at gelassene-pferde.biz
Summary | Incomaptible with php 5.3.3
Queue | Horde Groupware Webmail Edition
Version | 1.2.8
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
thiemo at gelassene-pferde.biz (2010-10-31 15:38) wrote:
> I get a huge bunch of deprecation messages - if I turn on error
> reporting in php that is, if not the screen remaines blank.
>
> However, navigating to imp/login.php results in:
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/History.php on
> line 244 Deprecated: Assigning the return value of new by reference
> is deprecated in
> /var/www/localhost/htdocs/gw/kronolith/lib/Driver.php on line 201
> Deprecated: Assigning the return value of new by reference is
> deprecated in
> /var/www/localhost/htdocs/gw/kronolith/lib/Driver/sql.php on line
> 352 Deprecated: Assigning the return value of new by reference is
> deprecated in
> /var/www/localhost/htdocs/gw/kronolith/lib/Driver/sql.php on line
> 373 Deprecated: Assigning the return value of new by reference is
> deprecated in
> /var/www/localhost/htdocs/gw/kronolith/lib/Driver/sql.php on line
> 402 Deprecated: Assigning the return value of new by reference is
> deprecated in
> /var/www/localhost/htdocs/gw/kronolith/lib/Driver/sql.php on line
> 456 Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Share.php on
> line 117 Deprecated: Assigning the return value of new by reference
> is deprecated in
> /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php on line 214
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php
> on line 276 Deprecated: Assigning the return value of new by
> reference is deprecated in
> /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php on line 349
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php
> on line 421 Deprecated: Assigning the return value of new by
> reference is deprecated in
> /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php on line 526
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Share/sql.php
> on line 571 Deprecated: Assigning the return value of new by
> reference is deprecated in
> /var/www/localhost/htdocs/gw/pear/php/MDB2.php on line 393
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/pear/php/MDB2.php on line
> 2647 Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Maintenance.php
> on line 140 Deprecated: Assigning the return value of new by
> reference is deprecated in
> /var/www/localhost/htdocs/gw/lib/Horde/Maintenance.php on line 334
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Maintenance.php
> on line 430 Deprecated: Assigning the return value of new by
> reference is deprecated in
> /var/www/localhost/htdocs/gw/lib/Horde/Group.php on line 158
> Deprecated: Assigning the return value of new by reference is
> deprecated in /var/www/localhost/htdocs/gw/lib/Horde/Group.php on
> line 641 Deprecated: Assigning the return value of new by reference
> is deprecated in /var/www/localhost/htdocs/gw/nag/lib/Driver.php on
> line 134 Deprecated: Assigning the return value of new by reference
> is deprecated in /var/www/localhost/htdocs/gw/nag/lib/Driver.php on
> line 137 Deprecated: Assigning the return value of new by reference
> is deprecated in /var/www/localhost/htdocs/gw/nag/lib/Driver.php on
> line 140 Fatal error: Uncaught exception 'Exception' with message
> 'DateTime::__construct(): It is not safe to rely on the system's
> timezone settings. You are *required* to use the date.timezone
> setting or the date_default_timezone_set() function. In case you
> used any of those methods and you are still getting this warning,
> you most likely misspelled the timezone identifier. We selected
> 'Europe/Berlin' for 'CET/1,0/no DST' instead' in
> /var/www/localhost/htdocs/gw/lib/Horde/Date.php:537 Stack trace: #0
> /var/www/localhost/htdocs/gw/lib/Horde/Date.php(537):
> DateTime->__construct() #1
> /var/www/localhost/htdocs/gw/lib/Horde/Date.php(588):
> Horde_Date->format('Y-m-d H:i:s') #2
> /var/www/localhost/htdocs/gw/lib/Horde/Alarm/sql.php(143):
> Horde_Date->sqlDateTime() #3
> /var/www/localhost/htdocs/gw/lib/Horde/Alarm.php(275):
> Horde_Alarm_sql->_list(false, Object(Horde_Date)) #4
> /var/www/localhost/htdocs/gw/lib/Horde/Alarm.php(301):
> Horde_Alarm->listAlarms(false, NULL, true, true) #5
> /var/www/localhost/htdocs/gw/lib/Horde/Notification.php(209): Hor in
> /var/www/localhost/htdocs/gw/lib/Horde/Date.php on line 537
>
>
> test.php shows:
> Horde Version
>
> * Horde: 3.3.10
>
> Horde Applications
>
> * Dimp: H3 (1.1.6)
> * Horde: 3.3.10
> * Imp: H3 (4.3.9) (run Imp tests)
> * Ingo: H3 (1.2.5) (run Ingo tests)
> * Kronolith: H3 (2.3.5) (run Kronolith tests)
> * Mimp: H3 (1.1.3)
> * Mnemo: H3 (2.2.4)
> * Nag: H3 (2.3.6)
> * Turba: H3 (2.3.5) (run Turba tests)
>
> PHP Version
>
> * View phpinfo() screen
> * View loaded extensions
> * PHP Version: 5.3.3-pl1-gentoo
> * PHP Major Version: 5.3
> * PHP Minor Version: 3
> * PHP Subminor Version: pl1-gentoo
> * PHP Version Classification: release
> * This version of PHP has not been fully tested with this
> version of Horde.
>
> PHP Module Capabilities
>
> * Ctype Support: Yes
> * DOM XML Support: Yes
> * FTP Support: Yes
> * GD Support: Yes
> * Gettext Support: Yes
> * GeoIP Support (via PECL extension): No
> Horde can optionally use the GeoIP extension to provide faster
> country name lookups.
> * Iconv Support: Yes
> * GNU Iconv Support: Yes
> * IMAP Support: Yes
> * Imagick Library: Yes
> * JSON Support: Yes
> * LDAP Support: Yes
> * LZF Compression Support: No
> If the lzf PECL module is available, Horde can compress some
> cached data in your session to make your session size smaller.
> * Mbstring Support: Yes
> * PCRE Support: Yes
> * PCRE UTF-8 Support: Yes
> * Mcrypt Support: Yes
> * memcached Support (memcache): No
> The memcache PECL module is only needed if you are using a
> memcached server for caching or sessions. See horde/docs/INSTALL for
> information on how to install PECL/PHP extensions.
> * MIME Magic Support (fileinfo): Yes
> * MIME Magic Support (mime_magic): No
> The fileinfo PECL module (see above) or the mime_magic PHP
> extension will most likely provide faster MIME Magic lookups than
> the built-in Horde PHP magic code. See horde/docs/INSTALL for
> information on how to install PECL/PHP extensions.
> * MySQL Support: Yes
> * OpenSSL Support: Yes
> * PostgreSQL Support: Yes
> * Session Support: Yes
> * XML Support: Yes
> * Zlib Support: Yes
>
> Miscellaneous PHP Settings
>
> * magic_quotes_runtime disabled: Yes
> * memory_limit value: 128M
> If PHP's internal memory limit is not set high enough Horde
> will not be able to handle large data items (e.g. large mail
> attachments in IMP). You should set the value of memory_limit in
> php.ini to a sufficiently high value - at least 64M is recommended.
> * safe_mode disabled: Yes
> * session.use_trans_sid disabled: Yes
> * session.auto_start disabled: Yes
> * zlib.output_compression disabled: Yes
> * zend_accelerator.compress_all disabled: Yes
>
> File Uploads
>
> * file_uploads enabled: Yes
> * upload_max_filesize: 12M
> * post_max_size: 8M
> This value should be several times the expect largest upload
> size (notwithstanding any upload limits present in an application).
> Any upload that exceeds this size will cause any state information
> sent along with the uploaded data to be lost. This is a PHP
> limitation and can not be worked around.
>
> Required Horde Configuration Files
>
> * config/conf.php: Yes
> * config/mime_drivers.php: Yes
> * config/nls.php: Yes
> * config/prefs.php: Yes
> * config/registry.php: Yes
>
> PHP Sessions
>
> * Session counter: 3
> * To unregister the session: click here
>
> PEAR
>
> * PEAR Search Path (PHP's include_path):
> /var/www/localhost/htdocs/horde-webmail-1.2.8/lib:/var/www/localhost/htdocs/horde-webmail-1.2.8/lib/../pear/php
> * PEAR: Yes
> * Recent PEAR: Yes
> * Mail: Yes
> * Mail_Mime: Yes
> * Mail_mimeDecode: Yes
> * Log: Yes
> * DB: Yes
> * MDB2: Yes
> * Net_Socket: Yes
> * Date: Yes
> * Auth_SASL: Yes
> * HTTP_Request: Yes
> * HTTP_WebDAV_Server: Yes
> * Net_SMTP: Yes
> * Services_Weather: Yes
> * Cache: Yes
> * XML_Serializer: Yes
> * Net_DNS: Yes
Put as work around to the fatal error in line 104 of file lib/Horde/Date.php:
date_default_timezone_set('Europe/Berlin');
More information about the bugs
mailing list