Roundcube Community Forum

Release Support => Pending Issues => Topic started by: itbsjb on September 07, 2014, 11:47:29 AM

Title: RC 1.0.2 doesn't show HTML-toggle
Post by: itbsjb on September 07, 2014, 11:47:29 AM
Hi,

We're running Roundcube as our webmail service. Previously this was 0.9.1, recently we upgraded to 1.0.0 and today I've upgraded to 1.0.2. However, the advertised HTML-editor, as seen below in a screenshot from the RC-website, is nowhere to be found.

What it should be:
(http://roundcube.net/images/screens/mailcompose.jpg)

What it is
(http://i.imgur.com/7HLBWWy.png)

I'm hoping some of you knows what might cause this problem. As far as I know, there are no plug-ins active that might interfere. I have tested multiple interface languages, have tried toggling between plaintext and HTML modes and have tried in Firefox 31.0 and Chrome 37.0.

Thanks for all help,
Kind regards,
Bram
Title: Re: RC 1.0.2 doesn't show HTML-toggle
Post by: SKaero on September 07, 2014, 11:56:07 AM
Are there any errors in the JS console?
Title: Re: RC 1.0.2 doesn't show HTML-toggle
Post by: itbsjb on September 08, 2014, 11:55:49 AM
Unfortunately, yes.

Failed to load resource: the server responded with a status of 404 (Not Found) /program/js/tiny_mce/tiny_mce.js?s=1405858678
Uncaught ReferenceError: tinyMCE is not defined editor.min.js?s=1405858677:4
Uncaught ReferenceError: tinyMCE is not defined app.min.js?s=1405858677:117
Uncaught ReferenceError: tinyMCE is not defined app.min.js?s=1405858677:116

The file location mentioned points to a DocumentRoot of /roundcube/, and there (in /program/js/tiny_mce) it does show a (minified) tiny_mce.js-script. For some strange reason, it can't read it, it seems.
Title: Re: RC 1.0.2 doesn't show HTML-toggle
Post by: dtech on September 08, 2014, 12:48:45 PM
The problem was the following line in the apache vhost configuration file:

    Alias /program/js/tiny_mce/ /usr/share/tinymce/www/


Where the /usr/share/tinymce/www/ directory didn't exist anymore. This was a leftover from when we installed roundcube through a debian package, which contained this in the supplied apache.conf file

Anyway, stupid mistake but it's fixed now, thanks!