# |
Sep 21st 2011, 19:40 |
JouckeH |
hi all |
# |
Sep 21st 2011, 19:37 |
mdunham918_ |
thanks ADmad |
# |
Sep 21st 2011, 19:35 |
ADmad |
mdunham918_: you can specify the 'error' string in form->input options |
# |
Sep 21st 2011, 19:33 |
mdunham918_ |
and have them all use the same message |
# |
Sep 21st 2011, 19:33 |
cpgo |
Jeebs624, can you PM me you're setup so I can try to replicate it, httpd.conf perhaps and the folder structure you have |
# |
Sep 21st 2011, 19:32 |
mdunham918_ |
i know how but i don't want to specify the same message twice |
# |
Sep 21st 2011, 19:32 |
ADmad |
mdunham918_: you can't make anything you dream up to work, check the manual on how to specify multiple rules for a field |
# |
Sep 21st 2011, 19:31 |
Jeebs624 |
ADmad: Will do and thanks to everyone for trying to help. |
# |
Sep 21st 2011, 19:31 |
mdunham918_ |
thats too bad |
# |
Sep 21st 2011, 19:31 |
ADmad |
no |
# |
Sep 21st 2011, 19:30 |
mdunham918_ |
we can combine rues right like validate = array('field' => array( 'firstOne' => array( 'rule' => array('notempty', 'numeric') right? |
# |
Sep 21st 2011, 19:30 |
ADmad |
Jeebs624: if you figure out cause of the issue do let me know, so we can either try to fix it or atleast document the anamoly |
# |
Sep 21st 2011, 19:27 |
unico7 |
and this one uses this way to call the modelClass |
# |
Sep 21st 2011, 19:27 |
unico7 |
the matter is that i was going to include a search function |
# |
Sep 21st 2011, 19:26 |
unico7 |
it works well in everything |
# |
Sep 21st 2011, 19:26 |
cpgo |
the problem with the convention is that you're not followng it |
# |
Sep 21st 2011, 19:25 |
unico7 |
i think finally i'll have to do that |
# |
Sep 21st 2011, 19:23 |
ADmad |
unico7: so change your model name and do it the right way |
# |
Sep 21st 2011, 19:22 |
Jeebs624 |
ADmad: Frak. :( |
# |
Sep 21st 2011, 19:22 |
ADmad |
Jeebs624: then i am out of ideas :) |
# |
Sep 21st 2011, 19:22 |
Jeebs624 |
ADmad: It's setting it. |
# |
Sep 21st 2011, 19:22 |
unico7 |
any solution to avoid chanching model name? |
# |
Sep 21st 2011, 19:21 |
unico7 |
i have problems with cake convention, i have a model called like name_surname and it doesn't work when calling $this->modelClass |
# |
Sep 21st 2011, 19:20 |
ADmad |
Jeebs624: that looks fine. check whether your server is setting the SCRIPT_FILENAME env. var, use phpinfo |
# |
Sep 21st 2011, 19:19 |
Jeebs624 |
Admad: Still says "No input file specified." Is this correct? http://pastebin.com/V7jJZgA1 |
# |
Sep 21st 2011, 19:16 |
ADmad |
in webroot/.htaccess |
# |
Sep 21st 2011, 19:16 |
Jeebs624 |
ADmad: I'll try that. |
# |
Sep 21st 2011, 19:16 |
ADmad |
Jeebs624: try reverting to the orignal rewrite rule for 2.0 and add Options -MultiViews at top of you htaccess |
# |
Sep 21st 2011, 19:15 |
Jeebs624 |
Yes |
# |
Sep 21st 2011, 19:15 |
ADmad |
Jeebs624: still here? |
# |
Sep 21st 2011, 19:07 |
cpgo |
AlexMax, whoah awesome = better error managment, component/helper aliasing, better organization, supposed to be speed improvment too, more oop, lazy model loading by default.. |
# |
Sep 21st 2011, 19:07 |
Jeebs624 |
Maybe I can just leave the change. |
# |
Sep 21st 2011, 19:06 |
cpgo |
that was for jeebs |
# |
Sep 21st 2011, 19:06 |
cpgo |
no look upone more lol |
# |
Sep 21st 2011, 19:06 |
Jeebs624 |
"2.0.0-RC2" :) |
# |
Sep 21st 2011, 19:06 |
AlexMax |
cpgo: I'm not. Everything I'm working with is 1.3 |
# |
Sep 21st 2011, 19:06 |
cpgo |
AlexMax, ^^ |
# |
Sep 21st 2011, 19:05 |
jgonca |
) |
# |
Sep 21st 2011, 19:05 |
cpgo |
are you sure you're using 2.0? :P |
# |
Sep 21st 2011, 19:05 |
Jeebs624 |
Works perfectly if I switch it to "RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]" (CakePHP 1.3 way). |
# |
Sep 21st 2011, 19:04 |
cpgo |
better error managment, component/helper aliasing, better organization, supposed to be speed improvment too, more oop, lazy model loading by default.. |