Jump to content
Larry Ullman's Book Forums

Yii Case Sensitivity Causes Cexception - Property "*" Is Not Defined


Rudra
 Share

Recommended Posts

I have a problem with Yii case sensitivity. Now, I'm working on a table called test. Now my Yii application has to be installed on two servers. In server A, the test table has field Description. It works fine there. In server B, the test table has field 'description' in all small letters. Now in server B, because of description it gives the following exception Property "test.Description" is not defined. I have referred to some links which says the problem is due to case sensitivity.I need to install this application in many servers which can have case sensitive column names.

What is causing this exception. How can I avoid this exception without changing in the MySQL database.

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...