Docker error #29

Closed
opened 2023-10-17 05:14:42 +08:00 by berndy2001 · 4 comments
berndy2001 commented 2023-10-17 05:14:42 +08:00 (Migrated from github.com)

after docker-compose up i get this error in the browser:

Warning: Constant LG_CUSTOM_HEAD already defined in /var/www/html/config.php on line 20

Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/html/LookingGlass.php on line 135
Could not start session!

Debian 12
Docker version 20.10.24
docker-compose version 1.29.2

and also tried with
Docker version 24.0.6
Docker Compose version v2.20.3

after `docker-compose up` i get this error in the browser: ``` Warning: Constant LG_CUSTOM_HEAD already defined in /var/www/html/config.php on line 20 Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/html/LookingGlass.php on line 135 Could not start session! ``` Debian 12 Docker version 20.10.24 docker-compose version 1.29.2 and also tried with Docker version 24.0.6 Docker Compose version v2.20.3
dqos commented 2023-10-17 16:29:14 +08:00 (Migrated from github.com)

Remote line 20 from config.php and it should work, I think this is a typo. Will be fixed in next release.

Remote line 20 from config.php and it should work, I think this is a typo. Will be fixed in next release.
berndy2001 commented 2023-10-18 23:43:58 +08:00 (Migrated from github.com)

Hello, thank you for your reply. I did that, but then came a PHP error - something with "explode". Anyway, I then simply took the config.dist.php with it now works.

However, I now get the error message "Missing or incorrect CSRF token" with mtr as in #25. With ping and traceroute nothing happens.

Hello, thank you for your reply. I did that, but then came a PHP error - something with "explode". Anyway, I then simply took the config.dist.php with it now works. However, I now get the error message "Missing or incorrect CSRF token" with mtr as in #25. With ping and traceroute nothing happens.
dqos commented 2023-11-01 22:41:25 +08:00 (Migrated from github.com)
@berndy2001 are you using this nginx config? https://github.com/hybula/lookingglass/blob/main/docker/nginx/nginx.conf
berndy2001 commented 2023-11-03 05:14:49 +08:00 (Migrated from github.com)

I assume that, I only use the command docker-compose up

I assume that, I only use the command `docker-compose up`
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malhuda/lookingglass#29
No description provided.