Page 1 of 1

(SOLVED) Zone points again (mootools 1.4.0)

Posted: Fri Sep 30, 2011 10:59 am
by PacoLM
Hi,

My guruplug was working fine until I upgraded my guruplug with the new mootools 1.4.0. These are the kernel, and package versions:

- Linux 3.0.0-1-kirkwood #1 Sun Aug 28 14:30:35 UTC 2011 armv5tel GNU/Linux
- Zoneminder 1.24.4-1+b2
- Mootools 1.4.0~debian1-1

These are the list of files in /usr/share/javascript/mootools

Code: Select all

lrwxrwxrwx 1 root root     20 Sep 14 00:21 mootools-core-jm.js -> mootools-core.min.js
-rw-r--r-- 1 root root  89022 Sep 14 00:21 mootools-core.min.js
-rw-r--r-- 1 root root 154718 Sep 13 05:13 mootools-core-nc.js
lrwxrwxrwx 1 root root     27 Sep 14 00:21 mootools-core-server-jm.js -> mootools-core-server.min.js
-rw-r--r-- 1 root root  16559 Sep 14 00:21 mootools-core-server.min.js
-rw-r--r-- 1 root root  26820 Sep 13 05:13 mootools-core-server-nc.js
lrwxrwxrwx 1 root root     27 Sep 14 00:21 mootools-core-server-yc.js -> mootools-core-server.min.js
lrwxrwxrwx 1 root root     20 Sep 14 00:21 mootools-core-yc.js -> mootools-core.min.js
lrwxrwxrwx 1 root root     19 Sep 28 07:01 mootools.js -> mootools-core-nc.js
lrwxrwxrwx 1 root root     20 Sep 14 00:21 mootools-more-jm.js -> mootools-more.min.js
lrwxrwxrwx 1 root root     19 Sep 28 07:02 mootools-more.js -> mootools-more-nc.js
-rw-r--r-- 1 root root 231884 Sep 14 00:21 mootools-more.min.js
-rw-r--r-- 1 root root 351387 Sep 13 05:13 mootools-more-nc.js
lrwxrwxrwx 1 root root     20 Sep 14 00:21 mootools-more-yc.js -> mootools-more.min.js
lrwxrwxrwx 1 root root     27 Sep 14 00:21 mootools-server.js -> mootools-core-server.min.js
As you could see, I have already symlinked the mootools.js to mootools-core-nc.js and mootools-more.js to mootools-more-nc.js.

I have also modified the :/usr/share/zoneminder/skins/classic/includes/functions.php file to have these lines:

Code: Select all

<script type="text/javascript" src="../javascript/mootools/mootools-core-nc.js"></script>
<script type="text/javascript" src="../javascript/mootools/mootools-more-nc.js"></script>
As pointed here -> http://www.zoneminder.com/forums/viewto ... 21&t=17586

I have tried /usr/share/zoneminder/skins/classic/includes/functions.php as follows:

Code: Select all

<script type="text/javascript" src="/usr/share/javascript/mootools/mootools-core-nc.js"></script>
<script type="text/javascript" src="/usr/share/javascript/mootools/mootools-more-nc.js"></script>

and

<script type="text/javascript" src="/javascript/mootools/mootools-core-nc.js"></script>
<script type="text/javascript" src="/javascript/mootools/mootools-more-nc.js"></script>
Without sucess. Anyone has found the same problem with the new release of mootools?

Thanks in advance,

PacoLM

Re: Zone points again (mootools 1.4.0)

Posted: Sun Oct 02, 2011 5:40 pm
by PacoLM
Bump!

Re: Zone points again (mootools 1.4.0)

Posted: Mon Oct 03, 2011 4:35 am
by PacoLM
Fixed myself. Just copied the files from my other guruplug, that has the previous version of mootools. Is not a real fix, but works.