Author Topic: trunk-4251 error-log rcube_imap.php on line 705  (Read 3963 times)

Offline nuno

  • Newbie
  • *
  • Posts: 5
trunk-4251 error-log rcube_imap.php on line 705
« 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?
« Last Edit: November 22, 2010, 06:14:08 PM by nuno »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,018
    • http://SKaero.com/
trunk-4251 error-log rcube_imap.php on line 705
« Reply #1 on: November 22, 2010, 07:35:09 PM »
You should open a ticket on the trac Roundcube Webmail

Online alec

  • Hero Member
  • *****
  • Posts: 999
trunk-4251 error-log rcube_imap.php on line 705
« Reply #2 on: November 23, 2010, 03:21:36 AM »
Both should be fixed now in trunk.

Offline nuno

  • Newbie
  • *
  • Posts: 5
trunk-4251 error-log rcube_imap.php on line 705
« Reply #3 on: November 23, 2010, 01:34:41 PM »
Quote from: alec;31474
Both should be fixed now in trunk.


Ok, I will test!

Offline nuno

  • Newbie
  • *
  • Posts: 5
trunk-4251 error-log rcube_imap.php on line 705
« Reply #4 on: November 23, 2010, 01:35:21 PM »
Quote from: skaero;31472
You should open a ticket on the trac Roundcube Webmail


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

Offline nuno

  • Newbie
  • *
  • Posts: 5
trunk-4251 error-log rcube_imap.php on line 705
« Reply #5 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
« Last Edit: November 23, 2010, 02:06:27 PM by nuno »

Online alec

  • Hero Member
  • *****
  • Posts: 999
trunk-4251 error-log rcube_imap.php on line 705
« Reply #6 on: November 23, 2010, 02:16:51 PM »
Do you have enable_caching=true? Enable imap_debug and provide the log.

Online alec

  • Hero Member
  • *****
  • Posts: 999
trunk-4251 error-log rcube_imap.php on line 705
« Reply #7 on: November 23, 2010, 02:26:34 PM »
I've found it. Fixed in r4254.

Offline nuno

  • Newbie
  • *
  • Posts: 5
trunk-4251 error-log rcube_imap.php on line 705
« Reply #8 on: November 23, 2010, 02:29:48 PM »
Quote from: alec;31485
I've found it. Fixed in r4254.


Confirmed, fixed!