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}

Khoa Truong
32.5k11 gold badges91 silver badges159 bronze badges
asked Aug 24, 2016 at 10:24

1 Answer 1

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

answered Aug 26, 2016 at 14:18

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.