Roundcube Community Forum

Release Support => Pending Issues => Topic started by: caltenhofen on July 07, 2013, 01:54:42 PM

Title: [SOLVED] compose windows is shown briefly and then turns white
Post by: caltenhofen on July 07, 2013, 01:54:42 PM
Hello,

I have a very strange issue after upgrading to 0.9.2.
Now whenever I want to compose an email, no matter if via "compose" or "reply"/"forward" I can see the compose for a fraction of a second before the whole screen turns blank. But when I view the sourcecode in Chrome, everything looks normal to me. The issue is reproduceable with chrome, IE and firefox.
Before we had an older version installed as a package (I think 0.3.x) and everything worked just fine.
I already reinstalled roundcube several times, including dropping and rebuilding the mysql data.
Does anybody have a clue what might cause this issue?
Thank you very much in advance for any hints!

Best regards,
Christian
Title: Re: compose windows is shown briefly and then turns white
Post by: ABerglund on July 07, 2013, 01:58:08 PM
Do you have any plugins installed? If so, try disabling them as a test.
Title: Re: compose windows is shown briefly and then turns white
Post by: caltenhofen on July 07, 2013, 02:06:49 PM
no, there are no plugins installed.
It is a fresh installation and I only entered the required database and mailserver settings.
Title: Re: compose windows is shown briefly and then turns white
Post by: SKaero on July 07, 2013, 02:17:21 PM
Any errors in the JS Console?
Title: Re: compose windows is shown briefly and then turns white
Post by: caltenhofen on July 07, 2013, 02:37:58 PM
good point! It totally forgot about that!
But I just checked and no errors are shown.
But it also shows, that only the header is loaded and no body:

<html><head><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/langs/en.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/langs/en.js',0);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/themes/advanced/editor_template.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/themes/advanced/editor_template.js',1);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/themes/advanced/langs/en.js?s=1371395454"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/paste/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/paste/editor_plugin.js',2);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/emotions/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/emotions/editor_plugin.js',3);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/media/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/media/editor_plugin.js',4);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/nonbreaking/editor_plugin.js',5);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/table/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/table/editor_plugin.js',6);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/searchreplace/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/searchreplace/editor_plugin.js',7);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/visualchars/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/visualchars/editor_plugin.js',8);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/directionality/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/directionality/editor_plugin.js',9);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/inlinepopups/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/inlinepopups/editor_plugin.js',10);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/tabfocus/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/tabfocus/editor_plugin.js',11);"></script><script type="text/javascript" src="https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/spellchecker/editor_plugin.js?s=1371395454" onload="tinymce.dom.ScriptLoader._onLoad(this,'https://www.wikisquare.de/mail/program/js/tiny_mce/plugins/spellchecker/editor_plugin.js',12);"></script></head></html>
Title: Re: compose windows is shown briefly and then turns white
Post by: SKaero on July 07, 2013, 02:46:06 PM
Hmm, I see your using ssl. What are your values for $rcmail_config['force_https'], and $rcmail_config['use_https'] in the main.inc.php?
Title: Re: compose windows is shown briefly and then turns white
Post by: caltenhofen on July 07, 2013, 02:51:59 PM
They were both set to false.
But i just tried all possible combinations and the behavior doesn't change :-(
Title: Re: compose windows is shown briefly and then turns white
Post by: SKaero on July 07, 2013, 02:57:48 PM
Could you setup a test account so I could take a look?
Title: Re: compose windows is shown briefly and then turns white
Post by: SKaero on July 07, 2013, 04:31:14 PM
Ok after some debugging I've tracked the problem down to TinyMCE, specifically an incorrect version of TinyMCE. If you look at:
https://www.wikisquare.de/mail/program/js/tiny_mce/tiny_mce.js
You'll see the following at the top of the file:

var tinymce={majorVersion:"3",minorVersion:"2.7",releaseDate:"2009-09-22"

However RoundCube 0.9.2 comes with TinyMCE 3.5.6, so ether the file didn't get overwritten when you upgraded or some from of server cacheing is preventing the new version from being shown.
Title: Re: compose windows is shown briefly and then turns white
Post by: caltenhofen on July 07, 2013, 04:54:29 PM
Perfect! :D
Thank you very much! There was a line in the apache config I forgot to update.
I guess I would never have found by myself.... :-[
Now everything appears to be working smoothly.

Best regards,
Christian