skip to Main Content

magento version : Magento-CE-2.2.6-2018-09-07-02-07-16
PHP : 7.0.32
this message shown in 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 MagentoPaypalModelPayflowlinkFactory 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. [] []

2

Answers


  1. Chosen as BEST ANSWER

    it's fixed. I didn't change any configuration back then. the current release is installing easily. Ii was probably version issue. thanks for asking.


  2. Rename the file from PayflowlinkFactory.php.11336 to PayflowlinkFactory.php . It may works!

    Reference: Renaming File Error: The process cannot access the file because it is being used by another process

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search