![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeigniter
AlexPig
Im a happy guy!
展开
-
关于在CI中引用路径的问题 File does not exist
<br />我们在开发的过程中,可能设置好base_url之后,再调用别的controller的时候,会用src="/header" 之类的调用,这种方法,在windows平台 没有问题,但是在linux上就不行了,就会出现 File does not exist: /usr/local/httpd/htdocs/header 这样的错误,我们需要把路径中的反斜杠去掉就可以了原创 2011-05-26 10:05:00 · 1542 阅读 · 0 评论 -
Unable to locate the model you have specified: xxxx_model
<br />在开发的过程中,因为在本地测试,系统是windows的,没有任何问题。<br />部署到测试机时,出现 Unable to locate the model you have specified: xxxx_model 故障。<br />各种搜索<br />左后发现问题所在:<br /> <br />CI的model命名一定要小写!<br /> <br />如alexTest_model =>alextest_model<br /><br /><br /> <br />养成一个好习惯很重要!原创 2011-05-25 15:22:00 · 1403 阅读 · 0 评论