简体   繁体   English

错误:找不到“ Haml”类……试图将Kohl(Kohaml)与Kohana一起使用

[英]Error: Class 'Haml' not found… trying to use Haml (Kohaml) with Kohana

Can't for the life of me figure out what I'm doing wrong... 无法为我的生活弄清楚我在做什么错...

Downloaded Kohaml from http://github.com/transphorm/kohaml http://github.com/transphorm/kohaml下载了Kohaml

Dropped it into modules/kohaml 将其放入模块/ kohaml

 # My Bootstrap reference
 'kohaml'     => MODPATH.'kohaml',        // kohaml

Keep getting this error... (snapshot of the error and my modules folder) 继续收到此错误...(错误和我的模块文件夹的快照)

http://wellcommentedcode.com/stack_kohaml_question/ http://wellcommentedcode.com/stack_kohaml_question/

Any suggestions on what I might be doing wrong would be highly appreciated... thanks. 对于我可能在做错的任何建议将不胜感激...谢谢。

It works now. 现在可以使用了。 Had to update the filenames like you said. 不得不像你说的那样更新文件名。 Thanks again for reporting the bug. 再次感谢您报告错误。 :) :)

Apparently a lot of the class files had names that started with a capital letter... went and lowercase them and that fixed the previous error... but all my standard views are now broken with this error. 显然,许多类文件的名称都以大写字母开头……去了并将它们小写,并修复了先前的错误……但是我的所有标准视图现在都被该错误所破坏。

http://wellcommentedcode.com/stack_kohaml_question/cache.jpg http://wellcommentedcode.com/stack_kohaml_question/cache.jpg

Any clues? 有什么线索吗?

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

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