RachelChen 发表于 2015-7-29 18:06:45

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

可是我大小写都符合规范啊
http://codeigniter.org.cn/forums/data/attachment/album/201507/29/180424c5tij5z53g75ok8n.png
http://codeigniter.org.cn/forums/data/attachment/album/201507/29/180422mduudtcjmyjkk55k.png
http://codeigniter.org.cn/forums/data/attachment/album/201507/29/180421enzcbmn3wvnzwyyk.png
哪里错了?想发布网站来找实习用的,结果给我遇上这茬,急死

yuzhigang5460 发表于 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();//....

RachelChen 发表于 2015-7-30 12:13:16

谢了,昨天解决了
页: [1]
查看完整版本: ci本地写好后上传到阿里云出现Unable to locate the model you have ...