Cannot show image, error: 8 FastCGI sent in stderr: "PHP message: PHP Warning:

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
tminh
Posts: 27
Joined: 2019-05-23 02:26

Cannot show image, error: 8 FastCGI sent in stderr: "PHP message: PHP Warning:

Post by tminh » 2020-09-27 10:35

hi i cannot show image in nginx: 2020/09/27 10:26:13 [error] 477144#477144: *8 FastCGI sent in stderr: "PHP message: PHP Warning: filemtime(): stat failed for ./images/5bb3f1f750879857e_tv.jpg in /home/test/test/public_html/thumbnail.php on line 66" while reading response header from upstream, client: 17.127.68.19, server: test.test.com, request: "GET /thumbnail.php?i=5bb3f1f750879857e.jpg&t=bds&f=bds_img&v=tv HTTP/2.0", upstream: "fastcgi://unix:/run/php/PMBDS1.sock:", host: "test.test.com", referrer: "https://test.test.com/bds_view.php"

I can upload image normally but i cannot see the image with url https://test.test.com/thumbnail.php?i=6 ... s_img&v=tv

please help
thanks

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 1037
Joined: 2018-04-01 10:12

Re: Cannot show image, error: 8 FastCGI sent in stderr: "PHP message: PHP Warning:

Post by pböttcher » 2020-09-27 11:07

Hi, can you check if the file

./images/5bb3f1f750879857e_tv.jpg

exists and is readable.

tminh
Posts: 27
Joined: 2019-05-23 02:26

Re: Cannot show image, error: 8 FastCGI sent in stderr: "PHP message: PHP Warning:

Post by tminh » 2020-09-29 04:37

hi, it exist and i can see it when visit url

Post Reply