Author Topic: Can't Access Messages  (Read 7217 times)

Offline raptor1010001

  • Newbie
  • *
  • Posts: 3
Can't Access Messages
« on: February 24, 2010, 11:21:48 AM »
Hey all,

Tried to upgrade to the latest version of RoundCube (Debian "squeeze", RoundCube 0.3.1-3) and after dealing with a bunch of headaches related to not obtaining database values from the include file debian_db.php and various customizations I'm still encountering problems with the ability to read any message, collapse/expand folder lists, browse to the next page of messages, or simply click on the Unread/Read toggle.

Nothing responds.  I can click on folder names and browse to a different folder or access my Address Book, but can't select any of the entries, and I can access the Settings tab, but can't select any of the categories.

Firefox's Error Console shows the following messages:

Warning: Unknown property 'user-select'.  Declaration dropped.
Source File: https://www.domainname.ca/webmail/skins/default/common.css?s=1266053664
Line: 292

Warning: Unknown property 'text-overflow'.  Declaration dropped.
Source File: https://www.domainname.ca/webmail/skins/default/mail.css?s=1256909851
Line: 710

Warning: Error in parsing value for 'white-space'.  Declaration dropped.
Source File: https://www.domainname.ca/webmail/skins/default/mail.css?s=1256909851
Line: 1011

Error: jQuery is not defined
Source File: https://www.domainname.ca/webmail/program/js/app.js?s=1256995295
Line: 23

Error: rcmail is undefined
Source File: https://www.domainname.ca/webmail/?_task=mail
Line: 442

Error: $ is not defined
Source File: https://www.domainname.ca/webmail/?_task=mail
Line: 923

Error: $ is not defined
Source File: https://www.domainname.ca/webmail/skins/default/functions.js?s=1256463278
Line: 124

Nothing is generated in the RoundCube logs that would give me a clue as to what's going on either. :(

Any thoughts?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,881
    • SKaero - Custom Roundcube development
Can't Access Messages
« Reply #1 on: February 24, 2010, 11:33:52 AM »
Can you outline the steps to used to upgrade RoundCube.

Offline raptor1010001

  • Newbie
  • *
  • Posts: 3
Can't Access Messages
« Reply #2 on: February 25, 2010, 12:25:21 AM »
Pretty straightforward.

apt-get install roundcube roundcube-core

I do have separate directories for the different domains I host so I have to upgrade their program and config code from /var/lib/roundcube/ to /var/lib/roundcube/**domain**/.  I do some customization for the name of the site (ie: "**domain** Webmail instead of RoundCube Webmail") or the main.inc.php and iniset.php for the INSTALL_PATH.

That's just a quick overview.  I take the contents of /var/lib/roundcube and copy it to each domain and customize the files for each domain, remove the symlink for main.inc.php and copy the file from /etc/roundcube/.

Beyond that the files between the domain and what the package installed to /var/lib/roundcube are identical.  The /etc/roundcube/db.inc.php never changed beyond what was installed by default and the debian-db.php file was specified as include_one(...) which worked before, but doesn't seem to be responding now.

I've considered going back to the older version of roundcube if I can find the debian package for it, but I'd prefer to move forward....

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
Can't Access Messages
« Reply #3 on: February 25, 2010, 03:31:21 AM »
Have you cleared your cache since you did the upgrade? Since these are JS errors its just something to try. If you view the source of the mailbox page, at the top you should see references to some JS files (jQuery, app.js...) could you double check those files are there and that they are accessesible for the webserver? It looks like maybe you are missing the jQuery one for some reason.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline raptor1010001

  • Newbie
  • *
  • Posts: 3
Can't Access Messages
« Reply #4 on: February 25, 2010, 11:29:46 PM »
There we go!!!  Cache didn't affect it, permissions are fine, but the jquery-1.3.min.js symlink was pointing to ../../../javascript/jquery/jquery.min.js which wasn't necessarily the right path with my customizations.  I've updated the symlink to /usr/share/javascript/jquery/jquery.min.js and it's working perfectly now!

Thanks JohnDoh and Skaero! ;D