简体   繁体   中英

umbraco install pains

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 / xlst / umbTopNavigation.xlst复制到/xlst/umbTopNavigation.xlst。

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.

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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