Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
Rudra

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

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.

 

Share this post


Link to post
Share on other sites

Yeah, I have to agree with Antonio here. Even if a system is case-insensitive, it's best to do everything as if it is case-sensitive.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...