MHMDhub / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

/inc/combo.jsyui-2.8.1.{css,js} are missing #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*What steps will reproduce the problem?*
1. Install ELSA
2. Set local YUI :
    "yui" : {
                "local" : "inc/combo.js",
                "version" : "2.8.1",
                "modifier" : ""
        },

*What is the expected output? What do you see instead?*
Working web interface.

404 error with theses files :
http://host/inc/combo.jsyui-2.8.1.css
http://host/inc/combo.jsyui-2.8.1.js

*What version of the product are you using? On what operating system?*
trunk svn

*Please provide any additional information below.*
Web interface used in isoleted network (no internet access).

Original issue reported on code.google.com by yoh...@lepage.info on 25 May 2012 at 5:32

Attachments:

GoogleCodeExporter commented 8 years ago
The example listed is wrong and has been corrected.  The config requires that 
combo.js be called something different, based on the config where "local" 
refers to the local directory.  So, you need to rename combo.js to yui.js and 
yui.css and change your config to:
{ local: "inc/",
  version: "",
  modifier: ""
}

This is fixed in r277

Original comment by mchol...@gmail.com on 29 May 2012 at 3:02

GoogleCodeExporter commented 8 years ago
There is no combo.js or combo.css in /usr/local/elsa/web/inc :

    $ ls -l /usr/local/elsa/web/inc/
    total 500K
    -rw-r--r--. 1 root root  20K 15 mai   20:15 admin.js
    -rw-r--r--. 1 root root 6,0K 17 avril 18:26 chart.js
    -rw-r--r--. 1 root root 7,5K  6 déc.  18:37 custom.css
    -rw-r--r--. 1 root root 125K 15 mai   21:23 elsa.js
    -rw-r--r--. 1 root root 2,5K 27 janv. 17:27 graphAnything.js
    -rw-r--r--. 1 root root 2,7K 18 janv.  2011 loading.gif
    -rw-r--r--. 1 root root  23K 15 mai   20:15 main.js
    -rw-r--r--. 1 root root 270K 18 janv.  2011 open-flash-chart.swf
    -rw-r--r--. 1 root root 2,9K 27 janv. 17:27 stats.js
    -rw-r--r--. 1 root root  10K 18 janv.  2011 swfobject.js
    -rw-r--r--. 1 root root 9,3K 15 nov.   2011 utilities.js
    -rw-r--r--. 1 root root 1,1K 18 janv.  2011 wait.gif

Original comment by yoh...@lepage.info on 29 May 2012 at 6:22

GoogleCodeExporter commented 8 years ago
I'm still working on this, but to get most functionality enabled (the CSS looks 
funny right now), you can do the following:

wget -O usr/local/elsa/web/inc/yui-2.8.1-min.css 
"http://yui.yahooapis.com/combo?2.9.0/build/reset-fonts/reset-fonts.css&2.9.0/bu
ild/base/base-min.css&2.9.0/build/assets/skins/sam/skin.css"

wget -O /usr/local/elsa/web/inc/yui-2.8.1-min.js 
"http://yui.yahooapis.com/combo?2.9.0/build/utilities/utilities.js&2.9.0/build/c
ontainer/container-min.js&2.9.0/build/menu/menu-min.js&2.9.0/build/event-mouseen
ter/event-mouseenter-min.js&2.9.0/build/selector/selector-min.js&2.9.0/build/eve
nt-delegate/event-delegate-min.js&2.9.0/build/button/button-min.js&2.9.0/build/c
alendar/calendar-min.js&2.9.0/build/datasource/datasource-min.js&2.9.0/build/pag
inator/paginator-min.js&2.9.0/build/datatable/datatable-min.js&2.9.0/build/json/
json-min.js&2.9.0/build/resize/resize-min.js&2.9.0/build/layout/layout-min.js&2.
9.0/build/logger/logger-min.js&2.9.0/build/tabview/tabview-min.js"

Original comment by mchol...@gmail.com on 29 May 2012 at 4:47

GoogleCodeExporter commented 8 years ago
This is now fully fixed in r283 via downloading YUI as per the instructions in 
the documentation.

Original comment by mchol...@gmail.com on 29 May 2012 at 8:31