用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1985|回复: 2
收起左侧

[HELP] ci本地写好后上传到阿里云出现Unable to locate the model you have ...

[复制链接]
发表于 2015-7-29 18:06:45 | 显示全部楼层 |阅读模式
可是我大小写都符合规范啊



哪里错了?想发布网站来找实习用的,结果给我遇上这茬,急死
发表于 2015-7-30 09:17:04 | 显示全部楼层
1. 模型文件名: Jiaocheng_model.php
2. 模型的类名: public class Jiaocheng_model(){}
3. 加载模型时, $this->load->model('Jiaocheng_model', 'jiaocheng'); //这里不强求,但最好按照规定来。
$this->jiaocheng->get();//....
 楼主| 发表于 2015-7-30 12:13:16 | 显示全部楼层
谢了,昨天解决了

本版积分规则