简体   繁体   English

magento自定义主题错误

[英]magento custom theme error

trying to create a custom theme with bitnami XAMPP using magento devdocs 尝试使用magento devdocs使用bitnami XAMPP创建自定义主题

https://devdocs.magento.com/guides/v2.2/frontend-dev-guide/themes/theme-create.html https://devdocs.magento.com/guides/v2.2/frontend-dev-guide/themes/theme-create.html

I get this error when I try to access the admin panel 尝试访问管理面板时出现此错误

There has been an error processing your request 处理您的请求时出错

Exception printing is disabled by default for security reasons. 出于安全原因,默认情况下禁用异常打印。

Error log record number: 1130478184 错误日志记录号:1130478184

I think you have to first check in your error log number "1130478184" where you exactly know what is the issue. 我认为您必须首先检入错误日志号“ 1130478184”,在此您完全知道问题所在。 I think from your given link which you refer your issue must be occured from theme.xml file's <preview_image>media/preview.jpg</preview_image> line. 我认为您引用的给定链接必须来自theme.xml文件的<preview_image>media/preview.jpg</preview_image>行。 You have to try with comment following code in theme.xml file:- 您必须尝试在theme.xml文件中的以下代码中添加注释:-

<!--media>
     <preview_image>media/preview.jpg</preview_image>
</media-->

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM