Sunday, October 31, 2010

Elite Tactical 3200 10x40

[symfony] SQLSTATE [42s22] Error 1054 = SOLUTION

Hello,
If you get this message, it probably happened to you this error:


I have personally had this problem and I managed to get out despite the fact that I do not really understand the root of the problem. Also, do not master this error, I do not give you the solution but a solution that worked for me but that does not work can be home. Here is my

background: I use

:


  • Linux Ubuntu 10.10
  • PHP 5.3 Apache 2
  • Mozilla Firefox & Google Chrome
  • Doctrine
far nothing surprising. The problem arises when I create tables i18n, ie when I do this type of schema.yml

actAs:
I18n:
fields: [title]


The error does not always happen. Very surprising, sometimes on the same application, for almost 2 pages similar, one triggers the error and the other not.

is maddening!

I noticed that it crashed on typing queries on tables translated. It is as if the doctrine did not join and did not find the translation. I came across a way to "seal" the breach is this: It

me this error sometimes appeared on a petition or wrote the model name in lowercase.

I change the name of the model by inserting an upper case first letter like this.

I had the opposite problem, having put the class name with the first letter capitalized, I have put everything in lowercase. I do not necessarily understand what it may come and especially if you think you know, tell me, I'd love to understand this history.
Anyway, it works for me, I hope it works for you too.

0 comments:

Post a Comment