Re: Cakephp generates Wrong query in PHP4?

2007-07-08 Thread M
Hello Samuel, I did it and now it works in php 4 and php 5. I posted this problem because previously, after replacing findByUserId with findByUser_Id it was giving an error like it was not finding user__id in table. However I am not capable of reproducing the problem. If it happens, I will post

Re: Cakephp generates Wrong query in PHP4?

2007-07-08 Thread M
Hello Samuel, I did it and now it works in php 4 and php 5. I posted this problem because previously, after replacing findByUserId with findByUser_Id it was giving an error like it was not finding user__id in table. However I am not capable of reproducing the problem. If it happens, I will post

Re: Cakephp generates Wrong query in PHP4?

2007-07-07 Thread Samuel DeVore
I am fairly sure that in php 4 you have to do FindByUser_Id I know this used to be the case due to limitations in php 4 see https://trac.cakephp.org/ticket/1567 for a ticket on the manual for this. I hope that one of the Cake Devs can confirm or deny this Sam D On 7/7/07, M [EMAIL PROTECTED]