Author Topic: [SOLVED] compose windows is shown briefly and then turns white  (Read 5825 times)

Offline caltenhofen

  • Newbie
  • *
  • Posts: 5
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
« Last Edit: July 07, 2013, 04:54:54 PM by caltenhofen »

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: compose windows is shown briefly and then turns white
« Reply #1 on: July 07, 2013, 01:58:08 PM »
Do you have any plugins installed? If so, try disabling them as a test.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline caltenhofen

  • Newbie
  • *
  • Posts: 5
Re: compose windows is shown briefly and then turns white
« Reply #2 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: compose windows is shown briefly and then turns white
« Reply #3 on: July 07, 2013, 02:17:21 PM »
Any errors in the JS Console?

Offline caltenhofen

  • Newbie
  • *
  • Posts: 5
Re: compose windows is shown briefly and then turns white
« Reply #4 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:

Code: [Select]
<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>

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: compose windows is shown briefly and then turns white
« Reply #5 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?

Offline caltenhofen

  • Newbie
  • *
  • Posts: 5
Re: compose windows is shown briefly and then turns white
« Reply #6 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 :-(

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: compose windows is shown briefly and then turns white
« Reply #7 on: July 07, 2013, 02:57:48 PM »
Could you setup a test account so I could take a look?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: compose windows is shown briefly and then turns white
« Reply #8 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:
Code: [Select]
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.

Offline caltenhofen

  • Newbie
  • *
  • Posts: 5
Re: compose windows is shown briefly and then turns white
« Reply #9 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