Blank index page, fresh install

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
joea
Posts: 20
Joined: Mon Feb 20, 2017 8:11 pm

Blank index page, fresh install

Post by joea »

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.
dougmccrary
Posts: 1336
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Blank index page, fresh install

Post by dougmccrary »

Try wwwrun:wwwrun

root won't work for sure.
joea
Posts: 20
Joined: Mon Feb 20, 2017 8:11 pm

Re: Blank index page, fresh install

Post by joea »

dougmccrary wrote: Tue May 02, 2023 7:07 am Try wwwrun:wwwrun

root won't work for sure.
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?
joea
Posts: 20
Joined: Mon Feb 20, 2017 8:11 pm

Re: Blank index page, fresh install

Post by joea »

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.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Blank index page, fresh install

Post by Magic919 »

Try ot install php-intl.
-
joea
Posts: 20
Joined: Mon Feb 20, 2017 8:11 pm

Re: Blank index page, fresh install

Post by joea »

Magic919 wrote: Tue May 02, 2023 3:32 pm Try ot install php-intl.
Thanks, that got me much further. It was actually php7-intl, which stumped me for a few minutes.
Post Reply