Page 1 of 1

no console: help

Posted: Sun Dec 04, 2022 4:30 pm
by smacgre
It was all working around a year ago. Now the console web access does not work. I have removed and re-installed all ZM code and followed the instructions in https://www.how2shout.com/linux/how-to- ... 20-04-lts/.

ps shows:
/usr/bin/perl -wT /usr/bin/zmdc.pl startup
/usr/bin/zmc -m 1
/usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
/usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
/usr/bin/perl -wT /usr/bin/zmwatch.pl
/usr/bin/perl -wT /usr/bin/zmupdate.pl -c
/usr/bin/perl -wT /usr/bin/zmtelemetry.pl
/usr/bin/perl -wT /usr/bin/zmstats.pl

running, but http/mypc/zm just displays a script file:

debugOn() ) { ob_start(); phpinfo(INFO_VARIABLES); ZM\Debug(ob_get_contents()); ob_end_clean(); }
....
if ( !$includeFiles || $view == 'error' ) { foreach ( getSkinIncludes('views/error.php', true, true) as $includeFile ) require_once $includeFile; } ?>

Re: no console: help

Posted: Sun Dec 04, 2022 6:49 pm
by dougmccrary
Sometimes clearing browser cache helps.

Re: no console: help

Posted: Sun Dec 04, 2022 10:21 pm
by smacgre
I tried it in a different browser (Chromium) which had its cache cleared, with the same results (though the script display was better formatted).
Why on earth is it displaying a script, rather then executing one? Some permissions wrong ... ?
I know nothing about this stuff - just a hopeful user.

Re: no console: help

Posted: Mon Dec 05, 2022 6:30 am
by smacgre
I expect the current released software works, so there must be something in my machine which is persistent - left over from when it worked with older releases - which is making it not work now?


Anyone have any suggestions?

Re: no console: help

Posted: Mon Dec 05, 2022 7:36 am
by dougmccrary
Crud. Yeah. Use this: https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.36.x

The thing you used is obsolete, even though it was "updated"; wrongly.