简体   繁体   English

Shopware 自定义插件不生成公共文件夹

[英]Shopware custom plugin not generating public folder

i tested this shopware plugin我测试了这个商店插件

https://github.com/shopware/swag-docs-new-tab https://github.com/shopware/swag-docs-new-tab

which is linked from official shopware documentation here这是从官方商店文档链接here

https://docs.shopware.com/en/shopware-platform-dev-en/how-to/new-tab-admin?category=shopware-platform-dev-en/how-to https://docs.shopware.com/en/shopware-platform-dev-en/how-to/new-tab-admin?category=shopware-platform-dev-en/how-to

./psh.phar administration:build command should rebuild public folder under plugin and then copy created folder under public/bundles ./psh.phar administration:build命令应该在 plugin 下rebuild public 文件夹,然后将创建的文件夹复制到public/bundles

this is not happening这不会发生

what can be issue that public folder isnt created ?有什么可问题是public文件夹中创建的心不是? any recommendation how to track where is the problem ?任何建议如何跟踪问题出在哪里? i dont see anything usefull in log.我在日志中看不到任何有用的东西。 thanks谢谢

Sounds to me like it is an issue with the read/write permissions on your filesystem.在我看来,这是文件系统读/写权限的问题。 Perhaps you need to check the ownership of the folders (it should be the user that executes your php process).也许您需要检查文件夹的所有权(应该是执行 php 进程的用户)。

Otherwhise you could create it manually:否则,您可以手动创建它:

.../src/Resources/public/administration

.../src/Resources/public/storefront

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM