louislam/vestacp-crossover-adminlte

JS errors with 0.9.8-17

Open

#11 opened on Jan 22, 2017

View on GitHub
 (8 comments) (0 reactions) (0 assignees)CSS (39 forks)github user discovery
help wanted

Repository metrics

Stars
 (97 stars)
PR merge metrics
 (PR metrics pending)

Description

I have installed the theme by unzipping and afterwards I restored the backup and used bower as well, in case only one way failed.

I get the following errors on the js console:

Uncaught ReferenceError: GLOBAL is not defined
    at app.js?1446554103:727
templates.js:5 Uncaught TypeError: Cannot read property 'Templates' of undefined
    at templates.js:5
app.js?1476144160:727 Uncaught ReferenceError: GLOBAL is not defined
    at app.js?1476144160:727
i18n.js.php:2 Uncaught TypeError: Cannot read property 'i18n' of undefined
    at i18n.js.php:2
templates.js:5 Uncaught TypeError: Cannot read property 'Templates' of undefined
    at templates.js:5
app.min.js:13 Uncaught TypeError: Cannot read property 'options' of undefined
    at HTMLDocument.<anonymous> (app.min.js:13)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)
(index):725 Uncaught ReferenceError: hover_menu is not defined
    at HTMLDocument.<anonymous> ((index):725)
    at o (jquery-1.7.2.min.js?1476144160:2)
    at Object.fireWith (jquery-1.7.2.min.js?1476144160:2)
    at Function.ready (jquery-1.7.2.min.js?1476144160:2)
    at HTMLDocument.B (jquery-1.7.2.min.js?1476144160:2)

No visible elements load on the DOM at all. Just a light blue body. After a bit of tinkering, I traced one of the problems to jquery-1.7.2 being redeclared. I also found more js files being redeclared more than 1 time.

Contributor guide