问题出现在激活Shopware 6.4.20商店时。

huangapple go评论73阅读模式
英文:

Problem with the activation of the store with shopware 6.4.20

问题

已经有几周了,我一直在搜索互联网以解决这个问题。
我在本地安装了Shopware 6.4.20.2,想要安装Shopware商店,但总是遇到这个错误:“插件提取失败。错误:在插件压缩包中检测到无效的文件/目录SwagExtensionStore/CHANGELOG_de-DE.md:SwagExtensionStore/.gitignore”。

这是我的日志文件的完整内容:
[2023-06-15T04:30:34.243981+00:00] request.CRITICAL: 未捕获的PHP异常Shopware\Core\Framework\Plugin\Exception\PluginExtractionException:“插件提取失败。错误:在插件压缩包中检测到无效的文件/目录SwagExtensionStore/CHANGELOG_de-DE.md:SwagExtensionStore/.gitignore”位于C:\wamp64\www\newshop\vendor\shopware\core\Framework\Plugin\PluginExtractor.php的第109行{“exception”:“[object](Shopware\Core\Framework\Plugin\Exception\PluginExtractionException(code: 0):插件提取失败。错误:在插件压缩包中检测到无效的文件/目录SwagExtensionStore/CHANGELOG_de-DE.md:SwagExtensionStore/.gitignore位于C:\wamp64\www\newshop\vendor\shopware\core\Framework\Plugin\PluginExtractor.php:109)”} []

有人能告诉我如何解决这个问题吗?
提前感谢

我尝试重新安装以前的稳定版本,但仍然遇到相同的问题...

英文:

already weeks I am screening the Internet for a solution to this problem.
I have installed shopware 6.4.20.2 locally and i want to install the shopware store but always falling on this error: "Plugin extraction failed. Error: Detected invalid file/directory SwagExtensionStore/CHANGELOG_de-DE.md in the plugin zip: SwagExtensionStore/.gitignore"

Here is the complete content of my log file:
[2023-06-15T04:30:34.243981+00:00] request.CRITICAL: Uncaught PHP Exception Shopware\Core\Framework\Plugin\Exception\PluginExtractionException: "Plugin extraction failed. Error: Detected invalid file/directory SwagExtensionStore/CHANGELOG_de-DE.md in the plugin zip: SwagExtensionStore/.gitignore" at C:\wamp64\www\newshop\vendor\shopware\core\Framework\Plugin\PluginExtractor.php line 109 {"exception":"[object] (Shopware\Core\Framework\Plugin\Exception\PluginExtractionException(code: 0): Plugin extraction failed. Error: Detected invalid file/directory SwagExtensionStore/CHANGELOG_de-DE.md in the plugin zip: SwagExtensionStore/.gitignore at C:\wamp64\www\newshop\vendor\shopware\core\Framework\Plugin\PluginExtractor.php:109)"} []

Can someone show me how to address this issue?
thanks in advance

I tried reinstalling previous stable versions but still having the same problem...

答案1

得分: 0

这是Windows目录分隔符的问题(\/的区别)。这个问题应该最终会得到解决,因为意图是提供最大的兼容性,但无法完全排除问题。如果必须使用wamp,你可以暂时更改此行,将\DIRECTORY_SEPARATOR替换为'/'。但理想情况下,你应该使用像Dockware这样的适当环境以确保安全。

英文:

It's an issue with the directory separators of Windows (\ vs /). This should get fixed eventually, as the intend is to offer maximum compatibility, but issues can't be fully ruled out. If you have to stick with wamp you could momentarily change this line to replace \DIRECTORY_SEPARATOR with '/'. Ideally however you should use a proper environment like Dockware to be on the safe side.

huangapple
  • 本文由 发表于 2023年6月15日 12:48:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/76479203.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定