开发者

CakePHP App not working on web server

I tried to upload my app to webserver to check it's performance, but unfortunately I got weird error:

Error: Database table news for model News was not found.

The Most funny things are: - In Model file I got var $useTable = 'other table name'; - This table exist, connection with DB too! - on m开发者_开发知识库y local server everythings works great...

Any suggestions? Yes, I cleared the cache.

Cheers!


check model file name, capitalization matters on some server but not all. if it cant find the model file, then it doesnt know $userTable. just guessing

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜