Error 500 when trying to view montage review events past ~5 days
Describe Your Environment
- Version of ZoneMinder 1.34.25
- How you installed ZoneMinder PPA.
- Full name and version of OS Debian GNU/Linux 10 (buster) x86_64 Kernel: 4.19.0-16-amd64
- Browser name and version Brave Browser Version 1.32.106 Chromium: 96.0.4664.45 (Official Build) (64-bit), have tested Firefox 94.0.1 aswell.
Describe the bug If I try to go far too back with the Montage Review, I get a blank page with error 500 (internal server error). I don't see anything in the logs, which is weird.
To Reproduce Steps to reproduce the behavior:
- Have 2GB of ram (I don't know if this makes a difference)
- Constantly record with mocord (I don't know if this makes a difference)
- Go to montage review
- Select a date from a long time ago (probably a month? It stops working for me after 5 days).
- See error
Expected behavior I should be able to go back in time as far as I have recorded.
Debug Logs Nothing related to this is in the debug logs...
Screenshots

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!
Updating to 1.36.10 fixed the blank page issue, HOWEVER, now the page is messed up, for anything more than 5 or so days.

Even still get error 500 sometimes

2021-11-21 15:37:46 | web_js | | 2914 | ERR | Uncaught RangeError: Maximum call stack size exceeded | zm/cache/skins_classic_views_js_montagereview-base-1634685913.js | 633
I'm getting this.