bagu | Bon, ben j'ai trouvé la réponse à ma question (enfin presque) :
Code :
- * Error: Fatal error: Only variables can be passed by reference in /usr/local/apache2/htdocs/squirrelmail/functions/imap_messages.php on line 480
- After upgrading from PHP4 to PHP5.1, my Squirrelmail now sends this message when I check mail, when I click on INBOX, or when I click on "sent." Everything else continues to work.
- This seems to be triggered by PHP 5.1, since this error never came up when using squirrelmail with PHP 5.0.x.
- Correction: The problem also occurs with PHP 5.0.5 (not with 5.0.4) !!
- You might also want to check out http://sourceforge.net/tracker/ind [...] tid=423679 - This patch should fix the problem (stolen from squirrelmail-stable.diff)
- diff -urN squirrelmail-stable.orig/functions/imap_messages.php squirrelmail-stable/functions/imap_messages.php
- --- squirrelmail-stable.orig/functions/imap_messages.php 2005-04-17 18:50:14.000000000 +0300
- +++ squirrelmail-stable/functions/imap_messages.php 2005-07-14 09:23:02.991592896 +0300
- @@ -476,8 +476,9 @@
- * NOTE: this is actually a duplicate from the function in
- * class/mime/Rfc822Header.php.
- */
- -function parsePriority($value) {
- - $value = strtolower(array_shift(split('/\w/',trim($value))));
- +function parsePriority($sValue) {
- + $aValue=split('/\w/',trim($sValue));
- + $value = strtolower(array_shift($aValue));
- if ( is_numeric($value) ) {
- return $value;
- }
- Michael Abshoff (too lazy to create an account)
- Its imap_messages.php just in case someone is working late at night and tries to find the file with find
|
|