New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycle page: Undefined variable: monitor #2391

Closed
davidjb opened this Issue Jan 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@davidjb
Copy link
Contributor

davidjb commented Jan 5, 2019

Describe Your Environment

  • Version of ZoneMinder: v1.32.3
  • How you installed ZoneMinder pkg install zoneminder
  • Full name and version of OS: FreeBSD 11.2

Describe the bug
Undefined variable monitor causes an error on the Cycle page (/zm/index.php?view=cycle&mid=&mode=stream). PR incoming to fix this issue.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure display_errors is On in PHP
  2. Ensure no monitors are enabled or configured yet
  3. Go to Cycle
  4. See error

Expected behavior
No error output

Debug Logs

    <div id="content">
      <div id="imageFeed">
      <br />
<b>Notice</b>:  Undefined variable: monitor in <b>/usr/local/www/zoneminder/skins/classic/views/cycle.php</b> on line <b>89</b><br />
There are no monitors to view.      </div>
    </div>
  </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment