# |
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.. |
# |
Sep 21st 2011, 19:04 |
Dunhamzzz |
all look the bloody same |
# |
Sep 21st 2011, 19:04 |
Dunhamzzz |
dw I got it. damn quotes |
# |
Sep 21st 2011, 19:04 |
Jeebs624 |
jgonca: I just did and it's the same thing. The issue seems to be line "RewriteRule ^(.*)$ index.php/$1 [QSA,L]". |
# |
Sep 21st 2011, 19:03 |
jgonca |
jeebs624: yup... if you're not using it as root, you need to edit the 3 files and add them the RewriteBase rule |
# |
Sep 21st 2011, 19:02 |
Dunhamzzz |
ok dumb question, what's the proper way of doing wildcard LIKE condition in CakePHP without allowing users to search for % and return everything |
# |
Sep 21st 2011, 19:02 |
Jeebs624 |
jgonca: Nope, am I suppose to? I must have missed that part. |
# |
Sep 21st 2011, 19:02 |
AlexMax |
cpgo: What's the biggest "Woah, awesome" coming from 1.3? |
# |
Sep 21st 2011, 19:01 |
jgonca |
jeebs624: have you modified the 3 .htaccess files to include the "rewriteBase /folder/"? |
# |
Sep 21st 2011, 19:01 |
cpgo |
there are a lot of changes to the core, so yea |
# |
Sep 21st 2011, 19:01 |
Jeebs624 |
jgonca: Something like that. http://blahblah/folder/controller/action |
# |
Sep 21st 2011, 19:01 |
AlexMax |
i haven't really been paying attention to it at all heh |