0

我正在使用 vichuploader 来存储头像。Eveyrhing 在我的本地服务器上工作正常,但在生产服务器的文件更新期间抛出这样的错误:

request.CRITICAL: Uncaught PHP Exception Symfony\Component\HttpFoundation\File\Exception\FileException: "Unable to create the "kernel.root_dir/../image/avatar/4" directory" at /home/xxx/xxxx.com/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/File/File.php line 110 {"exception":"[object] (Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException(code: 0): Unable to create the \"kernel.root_dir/../image/avatar/4\" directory at /home/xxx/xxx.com/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/File/File.php:110)"} []

我在 OVH 共享主机上使用 symfony 3,有人知道出了什么问题吗?

4

1 回答 1

0

您无权在目录 /image/avatar 中创建文件

于 2017-08-28T22:01:16.377 回答