# Table class for alias could not be found on production server

**URL:** <https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890>\
**Category:** Need Help\
**Created:** [January 9, 2023, 7:03pm UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890 "2023-01-09T19:03:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_looser](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/user_looser/32/2161_2.png) [@user\_looser](https://discourse.cakephp.org/u/user_looser)\
**Post date:** [January 9, 2023, 7:03pm UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890/1 "2023-01-09T19:03:28Z")

</div>

Hello,

when I run my CakePHP app on my local Wamp installation, everything works fine. When I try to run the same action on production server, I get error:

> Table class for alias `Rulingswarrantors` could not be found.

What could be the cause of this problem?  
Remote server:

 ![Screenshot_2023-01-09_19-56-14](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/f/fe0c8882458295496138e4d025b6d7c73b4ceb5f.png)

The same page on local server:

 ![Untitled](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/1/1d11e5425cbfd89f564a713c6dec0e5e539b847d.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [January 9, 2023, 9:29pm UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890/2 "2023-01-09T21:29:08Z")

</div>

Your production server is on a case-sensitive filesystem, and you’ve got your class and/or your filename and/or a parameter to some association setup in the wrong case. It’s probably supposed to be `RulingsWarrantors`, not `Rulingswarrantors`.

---

<div class="post-metadata">

**Author:** ![user\_looser](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/user_looser/32/2161_2.png) [@user\_looser](https://discourse.cakephp.org/u/user_looser)\
**Post date:** [January 10, 2023, 8:28am UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890/3 "2023-01-10T08:28:51Z")

</div>

Thank you @Zuluru , problem fixed.

---

<div class="post-metadata">

**Author:** ![priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@priyanka](https://discourse.cakephp.org/u/priyanka)\
**Post date:** [July 10, 2024, 9:38am UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890/4 "2024-07-10T09:38:46Z")

</div>

I get an error when I try to open my controller

 ![Screenshot 2024-07-10 150720](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/d/d2f5a80bb1e575a0e37c89336d88d1fc66eb22b9.png)

---

<div class="post-metadata">

**Author:** ![Salines](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/salines/32/3166_2.png) [@Salines](https://discourse.cakephp.org/u/Salines)\
**Post date:** [July 11, 2024, 11:44am UTC](https://discourse.cakephp.org/t/table-class-for-alias-could-not-be-found-on-production-server/10890/5 "2024-07-11T11:44:30Z")

</div>

Have you created the Students model (StudentsTable & Student entity)?
