Roundcube Community Forum

 

trunk-4251 error-log rcube_imap.php on line 705

Started by nuno, November 22, 2010, 05:05:28 PM

Previous topic - Next topic

nuno

Hello all,
1)
 today I play a bit with last trunk 4251, with debug on I got in my logs/error 3 lines with:


[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?

SKaero


alec


nuno

Quote from: alec;31474Both should be fixed now in trunk.

Ok, I will test!

nuno

Quote from: skaero;31472You should open a ticket on the trac Roundcube Webmail

Ok, I'll do that next time, np.

nuno

#5
Quote from: alec;31474Both should be fixed now in trunk.

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

[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

alec

Do you have enable_caching=true? Enable imap_debug and provide the log.

alec


nuno

Quote from: alec;31485I've found it. Fixed in r4254.

Confirmed, fixed!