Page 1 of 1

Invalid view console in ZM_WEB_HOMEVIEW does not exist

Posted: Sun Mar 12, 2023 4:12 am
by zemerdon
Went from 1.36.33 to 1.37.37

Keep getting...

/12/23, 2:10:23 PM GMT+10 web_php 1114 WAR Invalid view console in ZM_WEB_HOMEVIEW does not exist at /var/www/html/skins/classic/views/console.php /usr/share/zoneminder/www/includes/functions.php 2457

any ideas please?

Re: Invalid view console in ZM_WEB_HOMEVIEW does not exist

Posted: Sun Mar 12, 2023 9:50 pm
by makers_mark
Is your DocumentRoot incorrect in the apache config?
Try commenting out this line (with a '#'):

Code: Select all

DocumentRoot /var/www/html
And add this line:

Code: Select all

DocumentRoot /usr/share/zoneminder/www
Restart Apache

Re: Invalid view console in ZM_WEB_HOMEVIEW does not exist

Posted: Tue Mar 21, 2023 7:32 am
by Pjoms
zemerdon wrote: Sun Mar 12, 2023 4:12 am Went from 1.36.33 to 1.37.37

Keep getting...
Did you solve this?
I experience the same issue after upgrading from 1.37.2x to 1.37.37.

I´m not able to find either "DocumentRoot /var/www/html" or "DocumentRoot /usr/share/zoneminder/www" in any Apache config-files, but there is a line in the Zoneminder config-file under Apache that contains "/usr/share/zoneminder/www"

Beside all the errors in the Zoneminder log, I am not experience any other obvious issues.

Re: Invalid view console in ZM_WEB_HOMEVIEW does not exist

Posted: Sat Sep 16, 2023 2:32 pm
by zemerdon
Didn't solve, went back to 1.36.33 and works perfectly.

Re: Invalid view console in ZM_WEB_HOMEVIEW does not exist

Posted: Mon Sep 18, 2023 1:51 pm
by iconnor
In 1.36.33 values for homeview were ?view=console I think... but in 1.37 It wuold just be console, and we specifically check for valid values. This code will be going into 1.36.34 as well as it is actually a security vulnerability.