課程
/后端開發(fā)
/PHP
/MVC架構(gòu)模式分析與設(shè)計(jì)
Class 'Home\Controller\TestModel' not found
2016-04-23
源自:MVC架構(gòu)模式分析與設(shè)計(jì) 3-5
正在回答
windows 下?require_once(dirname(__FILE__).'\\libs\\Controller\\testController.class.php');
文件引入寫成 require_once('$Home/Controller/TestModel.class.php');
主要是注意路徑的反斜線,都要改成斜線。
kontact
沒保存吧
沒有找到名字為TestModel的類
舉報(bào)
通過學(xué)習(xí)MVC理論知識(shí),由淺入深帶您實(shí)現(xiàn)人生第一個(gè)MVC框架
2 回答為什么我會(huì)報(bào)這個(gè)錯(cuò)誤
1 回答為什么會(huì)出現(xiàn)未定義的字符??
1 回答為什么會(huì)出現(xiàn) Notice: Undefined index: id
2 回答為什么我的這個(gè)會(huì)報(bào)錯(cuò)?
3 回答請(qǐng)問我出現(xiàn)下面這種錯(cuò)誤了,怎么修改?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-09-22
windows 下?require_once(dirname(__FILE__).'\\libs\\Controller\\testController.class.php');
2016-08-26
文件引入寫成 require_once('$Home/Controller/TestModel.class.php');
主要是注意路徑的反斜線,都要改成斜線。
2016-08-05
沒保存吧
2016-04-24
沒有找到名字為TestModel的類