简体   繁体   English

致命错误:调用成员函数load()-Kohana PHP

[英]Fatal error: Call to a member function load() - Kohana PHP

I just set up a Repo for a kohana project on my laptop. 我只是在笔记本电脑上为kohana项目设置了一个Repo。

I modified the DB credentials file. 我修改了数据库凭证文件。 However I am getting this issue (same issue that i was getting before) 但是我遇到了这个问题(我之前遇到的那个问题)

Fatal error: Call to a member function load() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/gosnipe/site/system/classes/kohana/core.php on line 649

so the repo works. 这样仓库就可以了。 It works on another guys laptop, however I can't figure out why it's not working for me. 它可以在另一台笔记本电脑上工作,但是我不知道为什么它对我不起作用。

I've found the (very strange) problem. 我发现了(非常奇怪)问题。 The application/cache directory does not exists, BUT there was not error about this missing directory. application / cache目录不存在,但是关于此丢失的目录没有错误。 When I created cache directory ( application/cache ) and changed permission for it problem solved. 当我创建缓存目录( application / cache )并更改其权限时,问题解决了。

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

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