umbraco 安装麻烦
Error reading XSLT file: \xslt\umbTopNavigation.xslt
我已经尝试在多个服务器上安装 - 每个人都有权安装厨房水槽,如果他们愿意 - 不会消失。
老实说,我本来希望安装会更顺利一些。
有人吗?
Error reading XSLT file: \xslt\umbTopNavigation.xslt
i've tried installing on more than one server -everyone has permissions to install a kitchen sink if they wish - not going away.
I'd have expected the install for this to be a bit smoother to be honest.
anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将文件 Web/xlst/umbTopNavigation.xlst 复制到 /xlst/umbTopNavigation.xlst。
Copy the file Web/xlst/umbTopNavigation.xlst to /xlst/umbTopNavigation.xlst.
造成这种情况的通常原因是您敢于更改磁盘上的 XSLT。
在 Umbraco ui 中打开它,保存它,你应该
也很好:razor 踢 xslt 的后端。只是说'
:)
[编辑]
就像@Tomalak所说,该文件真的存在吗?它是有效的 xslt 文件吗? umbLog 表中有什么内容吗?如果从模板中删除它会发生什么?
The usual cause of this is that you dared to change the XSLT on disk.
Open it up in the Umbraco ui, save it, and you should be good
also: razor kicks xslt's rear end. just sayin'
:)
[edit]
like @Tomalak said, is the file actually there? is it a valid xslt file? anything in umbLog table? what happens if you remove that from the template?
解决方案是将文件从
/Umbraco/xlst/umbTopNavigation.xlst
复制到/xls/umbTopNavigation.xlst
,如 @BlackjacketMack 所指出的。然而,为什么“umbraco 安装 [可能] 很痛苦”的问题在于,一开始,您可能会在应用程序路径为
/umbraco
(很可能是 Visual Studio 默认值)时运行 starterKit。如果您随后将其更改为使用
/
作为应用程序路径,一切都会变得混乱,唯一的解决方案是将它们再次移回根目录。The solution is to copy the file from
/Umbraco/xlst/umbTopNavigation.xlst
to/xls/umbTopNavigation.xlst
as pointed out by @BlackjacketMack.However the problem of why "umbraco install [can be a] pain" is that at the beginning, you probably ran the starterKit when the application path was
/umbraco
most likely defaulted by Visual Studio.If you then change this to use
/
as the application path, all will mess up and the only solution is to move them back to the root again.