Page 1 of 1

Can't add monitor, missing mootools

Posted: Sat Nov 02, 2013 3:18 pm
by DrBergie
I got the installation working, but now I am stuck with the mootools not being found on my server. I followed Ubuntu ... e_easy_way giude , had to turn on the short_open_tag setting in /etc/php5/apache2/php.ini as per So the server is running, and so is zoneminder.

When the page is being serverd however, it 404s on mootools

Code: Select all

NetworkError: 404 Not Found - pathtomyserver/javascript/mootools/mootools-more-nc.js
When looking at the file /usr/share/zoneminder/skins/classic/includes/functions.php it refers to "/javascript/mootools/mootools-more-nc.js" nothing relative. I have package libjs-mootools installed, so the folder /usr/share/javascript/mootools exists, and does seem to contain the correct files.

I am using Ubuntu 13.04 and installed version 1.25.0 of ZoneMinder.

What is missing? Did a package not install correctly? Any easy way to fix this?

Re: Can't add monitor, missing mootools

Posted: Tue Nov 05, 2013 8:05 pm
by DrBergie
Go this working with adding the following file

Code: Select all

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /usr/share/javascript/mootools

        # From URL WITHHELD server path
        ServerPath /javascript/mootools/
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
to the folder /etc/apache2/sites-enabled/ Any filename will do.

I can add a monitor now!

Re: Can't add monitor, missing mootools

Posted: Sun Dec 15, 2013 11:20 pm
by Stef
I have recently updated to 1.26.5 and have also ran into the "Missing MooTools" problem.

The apache2 error log contained:

Code: Select all

File does not exist: /usr/share/zoneminder/tools/mootools/mootools-core.js, referer:
File does not exist: /usr/share/zoneminder/tools/mootools/mootools-more.js, referer:
Under/usr/share/zoneminder/tools/mootools/ the files were:
mootools-core-1.3.2-nc.js mootools-core-1.3.2-yc.js mootools-more- mootools-more-

I am not sure what the difference is between the nc & yc versions however I just linked to the missing files:

Code: Select all

#cd /usr/share/zoneminder/tools/mootools/
#ln -s mootools-core-1.3.2-nc.js ./mootools-core.js
# ln -s mootools-more- ./mootools-more.js

Re: Can't add monitor, missing mootools

Posted: Mon May 29, 2017 11:57 pm
by snake
I have had the missing mootools error when using a webkit based browser.

Using a different browser, or updating, rebuilding, and recompiling the webkit browser fixed the issue.

Re: Can't add monitor, missing mootools

Posted: Sat Mar 17, 2018 4:41 pm
by snake
This occurred again. I reboot the zm server but the error remained.

I deleted the cache and any cookies of the webkit browser (in home folder). I also reboot the client computer. The error disappeared.