[horde] javascript not loading in 3 pages

Remi horde at remisan.be
Fri Mar 27 21:29:07 UTC 2015


 

Hey, 

So I copied all the JS files I had on my test server to my production
server. Now the javascript is working perfectly. It is curious though
that the base install did not install half the js files for me... 

Thanks again for pointing me the way. 

Rémi 

On 27/03/2015 22:05, Remi wrote: 

> Hey, 
> 
> Thanks a lot for your reply. 
> To be honest, I did not see the error 404's. (I thought they showed in
> the error log, not the access log) 
> So I went to have a look at the errors and the files it's trying to get.
> 
> GET /js/date/date.js
> GET /js/date/en-US.js
> GET /js/hordecore.js
> GET /js/tooltips.js
> GET /js/horde.js
> GET /js/scriptaculous/effects.js
> GET /js/scriptaculous/sound.js
> GET /js/growler.js
> GET /js/accesskeys.js
> GET /js/popup.js
> GET /js/hordeblocks.js 
> 
> Ok, so these are a few of the problems. This is the content of the /js/
> folder: 
> 
> activesyncadmin.js
> dragdrop2.js
> ieescguard.js
> logintasks-jquery.js
> plupload
> slider2.js
> textarearesize.js
> vatid.js
> activesyncprefs.js
> facebookclient.js
> json2.js
> logintasks.js
> problem.js
> smartmobile-login.js
> topbar.js
> categoryprefs.js
> form_ghost.js
> jstorage.js
> md5.js
> quickfinder.js
> stripe.js
> twitterclient.js
> contextsensitive.js
> form_sections.js
> login.js
> obrowser.js
> sidebar.js
> syncmlprefs.js
> userupdate.js 
> 
> Apparently I'm missing quite a few of the javascripts. I am not sure how
> many there should be. Any indication on anything I did wrong during the
> install? 
> 
> Thanks 
> 
> Rémi 
> 
> On 27/03/2015 21:18, Erling Preben Hansen wrote:
> Citat af Remi <horde at remisan.be>: Hello, I want to replace roundcube with horde on my server. However, I seem to be running into some problems. Which next steps can I take to troubleshoot this issue? Has anybody had this before? Any idea how to fix? PROBLEM DESCRIPTION: The login screen does not request which mode I want to use. After loging in, I get the following notification: "JavaScript is either disabled or not available on your browser. You are restricted to the minimal view." Other then that, the first landing page looks normal, has colors, a lay-out, but no javascript (I think). The following pages load without CSS (and thus without JS I am guessing): * Mail * Mail => New Message * Calendar These pages have a white background, black text and basic HTML formatting. Notice that other pages run without problem (mail search, mail filter, calendar new event, calendar day, calendar workweek) SYSTEM DESCRIPTION: * Debian 7.8 * Virtualmin installation * php runs in fcgid (works on
a centos test installation) STEPS

TAKEN: * apache error logs show nothing * Apache access logs show:
_xx.xx.xx.xx - - [27/Mar/2015:11:23:23 +0100] "GET
/js/horde.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 938
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ _xx.xx.xx.xx - -
[27/Mar/2015:11:23:23 +0100] "GET
/js/popup.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 777
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ _xx.xx.xx.xx - -
[27/Mar/2015:11:23:23 +0100] "GET
/js/date/date.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 938
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ _xx.xx.xx.xx - -
[27/Mar/2015:11:23:23 +0100] "GET
/js/accesskeys.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 938
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ _xx.xx.xx.xx - -
[27/Mar/2015:11:23:23 +0100] "GET
/js/prototype.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 777
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ _xx.xx.xx.xx - -
[27/Mar/2015:11:23:23 +0100] "GET
/js/date/en-US.js?v=ff95fffff19fe8fddd4bc8456000005a HTTP/1.1" 404 938
"https://webmail.domain.com/admin/config/ [1] [1 [1]]" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/41.0.2272.101 Safari/537.36"_ * memcached error logs show nothing
* re-installation does not help * no caching set-up * problem occurs in
Internet Explorer, Chrome, Firefow * problem occurs on Windows 7, Mac
OSX * Review rights (seem
OK) INSTALLATION OVERVIEW: _downloading Horde_Role-1.0.1.tgz ..._
_Starting to download Horde_Role-1.0.1.tgz (10,977 bytes)_ _.....done:
10,977 bytes_ _install ok: channel://pear.horde.org/Horde_Role-1.0.1_
_horde/Horde_Role has post-install scripts:_
_/usr/share/php/PEAR/Installer/Role/Horde/Role.php_ _Horde_Role: Use
"pear run-scripts horde/Horde_Role" to finish setup._ _DO NOT RUN
SCRIPTS FROM UNTRUSTED SOURCES_ _Including external post-installation
script "/usr/share/php/PEAR/Installer/Role/Horde/Role.php" - any errors
are in this script_ _Inclusion succeeded_ _running post-install script
"Horde_Role_postinstall->init()"_ _init succeeded_ _Filesystem location
for the base Horde application : /home/horde/public_html/_
_Configuration successfully saved to PEAR config._ _Install scripts
complete_ _WARNING: "pear/Console_Getopt" is deprecated in favor of
"pear/Console_GetoptPlus"_ _Unknown remote channel:
phpseclib.sourceforge.net_ _horde/imp can optionally use package
"channel://phpseclib.sourceforge.net/File_ASN1"_[1 [1]]
_horde/Horde_Ldap requires PHP extension "ldap"_ _downloading
webmail-5.2.5.tgz ..._ _Starting to download webmail-5.2.5.tgz (153,005
bytes)_ _.................................done: 153,005 bytes_
_downloading content-2.0.4.tgz ..._ _Starting to download
content-2.0.4.tgz (21,670 bytes)_ _...done: 21,670 bytes_ _downloading
gollem-3.0.3.tgz ..._ _Starting to download gollem-3.0.3.tgz (980,418
bytes)_ _...done: 980,418 bytes_ _downloading horde-5.2.4.tgz ..._
_Starting to download horde-5.2.4.tgz (2,811,518 bytes)_ _...done:
2,811,518 bytes_ _downloading imp-6.2.7.tgz ..._ _Starting to download
imp-6.2.7.tgz (4,920,718 bytes)_ _...done: 4,920,718 bytes_ _downloading
ingo-3.2.4.tgz ..._ _Starting to download ingo-3.2.4.tgz (1,480,175
bytes)_ _...done: 1,480,175 bytes_ _downloading kronolith-4.2.5.tgz ..._
_Starting to download kronolith-4.2.5.tgz (2,589,912 bytes)_ _...done:
2,589,912 bytes_ _downloading mnemo-4.2.5.tgz ..._ _Starting
to download mnemo-4.2.5.tgz (1,198,523 bytes)_ _...done: 1,198,523
bytes_ _downloading nag-4.2.4.tgz ..._ _Starting to download
nag-4.2.4.tgz (1,649,993 bytes)_ _...done: 1,649,993 bytes_ _downloading
trean-1.1.1.tgz ..._ _Starting to download trean-1.1.1.tgz (592,386
bytes)_ _...done: 592,386 bytes_ _downloading turba-4.2.5.tgz ..._
_Starting to download turba-4.2.5.tgz (1,947,010 bytes)_ _...done:
1,947,010 bytes_ _install ok: channel://pear.horde.org/content-2.0.4_
_install ok: channel://pear.horde.org/horde-5.2.4_ _install ok:
channel://pear.horde.org/gollem-3.0.3_ _install ok:
channel://pear.horde.org/imp-6.2.7_ _install ok:
channel://pear.horde.org/ingo-3.2.4_ _install ok:
channel://pear.horde.org/kronolith-4.2.5_ _install ok:
channel://pear.horde.org/mnemo-4.2.5_ _install ok:
channel://pear.horde.org/nag-4.2.4_ _install ok:
channel://pear.horde.org/trean-1.1.1_ _install ok:
channel://pear.horde.org/turba-4.2.5_ _install ok:
channel://pear.horde.org/webmail-5.2.5_ _Installing
Horde Groupware Webmail Edition_ _Configuring database settings_ _What
database backend should we use?_ _ (false) [None]_ _ (mysql) MySQL /
PDO_ _ (mysqli) MySQL (mysqli)_ _ (oci8) Oracle_ _ (pgsql) PostgreSQL_ _
(sqlite) SQLite_ _Type your choice []: mysql_ _Username to connect to
the database as* [] horde_ _Password to connect with_ _How should we
connect to the database?_ _ (unix) UNIX Sockets_ _ (tcp) TCP/IP_ _Type
your choice [unix]:_ _Location of UNIX socket []_ _Database name to use*
[]_ _This field is required._ _Database name to use* [] horde_
_Internally used charset* [utf-8]_ _Use SSL to connect to the server?_ _
(1) Yes_ _ (0) No_ _Type your choice [0]:_ _Certification Authority to
use for SSL connections []_ _Split reads to a different server?_ _
(false) Disabled_ _ (true) Enabled_ _Type your choice [false]:_ _Writing
main configuration file... done._ _Creating and updating database
tables... done._ _Configuring administrator settings_ _Specify an
existing mail user who
you want to give administrator_ _permissions (optional): admin.domain_
_Writing main configuration file... done._ _Thank you for using Horde
Groupware Webmail Edition!_ Thanks a lot for any helpful reply :) Rémi
-- Horde mailing list Frequently Asked Questions:
http://horde.org/faq/To [2] [2 [2]] unsubscribe, mail:
horde-unsubscribe at lists.horde.org

> Hey The 404 error you gets on the js folder could be a permission issue. Has your web server propper access to all the folders in /var/www/horde It need at least read access. /erling Links: ------ [1 [1]] channel://phpseclib.sourceforge.net/File_ASN1%22_

Links:
------
[1] https://webmail.domain.com/admin/config/ [1]
[2] http://horde.org/faq/To [2]
 

Links:
------
[1] https://webmail.domain.com/admin/config/
[2] http://horde.org/faq/To


More information about the horde mailing list