# |
Aug 8th 2008, 09:47 |
__mork |
teknoid: thanks |
# |
Aug 8th 2008, 09:46 |
FunkyWeasel |
TommyO: cheers, I'll go have a look there. |
# |
Aug 8th 2008, 09:46 |
teknoid |
__mork: meaning, the main cake dir |
# |
Aug 8th 2008, 09:46 |
teknoid |
__mork: all you need to do is replace 'cake' core |
# |
Aug 8th 2008, 09:46 |
TommyO |
FunkyWeasel: it tells you what's missing. but what it also tells you is that you've got a bad model call somewhere. my guess in AppModel |
# |
Aug 8th 2008, 09:46 |
NOSLOW |
gwoo: it looks like that line should not apply when $type == 'hasAndBelongsToMany' |
# |
Aug 8th 2008, 09:46 |
kamalcom |
May God bless you |
# |
Aug 8th 2008, 09:46 |
__mork |
teknoid: can i replace all the dirs but app? |
# |
Aug 8th 2008, 09:45 |
kamalcom |
I will be here with you for everytime |
# |
Aug 8th 2008, 09:45 |
FunkyWeasel |
TommyO: Because it'd be nice to know what table was actually missing :P |
# |
Aug 8th 2008, 09:45 |
kamalcom |
ok thanks teknoid |
# |
Aug 8th 2008, 09:45 |
TommyO |
FunkyWeasel: how is that error not 100% revealing? :) |
# |
Aug 8th 2008, 09:45 |
FunkyWeasel |
teknoid: trying to convert a complex app from cakephp 1.1 to 1.2 with varying success. |
# |
Aug 8th 2008, 09:45 |
teknoid |
kamalcom: there are links on the main page of cakephp.org |
# |
Aug 8th 2008, 09:45 |
mguezuraga |
AD7six: no problem ;) |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
oh, ok |
# |
Aug 8th 2008, 09:44 |
kamalcom |
I want if somebody knows a link with sample projects maked with CakePHP?? |
# |
Aug 8th 2008, 09:44 |
AD7six |
mguezuraga: hey. I haven't yet but I'm sure they are perfect. thanks. |
# |
Aug 8th 2008, 09:44 |
gwoo |
to allow for ternary |
# |
Aug 8th 2008, 09:44 |
teknoid |
FunkyWeasel: app model should not have any tables... what exactly are you doing? |
# |
Aug 8th 2008, 09:44 |
gwoo |
which were recently changed |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
yes, sorry |
# |
Aug 8th 2008, 09:44 |
gwoo |
not convention |
# |
Aug 8th 2008, 09:44 |
gwoo |
NOSLOW: you mean coding standards |
# |
Aug 8th 2008, 09:44 |
mguezuraga |
AD7six: did you check the diffs I mailed you? |
# |
Aug 8th 2008, 09:44 |
freebox2 |
gwoo: you have an version to 1.2? |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
gwoo: uses the ternary if |
# |
Aug 8th 2008, 09:43 |
FunkyWeasel |
Hrm, any idea how I can wring up more debug information from the less than useful: "Error: Database table cake_app_models for model AppModel was not found." i.e. which table is missing? |
# |
Aug 8th 2008, 09:43 |
gwoo |
NOSLOW: no following convention? |
# |
Aug 8th 2008, 09:43 |
__mork |
teknoid: in fact a friend worked on the files. he's using windows (italian local.), I do ubuntu |
# |
Aug 8th 2008, 09:43 |
kamalcom |
thnx |
# |
Aug 8th 2008, 09:43 |
freebox2 |
output: WHERE `Piada`.`Titulo` = 'LIKE b%' |
# |
Aug 8th 2008, 09:43 |
teknoid |
__mork: yeah, try to upgrade to a more recent build |
# |
Aug 8th 2008, 09:43 |
gwoo |
hi kamalcom |
# |
Aug 8th 2008, 09:43 |
Martz |
kamalcom: hi o/ |
# |
Aug 8th 2008, 09:43 |
NOSLOW |
which, BTW, is not following convention |
# |
Aug 8th 2008, 09:43 |
gwoo |
need to update the tutorial |
# |
Aug 8th 2008, 09:43 |
gwoo |
freebox2: 1.2 is now different |
# |
Aug 8th 2008, 09:43 |
kamalcom |
i'm new to this beautiful community |
# |
Aug 8th 2008, 09:43 |
NOSLOW |
this line seems to be the culprit: $data = (($type == 'belongsTo') ? Inflector::underscore($assocKey) : Inflector::singularize($this->table)) . '_id'; |
# |
Aug 8th 2008, 09:42 |
freebox2 |
gwoo: the problem is with this line: $base = array($model.'.'.$field => 'LIKE %'.$data[$model][$field].'%'); |