0

I am new to magento, currently working on a custom payment module created by another Developer. I am facting hard time to understand module.

This module has A drop-down List before placing order, But I change the option, it is not Displaying updated list, I could see old List.

I have tried below

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

But non of this worked. i whated to know how I can compile the module.

Please check this question I Could not able to Fix this problem.

2
  • try php bin/magento cache:flush Commented May 21, 2018 at 5:24
  • You enable developer mode and check the error log
    – Amit Bera
    Commented May 21, 2018 at 8:22

2 Answers 2

0

You can compile by the following command:

php bin/magento setup:di:compile

Then run:

php bin/magento setup:static-content:deploy
php bin/magento cache:flush

1
  • I have followed the steps, but i did not work. Can you please check the question once I have edited. Given link to another link of my question. Commented May 21, 2018 at 6:01
0

No. That is not possible with tools shipped with Magento now.

Explanation: We have to distinguish code generation and compilation. Compiler does both. For both operations we need to read configuration of all other magento modules, otherwise their output will be incorrect or not full.

Compilation for one module does not make sense, as magento will not work with compiled configuration for one module only.

Generation for one module might make sense, but we will have to read configuration and constructor signatures from all other installed modules anyway. Without it not all code might be generated. So such operation would not be much faster than full compilation. We might think of it, but I think the bug you referenced will be fixed before the command is implemented.

1
  • Can you please check the question once I have edited. Given link to another link of my question. Commented May 21, 2018 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.