Jump to content

net::ERR_EMPTY_RESPONSE | HTTP 0 - error - undefined


mabed

Recommended Posts

Bonjour,

Je rencontre des problème dans l’installation de prestashop 1.7.8.3 en mode non-docker

Voici ma configuration:

HAPROXY -> apache2 -> phpfpm pool
 

Quote

 

:~# haproxy -v
HA-Proxy version 2.2.9-2+deb11u2 2021/09/05 - https://haproxy.org/
Status: long-term supported branch - will stop receiving fixes around Q2 2025.
Known bugs: http://www.haproxy.org/bugs/bugs-2.2.9.html
Running on: Linux 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64

:~# php7.4 -v
PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
   with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies

:~# cat /etc/os-release  
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

:~# apachectl -v
Server version: Apache/2.4.52 (Debian)
Server built:   2022-01-03T21:27:14

 


Apache point vers un document root dans /var/www/html/$monprojet

Dans ce documentroot j’effectue cela:
 

Quote

wget https://github.com/PrestaShop/PrestaShop/releases/download/1.7.8.3/prestashop_1.7.8.3.zip && unzip prestashop_1.7.8.3.zip && rm -rf prestashop_1.7.8.3.zip

Puis:

chmod 755 * -R && chown -R www-data:www-data *




Pendant l’installation j'obtiens l'erreur suivante (testé avec chrome et firefox)

1325831299_http0.png.ede691ec37a335955804fb06fd3722d5.png

Avec ces logs

 

Quote

 ==> /var/log/apache2/error-$monprojet.fr.log <==
[Wed Feb 09 19:41:23.996669 2022] [proxy_fcgi:error] [pid 61748] [client 127.0.0.1:59666] AH01071: Got error 'PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/prestashop-$monprojet/prestashop_1.7.8.3/classes/shop/Shop.php on line 350'
[Wed Feb 09 19:41:26.027787 2022] [proxy_fcgi:error] [pid 61746] [client 127.0.0.1:59678] AH01071: Got error 'PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/prestashop-$monprojet/prestashop_1.7.8.3/classes/shop/Shop.php on line 350'
[Wed Feb 09 19:41:28.040789 2022] [proxy_fcgi:error] [pid 61747] [client 127.0.0.1:59688] AH01071: Got error 'PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/prestashop-$monprojet/prestashop_1.7.8.3/classes/shop/Shop.php on line 350'
[Wed Feb 09 19:41:30.045053 2022] [proxy_fcgi:error] [pid 61739] [client 127.0.0.1:59698] AH01071: Got error 'PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/prestashop-$monprojet/prestashop_1.7.8.3/classes/shop/Shop.php on line 350'


j'ai réalisé un check-up avec le projet PrestaShop/php-ps-info voir PJ  (PDF)

petite précision le domaine utilisé n'est pas encore public il est renseigné dans mon fichier host ainsi que celui du serveur(127.0.0.1).


SI vous avez une idée je suis preneur

Check-up-prestashop-1.7.8.3.pdf

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...