[imp] Subscribing/Unsubscribing IMAP Folders

Michael M Slusarz slusarz at horde.org
Thu Mar 7 16:04:07 UTC 2013


Quoting Oscar del Rio <delrio at mie.utoronto.ca>:

> I just found a problem in the Folders management in Basic View when  
> you have many folders.
>
> I have more than 100 old folders, most of them unsubscribed.
> When I click "Show All" I get the full list. But when I clicked  
> "Hide Unsubscribed" I got a blank page!
> The server error log shows:
>
> PHP Fatal error:  Maximum function nesting level of '100' reached,  
> aborting! in /horde/imp/lib/Mailbox.php on line 280

This is *NOT* a PHP error.

> and a long (100) stack trace, with many "IMP_Imap_Tree->next()  
> /horde/imp/lib/Imap/Tree.php:2028"
>
> Workaround: increase xdebug.max_nesting_level in the server's  
> php.ini and restart the server. E.g
>
> xdebug.max_nesting_level = 500

FYI: You should not be running xdebug on a production server.  If just  
for the fact your PHP performance will be deplorable.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list