Il giorno lunedì 26 ottobre 2015 18:58:55 UTC+1, John Andersen ha scritto:
>
> Is your Achievements class an extension of the Table class?
>
>>
>> oh, yes !
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message bec
Is your Achievements class an extension of the Table class?
I did not see that in your original post.
Enjoy, John
On Monday, 26 October 2015 19:39:21 UTC+2, lorenzoshake wrote:
>
>
>
> Il giorno lunedì 26 ottobre 2015 18:19:01 UTC+1, John Andersen ha scritto:
>>
>> Check your model associations -
Il giorno lunedì 26 ottobre 2015 18:19:01 UTC+1, John Andersen ha scritto:
>
> Check your model associations - is any of them relying on CakePHP
> identifying the keys?
> Check your queries - is any of them specifying the offending column?
>
> Enjoy, John
>
> On Monday, 26 October 2015 18:44:29
Check your model associations - is any of them relying on CakePHP
identifying the keys?
Check your queries - is any of them specifying the offending column?
Enjoy, John
On Monday, 26 October 2015 18:44:29 UTC+2, lorenzoshake wrote:
>
> i 've a strange assoc problem:
>
> class Achievements
> {
>
i 've a strange assoc problem:
class Achievements
{
$this->belongsToMany('SocialUsers', [
'foreignKey' => 'achievement_id',
'targetForeignKey' => 'user_id',
'joinTable' => 'achievements_users',
'through'=>'AchievementsUsers'
]);
...