Gazelle icon indicating copy to clipboard operation
Gazelle copied to clipboard

Getting blank pages

Open blobb3r opened this issue 1 year ago • 4 comments

Hi guys,

After installation i'm getting black pages after clicking register and on login.php

What could cause this?

blobb3r avatar Jan 21 '24 23:01 blobb3r

Hi @blobb3r, this is most likely due to bad permissions on cache/twig/. Could you double check what they are?

You should also ideally be able to see an error log under /var/log/php that'd help pinpoint what's wrong.

itismadness avatar Jan 26 '24 13:01 itismadness

Hi @itismadness, permissions on twig folder: /var/www/cache/twig -> drwxr-xr-x 9 www-data www-data 4096 Jan 20 14:17 twig

I do have a log file: /var/log/php8.2-fpm.log but only contents are these: [25-Jan-2024 01:15:49] NOTICE: fpm is running, pid 810 [25-Jan-2024 01:15:49] NOTICE: ready to handle connections [25-Jan-2024 01:15:49] NOTICE: systemd monitor interval set to 10000ms [26-Jan-2024 14:00:57] NOTICE: fpm is running, pid 804 [26-Jan-2024 14:00:57] NOTICE: ready to handle connections [26-Jan-2024 14:00:57] NOTICE: systemd monitor interval set to 10000ms

blobb3r avatar Jan 26 '24 14:01 blobb3r

/var/log/php/ is a directory that should have an error.log file.

itismadness avatar Jan 26 '24 14:01 itismadness

Fixed it..

Checked the docker files to see what's going on there and did postgres migrations (wasn't mentioned in install doc) and added user gazelle and chowned the www folder.

Now logged in with normal user: no problems (well some cache errors..) Logged in as admin: white screen again... If I could just see a freaking error somewhere.. error logs still empty.

blobb3r avatar Feb 04 '24 17:02 blobb3r