Roundcube Community Forum

SVN Releases => SVN Discussion => Topic started by: nuno on November 22, 2010, 05:05:28 PM

Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: nuno on November 22, 2010, 05:05:28 PM
Hello all,
1)
 today I play a bit with last trunk 4251, with debug on I got in my logs/error 3 lines with:


Code: [Select]
[22-Nov-2010 21:17:14] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/www/webmail/htdocs/program/include/rcube_imap.php on line 705
[22-Nov-2010 21:17:15] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/www/webmail/htdocs/program/include/rcube_imap.php on line 705
[22-Nov-2010 21:18:09] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/www/webmail/htdocs/program/include/rcube_imap.php on line 705
[22-Nov-2010 21:21:04] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/www/webmail/htdocs/program/include/rcube_imap.php on line 705


Hope this helps somehow.

P.S I'm sorry  If this is the wrong place :)

2)
Address Book->Add New group
needs refresh the page to see the new added group name, is this normal?
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: SKaero on November 22, 2010, 07:35:09 PM
You should open a ticket on the trac Roundcube Webmail (http://trac.roundcube.net/)
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: alec on November 23, 2010, 03:21:36 AM
Both should be fixed now in trunk.
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: nuno on November 23, 2010, 01:34:41 PM
Quote from: alec;31474
Both should be fixed now in trunk.


Ok, I will test!
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: nuno on November 23, 2010, 01:35:21 PM
Quote from: skaero;31472
You should open a ticket on the trac Roundcube Webmail (http://trac.roundcube.net/)


Ok, I'll do that next time, np.
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: nuno on November 23, 2010, 01:59:41 PM
Quote from: alec;31474
Both should be fixed now in trunk.

Sorry, just saw my logs, and still have this  Warning:

Code: [Select]
[23-Nov-2010 19:52:46] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/wwwwebmail/htdocs/program/include/rcube_imap.php on line 705
[23-Nov-2010 19:52:47] PHP Warning:  max() [<a href='function.max'>function.max</a>]: Array must contain at least one element in /var/www/webmail/htdocs/program/include/rcube_imap.php on line 705

The "addgroup" one, is fixed!


To reproduced the issue I had to click in Trash and Spam folder (that is empty both) and got the:  PHP Warning:  max()

Hope this helps
Nuno Costa
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: alec on November 23, 2010, 02:16:51 PM
Do you have enable_caching=true? Enable imap_debug and provide the log.
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: alec on November 23, 2010, 02:26:34 PM
I've found it. Fixed in r4254.
Title: trunk-4251 error-log rcube_imap.php on line 705
Post by: nuno on November 23, 2010, 02:29:48 PM
Quote from: alec;31485
I've found it. Fixed in r4254.


Confirmed, fixed!