Nginx + PHP5-FPM error:(2: No such file or directory)
Posted: Thu Dec 22, 2016 10:01 pm
Hi,
I've setup vesta with Nginx + PHP5-FPM for my wordpress sites, and recently i came across this error:
2016/12/22 22:23:07 [error] 13745#13745: *57198 open() "/home/yyyyy/web/xxxxx/public_html/wp-content/uploads/2016/08/tarte-de-maça-fatia-300x200.jpg" failed (2: No such file or directory), client: zzzzzz, server: ingredientes.pt, request: "GET /wp-content/uploads/2016/08/tarte-de-ma%C3%A7a-fatia-300x200.jpg HTTP/1.1", host: "www.ingredientes.pt", referrer: "http://www.ingredientes.pt/wp-admin/upload.php"
the url has the char 'ç' in it and this is what is causing the problem. Other urls with chars like 'ã', 'é' have the same problem. So the problem is using this king of chars in the urls.
I've for instance another urls like 'http://www.ingredientes.pt/wp-content/u ... rances.jpg' without this chars and work just fine.
Does anyone know how can I solve this problem?
I've setup vesta with Nginx + PHP5-FPM for my wordpress sites, and recently i came across this error:
2016/12/22 22:23:07 [error] 13745#13745: *57198 open() "/home/yyyyy/web/xxxxx/public_html/wp-content/uploads/2016/08/tarte-de-maça-fatia-300x200.jpg" failed (2: No such file or directory), client: zzzzzz, server: ingredientes.pt, request: "GET /wp-content/uploads/2016/08/tarte-de-ma%C3%A7a-fatia-300x200.jpg HTTP/1.1", host: "www.ingredientes.pt", referrer: "http://www.ingredientes.pt/wp-admin/upload.php"
the url has the char 'ç' in it and this is what is causing the problem. Other urls with chars like 'ã', 'é' have the same problem. So the problem is using this king of chars in the urls.
I've for instance another urls like 'http://www.ingredientes.pt/wp-content/u ... rances.jpg' without this chars and work just fine.
Does anyone know how can I solve this problem?