Author Topic: [SOLVED] Buttons grayed out and javascript errors  (Read 3302 times)

Offline yu90wyhw

  • Newbie
  • *
  • Posts: 2
[SOLVED] Buttons grayed out and javascript errors
« on: March 31, 2018, 06:59:45 PM »
Hi, I installed RoundCube 1.3.5 on a fresh Ubuntu 16.04. The installation was successful as well as the tests at the third step of installations.

I can log in to my email user, but the interface malfunctions. I can't see the messages already in my IMAP account, the refresh, compose, reply (etc.) buttons are all grayed out; when I enter the settings generally things are not clickable and the software is basically unusable.

The clue is from the Apache2 logs:

Code: [Select]
123.123.123.123 - - [31/Mar/2018:18:23:13 -0400] "GET /roundcube/ HTTP/1.1" 200 11563 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:13 -0400] "GET /roundcube/program/js/jquery.min.js HTTP/1.1" 404 583 "https://mybrandnewserver.org/roundcube/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:15 -0400] "GET /roundcube/?_task=mail&_action=compose HTTP/1.1" 302 553 "https://mybrandnewserver.org/roundcube/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:15 -0400] "GET /roundcube/?_task=mail&_action=compose&_id=14960988935ac00a53b3abb HTTP/1.1" 200 9282 "https://mybrandnewserver.org/roundcube/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:15 -0400] "GET /roundcube/program/js/jquery.min.js HTTP/1.1" 404 583 "https://mybrandnewserver.org/roundcube/?_task=mail&_action=compose&_id=14960988935ac00a53b3abb" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:16 -0400] "GET /roundcube/program/js/publickey.js HTTP/1.1" 404 735 "https://mybrandnewserver.org/roundcube/?_task=mail&_action=compose&_id=14960988935ac00a53b3abb" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
123.123.123.123 - - [31/Mar/2018:18:23:16 -0400] "GET /roundcube/program/js/tinymce/tinymce.min.js HTTP/1.1" 404 745 "https://mybrandnewserver.org/roundcube/?_task=mail&_action=compose&_id=14960988935ac00a53b3abb" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"

The directory /roundcube/program/js exists but just doen't have the files:
  • jquery.min.js
  • publickey.js
  • tinymce/tinymce.min.js

I don't know why the software looks for them there.
« Last Edit: April 01, 2018, 03:36:51 AM by yu90wyhw »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Buttons grayed out and javascript errors
« Reply #1 on: April 01, 2018, 02:36:20 AM »
Did you run bin/install-jsdeps.sh?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline yu90wyhw

  • Newbie
  • *
  • Posts: 2
Re: Buttons grayed out and javascript errors
« Reply #2 on: April 01, 2018, 03:36:22 AM »
Nope...

That fixed it. I feel like such an idiot, it's right there in step 2.2 of in INSTALL file... I glossed over it somehow.

Everything works now!