New to ZM. Installed fresh OS, Suse LEAP 15.4 and a packaged version of ZM.
Seems to be "up" but when browsing to http://myip/zm just get a blank screen. No timeout, just blank.
If I browse to http://myip/index.html, I get the apache not file not found message. Same with variations of that.
If I browse to http://myip/index.php I get a blank screen, same as going to http://myip/zm, which make sense to me.
All the files in /usr/share/zoneminder/www/ are owned by root. That seems wrong. But I will wait for those in the know to tell me so.
Blank index page, fresh install
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Blank index page, fresh install
Try wwwrun:wwwrun
root won't work for sure.
root won't work for sure.
Re: Blank index page, fresh install
Thanks. Did not change behavior that I noticed. But I do find all subdirectories and files are also root:root. Would it be sane/safe to change those as well?
Perhaps I made an wrong choice when installing that caused this?
Re: Blank index page, fresh install
After playing with wget I discovered "internal server error 500" is produced. Seems to be related to a php problem.
After turning on error reporting, trying to access page gives:
"Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /usr/share/zoneminder/www/includes/config.php:144 Stack trace: #0 /usr/share/zoneminder/www/index.php(45): require_once() #1 {main} thrown in /usr/share/zoneminder/www/includes/config.php on line 144".
which lists as "-rw-r--r-- 1 root root 9637 Apr 28 14:12 /usr/share/zoneminder/www/includes/config.php", which, may have incorrect owner/group, but still got read sufficiently to pop up that error.
So, while have more information now, the solution is not apparent, and likely will not clear with additional coffee consumption. But, it is worth a try.
ISTR reading something about having to diddle this file for things to work, but, also that it was no longer necessary in later versions. I may be conflating something(s) here.
After turning on error reporting, trying to access page gives:
"Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /usr/share/zoneminder/www/includes/config.php:144 Stack trace: #0 /usr/share/zoneminder/www/index.php(45): require_once() #1 {main} thrown in /usr/share/zoneminder/www/includes/config.php on line 144".
which lists as "-rw-r--r-- 1 root root 9637 Apr 28 14:12 /usr/share/zoneminder/www/includes/config.php", which, may have incorrect owner/group, but still got read sufficiently to pop up that error.
So, while have more information now, the solution is not apparent, and likely will not clear with additional coffee consumption. But, it is worth a try.
ISTR reading something about having to diddle this file for things to work, but, also that it was no longer necessary in later versions. I may be conflating something(s) here.