I have got below error in email template.when i am adding header

{{template config_path="design/email/header_template"}}


Error filtering template: Cannot read contents from file "D:/xampp/htdocs/magento217/" Warning!file_get_contents(D:/xampp/htdocs/magento217/): failed to open stream: No such file or directory

Can any one help me on this problem ? Any references or suggestions are highly appreciated.

1 Answer 1


It seems that you could have an issue with your Xampp configuration, check if all the folders and files have the correct permissions and the ownership for the magento installation.


and checkout this related post:

Magento 2 folder/file permissions

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.