Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: madapaka on December 09, 2008, 07:45:19 PM

Title: Browser loads a blank page when mail is read problem
Post by: madapaka on December 09, 2008, 07:45:19 PM
Hi Guys,

I've been a Roundcube fan way back 2006 and lately I'm encountering problems with regards to roundcube, when users read an email in his/her inbox, the browser loads a blank page, usually when I refresh the page it loads but nowadays, it even refreshing does not work, do any of you encountered this? How did you fix it?

TIA

Jan
Title: Browser loads a blank page when mail is read problem
Post by: madapaka on December 09, 2008, 08:51:33 PM
I've seen a lot of these errors in roundcube's error logs:

[10-Dec-2008 09:37:36] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /var/www/html/webmail/program/lib/imap.inc on line 174

Any workaround?

TIA
Title: Browser loads a blank page when mail is read problem
Post by: madapaka on December 10, 2008, 01:09:26 AM
I was able to fix it somehow by increasing memory_limit of php.ini and installing php-xml. It seems like RC or my php settings can't handle the load, I have six virtual domains hosted on these server.
Title: Browser loads a blank page when mail is read problem
Post by: madapaka on December 11, 2008, 10:19:00 AM
It seems that this issue keeps on coming back, I've noticed that when all available physical RAM is used whether by an application or cache I always see this in roundcube's logs --> PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/html/webmail/program/lib/imap.inc on line 174 , I've scourged the forum and it seems that issue is still unresolved, has anyone able resolved this? If yes, how?

TIA
Title: Browser loads a blank page when mail is read problem
Post by: wheaties82 on December 11, 2008, 07:34:08 PM
I also have experienced this issue with trying to get a second installation of roundcube to work.  

I've also attempted to increase the memory limit in php (it is currently set to 64M) but it doesn't make a difference.

I have an email server that has two domains and Postfix is configured to accept mail for either domainA or domainB. so johndoe@domainA can also be johndoe@domainB -- same email (aka johndoe can log into domainA or domainB and see the same Maildir files) just different mail servers are used for sending / receiving.

Both domainA and domainB are listed in my_destinations in postfix (i.e. they are canonical domains, not hosted)

I have installed RC for domainA already with its own independent database and user. It is functioning properly.

In a separate folder with a new installation (independent directory from domainA) I have another installation referencing a (new) seperate database and user. The installation summary ends without an issue -- everything says it is ok, I can even send a test email. The strange issue is when I attempt to do a test login (or normal login) I get a timeout error. Below are examples:

[08-Dec-2008 23:02:50] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/domainB/webmail/program/lib/imap.inc on line 317
[08-Dec-2008 23:08:23] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/domainB/webmail/program/lib/imap.inc on line 208

I have verified that domainB is working with IMAP as I can login to the account via thunderbird and send and receive without any problems. I have verified that all my MX and DNS records are correct -- as I can send and receive email no problem

I have tried sharing the same database as domainA but I get the same results -- a timeout and error referrencing imap.inc

Hopefully someone can help us out
Title: Browser loads a blank page when mail is read problem
Post by: mtrojahn on January 06, 2009, 10:18:40 AM
I was having the same problem... Some random emails when clicked on the message list, would just load a blank page (in firefox) or just get stuck loading (in opera).

After debugging almost everything I finally noticed the "installer" directory in this last release, which performs a few tests on my server to see if it's compatible with RC and it complained about mbstring.func_overload that has to be set to 0 (zero).

So I just added "php_admin_value mbstring.func_overload 0" to RC's vhost and voila, it worked...

By the way, despite all it's said here, changing the mem_limit never helped me at all... So I thought it would be worth to share what fixed for me...

Good luck!