0

I have created one offline payment method which will be visible to our specific customer group, all this is working fine in localhost but after uploading code in server i am getting following error at checkout page:

/opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/StaticResource.php(97): Magento\Framework\View\Asset\File->getSourceFile() #1 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\StaticResource->launch() #2 /opt/bitnami/apps/magento/htdocs/pub/static.php(13): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\StaticResource))#3 {main}

0

There was an error with file type- I was trying with phtml file in but knockout js binds HTML files. After reading few blogs i got this solution:

The html binding causes the associated DOM element to display the HTML specified by your parameter.

Typically this is useful when values in your view model are actually strings of HTML markup that you want to render. for more details- http://knockoutjs.com/documentation/template-binding.html

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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