# |
Aug 8th 2008, 10:22 |
FunkyWeasel |
Which is odd. Ho hum, more digging. |
# |
Aug 8th 2008, 10:22 |
__mork |
someone has experience with phpgacl? |
# |
Aug 8th 2008, 10:22 |
FunkyWeasel |
gwoo: Sadly I'm not able to use debug(Debugger::trace)) because the pages throwing the above error doesn't even get to execute the controller method. |
# |
Aug 8th 2008, 10:22 |
gwoo |
obiyoda: validation works on anythign in the validate array |
# |
Aug 8th 2008, 10:22 |
obiyoda |
What I'm trying to do is validate a form item that doesn't get saved to the database. Is this possible? |
# |
Aug 8th 2008, 10:21 |
obiyoda |
Does validation only work on data that is being saved to the database? |
# |
Aug 8th 2008, 10:16 |
infantigniter |
ie, if i supplied the ID to a row that already exists |
# |
Aug 8th 2008, 10:15 |
infantigniter |
has been created* |
# |
Aug 8th 2008, 10:15 |
infantigniter |
this is probably a silly question, but there doesn't seem to be an update() function. is this because save() creates a new record if it is not created but updates if it has been? |
# |
Aug 8th 2008, 10:13 |
FunkyWeasel |
gwoo: Nice one, will look into that! |
# |
Aug 8th 2008, 10:13 |
gwoo |
FunkyWeasel: debug(Debugger::trace()); |
# |
Aug 8th 2008, 10:12 |
infantigniter |
np |
# |
Aug 8th 2008, 10:11 |
cl0s |
infantigniter: thanks! |
# |
Aug 8th 2008, 10:11 |
cl0s |
i dont really need to log them in.. actually better that i dont.. but have the guest as an aro anyway and jsut use this->auth->check((check for alias, if null use anon), controller, action); |
# |
Aug 8th 2008, 10:10 |
infantigniter |
c10s: k :) |
# |
Aug 8th 2008, 10:10 |
cl0s |
ahh wait your right.. cant believe i didnt see it.. |
# |
Aug 8th 2008, 10:09 |
infantigniter |
c10s: then see if there's a way you can just trigger log-in for that person through calling an auth method. otherwise you can write a workaround that simulates the user logging in |
# |
Aug 8th 2008, 10:09 |
infantigniter |
c10s: i gotcha. hmm... i don't use auth - i use darkauth - but i'm sure it's very similar. all i can suggest is that if Auth does not find that this user is logged in -- and therefore this user is a guest -- |
# |
Aug 8th 2008, 10:08 |
cl0s |
the anon user is pretty much a user thats not logged in.. |
# |
Aug 8th 2008, 10:07 |
cl0s |
i want to use a guest user instead of allow('pages......').. so i can control permissions from an admin instead of in the code.. |
# |
Aug 8th 2008, 10:07 |
infantigniter |
c10s: what do you need the 'anon' user for? |
# |
Aug 8th 2008, 10:06 |
cl0s |
i have Guest user.. that i would like to automatically login to my site as like the 'Anon' user.. but then a someone can login as themself which has more permissions.. is this possible? |
# |
Aug 8th 2008, 10:06 |
FunkyWeasel |
Still can't narrow down what's causing " Error: Database table cake_app_models for model AppModel was not found." Is there no way to get more debug information? Such as what call is throwing this error? |
# |
Aug 8th 2008, 10:06 |
cl0s |
how would I auto login someone using auth? |
# |
Aug 8th 2008, 10:05 |
FunkyWeasel |
teknoid: style reasons afaik |
# |
Aug 8th 2008, 10:03 |
teknoid |
FunkyWeasel: yes, but why caps? |
# |
Aug 8th 2008, 10:01 |
__mork |
what is the better acl plugin manager out there? phpgacl seems to be a little outdated... the one by jeff loiselles refuses to install (better: the browser says it can't find it after copying it in plugin dir) |
# |
Aug 8th 2008, 09:59 |
gwoo |
yes |
# |
Aug 8th 2008, 09:59 |
__mork |
TommyO: you mean by specifying "fields" array? |
# |
Aug 8th 2008, 09:59 |
FunkyWeasel |
Still allowed in 1.2: var $useTable = FALSE; ? |
# |
Aug 8th 2008, 09:58 |
TommyO |
__mork: if you're doing large queries with lots of recursion or lots of fields, you might want to tighten up your find() to get only the fields you want. you'll also save a lot of processing time too |
# |
Aug 8th 2008, 09:58 |
__mork |
you're very kind! |
# |
Aug 8th 2008, 09:58 |
gwoo |
they should be your guide |
# |
Aug 8th 2008, 09:58 |
gwoo |
NOSLOW: look at the other ones that were added in that changeset |
# |
Aug 8th 2008, 09:58 |
__mork |
thanks, folk! |
# |
Aug 8th 2008, 09:57 |
__mork |
but i had problem with charset and this take me "off the road" |
# |
Aug 8th 2008, 09:57 |
__mork |
i should figure out |
# |
Aug 8th 2008, 09:57 |
NOSLOW |
I'm a little new to writing test cases so it may take me a while...and tips on where to put the test case? |
# |
Aug 8th 2008, 09:57 |
__mork |
thanks! |
# |
Aug 8th 2008, 09:57 |
__mork |
with 64 is good! |
# |
Aug 8th 2008, 09:57 |
teknoid |
__mork: it is... better to increase |