From 769f1da8a58524025ce2f277a6e8b305dda7339c Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 6 Aug 2024 18:52:21 +0200 Subject: [PATCH 1/3] hotfix(1/n): enable error logging --- php-errors.ini | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/php-errors.ini b/php-errors.ini index fc02f22..db533d5 100644 --- a/php-errors.ini +++ b/php-errors.ini @@ -1,6 +1,11 @@ error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED -display_errors = Off - log_errors = On -error_log = /dev/stderr + +## For production +# display_errors = Off +# error_log = /dev/stderr + +## For debugging +display_errors = On +error_log = /var/log/php-errors.log From 5132c3a308b6bd80404c7dda46d5876ab3ee8f27 Mon Sep 17 00:00:00 2001 From: glenux Date: Sun, 12 Jan 2025 10:23:32 +0000 Subject: [PATCH 2/3] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d3df585..faa6b33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,8 @@ COPY php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini RUN curl -sS https://getcomposer.org/installer \ | php -- --install-dir=/usr/local/bin --filename=composer -ENV DOLIBARR_VERSION=19.0.2 +ENV DOLIBARR_VERSION=20.0.3 +# ENV DOLIBARR_VERSION=19.0.2 # ENV DOLIBARR_VERSION=18.0.4 # ENV DOLIBARR_VERSION=17.0.2 # ENV DOLIBARR_VERSION=16.0.4 From 5788ec028d845c59238c13c0a7c02b34858b5996 Mon Sep 17 00:00:00 2001 From: glenux Date: Sun, 12 Jan 2025 10:31:37 +0000 Subject: [PATCH 3/3] Update php-errors.ini --- php-errors.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/php-errors.ini b/php-errors.ini index db533d5..3cd7201 100644 --- a/php-errors.ini +++ b/php-errors.ini @@ -1,11 +1,12 @@ error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED -log_errors = On ## For production # display_errors = Off # error_log = /dev/stderr ## For debugging -display_errors = On -error_log = /var/log/php-errors.log +display_errors = Off + +log_errors = On +error_log = /dev/stderr