no console: help

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
smacgre
Posts: 14
Joined: Sun Dec 13, 2020 4:35 pm

no console: help

Post 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; } ?>
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: no console: help

Post by dougmccrary »

Sometimes clearing browser cache helps.
smacgre
Posts: 14
Joined: Sun Dec 13, 2020 4:35 pm

Re: no console: help

Post 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.
smacgre
Posts: 14
Joined: Sun Dec 13, 2020 4:35 pm

Re: no console: help

Post 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?
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: no console: help

Post 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.
Post Reply