windows 10 上的 Magento 2 安装问题 (php 7.0.32)
Magento 2 install issue (php 7.0.32) on windows 10
magento 版本:Magento-CE-2.2.6-2018-09-07-02-07-16
PHP:7.0.32
此消息显示在 system.log
"C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php.11336"
cannot be renamed into
"C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php"
Warning!rename(C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php.11336,C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php):
The process cannot access the file because it is being used by another
process. (code: 32)
Class Magento\Paypal\Model\PayflowlinkFactory generation error: The requested class did not generate properly, because the 'generated'
directory permission is read-only. If --- after running the
'bin/magento setup:di:compile' CLI command when the 'generated'
directory permission is set to write --- the requested class did not
generate properly, then you must add the generated class object to the
signature of the related construct method, only. [] []
将文件从 PayflowlinkFactory.php.11336 重命名为 PayflowlinkFactory.php。它可能有效!
参考:Renaming File Error: The process cannot access the file because it is being used by another process
已修复。那时我没有更改任何配置。当前版本很容易安装。 Ii 可能是版本问题。谢谢你的提问。
magento 版本:Magento-CE-2.2.6-2018-09-07-02-07-16
PHP:7.0.32
此消息显示在 system.log
"C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php.11336" cannot be renamed into "C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php" Warning!rename(C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php.11336,C:/xampp/htdocs/mag/generated/code/Magento/Paypal/Model/PayflowlinkFactory.php): The process cannot access the file because it is being used by another process. (code: 32) Class Magento\Paypal\Model\PayflowlinkFactory generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only. [] []
将文件从 PayflowlinkFactory.php.11336 重命名为 PayflowlinkFactory.php。它可能有效!
参考:Renaming File Error: The process cannot access the file because it is being used by another process
已修复。那时我没有更改任何配置。当前版本很容易安装。 Ii 可能是版本问题。谢谢你的提问。