Page 1 of 1

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

Posted: 2020-09-27 10:35
by tminh
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

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

Posted: 2020-09-27 11:07
by pbottcher
Hi, can you check if the file

./images/5bb3f1f750879857e_tv.jpg

exists and is readable.

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

Posted: 2020-09-29 04:37
by tminh
hi, it exist and i can see it when visit url