OPSnet / Gazelle

The Unlicense
336 stars 97 forks source link

Getting blank pages #215

Open blobb3r opened 7 months ago

blobb3r commented 7 months ago

Hi guys,

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

What could cause this?

itismadness commented 7 months ago

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.

blobb3r commented 7 months ago

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

itismadness commented 7 months ago

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

blobb3r commented 7 months ago

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.