You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/07/28 10:35:56 UTC
[Bug 65468] New: Empty index.php in response when proxy_fcgi
receives error from php-fpm
https://bz.apache.org/bugzilla/show_bug.cgi?id=65468
Bug ID: 65468
Summary: Empty index.php in response when proxy_fcgi receives
error from php-fpm
Product: Apache httpd-2
Version: 2.4.48
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_fcgi
Assignee: bugs@httpd.apache.org
Reporter: deepak.kumar@oxid-esales.com
Target Milestone: ---
User gets a blank index.php to download in browser.
PHP-FPM server shows "172.19.0.5 - 28/Jul/2021:10:09:21 +0000 "GET
/admin/index.php" 200" and below logs can be seen in the apache logs.
Workaround:
- When we set PHP to write logs in log file instead of STDERR, proxy_fcgi does
not show the below error and data is shown properly on browser.
- If we fix any one of the PHP warnings seen in the logs or add extra warnings
then there is no blank index.php in response.
We would like to understand:
- how proxy_fcgi behaves when it shows error in log
- the behavior which causes the browser to show blank index.php download in
response.
Apache httpd Logs:
-----------------------------------------
httpd_1 | [Wed Jul 28 10:09:21.479094 2021] [proxy_fcgi:error] [pid 68:tid
[client 172.19.0.1:42492] AH01071: Got error
'mp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$news_new in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$links_new in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$voucher_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property:
stdClass::$order_newremark in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$country_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$language_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$vendor_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property:
stdClass::$vendor_resetnrofarticles in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property:
stdClass::$manufacturer_new in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property:
stdClass::$manufacturer_resetnrofarticles in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$wrapping_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$content_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined array key "firstitem" in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8PHP message: PHP Warning: Undefined property: stdClass::$berole_new
in
/var/www/oxideshop/source/tmp/smarty/010ba138be333cbe3cc92dcfad82f15e^%%E9^E91^E91AD39C%%bottomnaviitem.tpl.php
on line 8', referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479250 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(570): [client 172.19.0.1:42492] Headers from script 'index.php':,
referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479298 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] X-Powered-By: PHP/8.0.8,
referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479318 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Set-Cookie:
admin_sid=35f2ceb67809e723a2144123ed27d29e; path=/; HttpOnly, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479329 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Expires: Thu, 19 Nov 1981
08:52:00 GMT, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479343 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Cache-Control: no-store,
no-cache, must-revalidate, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479406 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Pragma: no-cache, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479428 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Set-Cookie: language=0; path=/;
HttpOnly, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.479482 2021] [proxy_fcgi:trace4] [pid 68:tid
util_script.c(571): [client 172.19.0.1:42492] Content-Type: text/html;
charset=UTF-8, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
httpd_1 | [Wed Jul 28 10:09:21.488337 2021] [proxy:debug] [pid 68:tid
proxy_util.c(2331): AH00943: FCGI: has released connection for (*)
httpd_1 | [Wed Jul 28 10:09:21.488673 2021] [deflate:debug] [pid 68:tid
mod_deflate.c(856): [client 172.19.0.1:42492] AH01384: Zlib: Compressed 23449
to 3945 : URL /admin/index.php, referer
http://localhost:8080/admin/index.php?cl=admin_start&stoken=2025EEC1&shp=1&force_admin_sid=35f2ceb67809e723a2144123ed27d29e&stoken=2025EEC1&shp=1
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org