Re: php-5.3.4 causes error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> After upgrading to php-5.3.4 on Gentoo, I'm getting some error
>> messages although functionality seems to be intact:
>>
>> PHP Strict Standards:  Declaration of Deliver_IMAP::send_mail() should
>> be compatible with that of Deliver::send_mail() in
>> /path/to/squirrelmail/class/deliver/Deliver_IMAP.class.php on line 82
>>
>> PHP Strict Standards:  Creating default object from empty value in
>> /path/to/squirrelmail/class/mime/Message.class.php on line 367
>>
>> Strict Standards: Non-static method Message::parseStructure() should
>> not be called statically in /path/to/squirrelmail/functions/mime.php
>> on line 36
>>
>> Strict Standards: Non-static method Message::parseBodyStructure()
>> should not be called statically in
>> /path/to/squirrelmail/class/mime/Message.class.php on line 296
>>
>> Is this a known problem between squirrelmail-1.4.21 and php-5.3.4?
>>
> Don't enable E_STRICT on SquirrelMail scripts. PHP E_STRICT recommendations
> are not backwards compatible and trying to deal with these warnings can
> increase PHP version requirements or suppress other more serious error
> messages.
>
> SquirrelMail scripts are written to run in PHP 5.2 and older E_ALL error
> reporting level. Set error reporting to 6143 or disable E_STRICT.
>
> --
> Tomas

Thanks Tomas.  Gentoo changed some of their behavior with regard to
PHP and I'm still figuring it out.  It looks like the installed
php.ini for php-5.3.4 is a "development version".  I switched to:

error_reporting = E_ALL & ~E_DEPRECATED

- Grant

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux