- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
更新 composer.phar 时出现以下错误...
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "gaufrette" under "vich_uploader"
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
这是我的 Vich uploader 配置
vich_uploader:
db_driver: orm
gaufrette: true
storage: vich_uploader.storage.gaufrette
我得到了这个错误...
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "gaufrette" under "vich_uploader"
请告诉我为什么会这样?
最佳答案
检查 config.yml 的缩进,选项“gaufrette”不在“vich_uploader”下 但作为存储值,例如:
vich_uploader:
db_driver: orm
storage: gaufrette
See the doc更多详情
希望对你有帮助
关于php - "gaufrette"下无法识别的选项 "vich_uploader",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27518594/
我正在使用 KnpGaufretteBundle 来存储音频文件。我可以像这样将给定的文件下载到客户端: $filename = "Somefilename.mp3"; $fs = $
更新 composer.phar 时出现以下错误... [Symfony\Component\Config\Definition\Exception\InvalidConfigurationExcep
我正在尝试使用 the KNPLabs gaufrette bundle将图像文件上传到 S3。调试来自 S3 的响应时出现以下错误: The bucket you are attempting to
我想展示一个已使用 gaufrette 上传的 PDF 文件。我从 Doctrine 获取 URI(“wine_information/1-wine_information.pdf”)。 但如果根目录
我的问题很简单。我使用 Symfony 框架和 Gaufrette 文件系统 (KnpGaufretteBundle),并且我已经在文件系统中保存了文件(图像)。 现在我想在 Twig 中显示图像。在
我正在尝试使用 Gaufrette Stream Wrapper 告诉 AsseticBundle 将项目 Assets 转储到哪里,但我无法让它识别它们。 这是我的 config_dev.yml 的
我是一名优秀的程序员,十分优秀!