# |
Sep 11th 2009, 07:08 |
Eggy_Blastoff |
learning_cak: no kidding; i'm very annoyed; |
# |
Sep 11th 2009, 07:08 |
learning_cak |
Eggy_Blastoff: thats wierd |
# |
Sep 11th 2009, 07:06 |
Eggy_Blastoff |
learning_cak: 1.2.1.8004 |
# |
Sep 11th 2009, 07:05 |
crayfishuk |
learning_cak: Must have missed the first bit - only see a paste with an array in it... |
# |
Sep 11th 2009, 07:05 |
Eggy_Blastoff |
1.2 |
# |
Sep 11th 2009, 07:04 |
learning_cak |
<Eggy_Blastoff : cake version>? |
# |
Sep 11th 2009, 07:03 |
learning_cak |
crayfishuk: got any idea bout my problem? |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
this is highly annoying |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
$uses = array('Users'); worked |
# |
Sep 11th 2009, 07:03 |
Eggy_Blastoff |
no, that didn't work |
# |
Sep 11th 2009, 07:02 |
learning_cak |
$uses = array('User'); |
# |
Sep 11th 2009, 07:02 |
Eggy_Blastoff |
learning_cak: users |
# |
Sep 11th 2009, 07:01 |
learning_cak |
whats your table name by the way? |
# |
Sep 11th 2009, 07:01 |
Eggy_Blastoff |
crayfishuk: Apparently not. |
# |
Sep 11th 2009, 07:01 |
learning_cak |
huh?? |
# |
Sep 11th 2009, 07:01 |
Eggy_Blastoff |
learning_cak: It's fixed. It wanted the plural form in uses |
# |
Sep 11th 2009, 07:01 |
learning_cak |
var $uses will really do the trick.. |
# |
Sep 11th 2009, 07:01 |
crayfishuk |
Pants - but true. |
# |
Sep 11th 2009, 07:00 |
crayfishuk |
Eggy_Blastoff: It's working as designed: see https://trac.cakephp.org/ticket/3514 if $uses=array() is assumes no Models - anything else it will automagically add the 'assumed' one |
# |
Sep 11th 2009, 07:00 |
learning_cak |
Eggy_Blastoff please post your controller |
# |
Sep 11th 2009, 06:59 |
Eggy_Blastoff |
wth, it wanted plural form |
# |
Sep 11th 2009, 06:59 |
judaz |
a round of beers for all! |
# |
Sep 11th 2009, 06:59 |
crayfishuk |
You could always just App::import('Model', 'Product'); / $tmpProduct = new Product(); |
# |
Sep 11th 2009, 06:58 |
judaz |
thanks people from #cakephp for your help! |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
crayfishuk: No, it dosn't complain when i do that |
# |
Sep 11th 2009, 06:58 |
judaz |
Ok, project finished and on client's server |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
no |
# |
Sep 11th 2009, 06:58 |
crayfishuk |
Does it do it if $uses = array() |
# |
Sep 11th 2009, 06:58 |
learning_cak |
let us see you controller <Eggy_Blastoff |
# |
Sep 11th 2009, 06:58 |
Eggy_Blastoff |
it wants me to create the default model that matches the name of the controller |
# |
Sep 11th 2009, 06:57 |
learning_cak |
naming convention? |
# |
Sep 11th 2009, 06:57 |
Eggy_Blastoff |
i didn't mispell |
# |
Sep 11th 2009, 06:57 |
Eggy_Blastoff |
done |
# |
Sep 11th 2009, 06:57 |
learning_cak |
check the spelling Eggy_Blastoff |
# |
Sep 11th 2009, 06:56 |
Eggy_Blastoff |
*already |
# |
Sep 11th 2009, 06:56 |
Eggy_Blastoff |
*i've done that aleady |
# |
Sep 11th 2009, 06:55 |
Eggy_Blastoff |
i've done that in Xcontroller, but it still wants me to create X table |
# |
Sep 11th 2009, 06:55 |
learning_cak |
hehe |
# |
Sep 11th 2009, 06:55 |
learning_cak |
crayfishuk already posted it, kindly scroll up |
# |
Sep 11th 2009, 06:55 |
learning_cak |
var $uses = array('Ymodel') |
# |
Sep 11th 2009, 06:55 |
Eggy_Blastoff |
for Xcontroller |