开发者

CakePHP App not working on web server

开发者 https://www.devze.com 2022-12-17 08:17 出处:网络
I tried to upload my app to webserver to check it\'s performance, but unfortunately I got weird error:

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

精彩评论

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

关注公众号