我正在使用 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,有人知道出了什么问题吗?