HTTP 500 Errors
Posted: Tue Jun 06, 2023 2:36 am
Hello everyone,
Running 1.36.33 on Ubuntu 22.04
Most everything is working properly, but a few things yield an HTTP 500 Error. Looking at event frames, for instance, is one such thing.
visiting
gives HTTP ERROR 500.
Apache error.log stores:
Any thoughts? Google was no help, unfortunately.
Running 1.36.33 on Ubuntu 22.04
Most everything is working properly, but a few things yield an HTTP 500 Error. Looking at event frames, for instance, is one such thing.
visiting
Code: Select all
http://zoneminder/zm/index.php?view=frame&eid=458&fid=380
Apache error.log stores:
Code: Select all
[Mon Jun 05 22:35:01.586436 2023] [php:error] [pid 12856] [client 192.168.101.14:64203] PHP Fatal error: Uncaught ValueError:
imagecreatetruecolor(): Argument #1 ($width) must be greater than 0 in /usr/share/zoneminder/www/includes/Event.php:473\nStack
trace:\n#0 /usr/share/zoneminder/www/includes/Event.php(473): imagecreatetruecolor()\n#1
/usr/share/zoneminder/www/skins/classic/views/frame.php(63): ZM\\Event->getImageSrc()\n#2
/usr/share/zoneminder/www/index.php(282): require_once('...')\n#3
{main}\n thrown in /usr/share/zoneminder/www/includes/Event.php on line 473,
referer: http://zoneminder/zm/index.php?view=frames&eid=458