最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

關(guān)于入口函數(shù)

按照視頻的代碼寫程序,在運(yùn)行時(shí)老是出現(xiàn)testModel類

Fatal error: Class 'testModel' not found in E:\Wampwww\MVC\lib\controlle\testControlle.class.php on line 6

找不到,但是如果在testControlle.class.php里面加入

require_once '/lib/model/'.$name.'Model.class.php';

require_once '/lib/view/'.$name.'Viem.class.php';

就可以正常運(yùn)行,這是什么問(wèn)題呢?

正在回答

2 回答

我也出現(xiàn)了此類問(wèn)題,修改show()方法?

0 回復(fù) 有任何疑惑可以回復(fù)我~

已解決,原來(lái)沒(méi)有修改testControlle.class.php里面的方法

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

風(fēng)過(guò)剝流年

<?php class testController{ function show(){ $testModel = M('test'); $data = $testModel->get(); $testView = V('test'); $testView -> display($data); } } ?> 您好,我這里也是出現(xiàn)了類似的錯(cuò)誤提示無(wú)法找到Class 'testModel' not found,詳細(xì)檢查后也找不到原因,能向您請(qǐng)教一下嗎??多謝
2017-02-04 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

關(guān)于入口函數(shù)

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)