# |
Sep 11th 2009, 20:18 |
HieronymusN |
anyone? git with code.cakephp.org? |
# |
Sep 11th 2009, 20:18 |
wesley_unipac |
Hiall: where is the line RewriteOptions maxredirect? |
# |
Sep 11th 2009, 20:17 |
wesley_unipac |
httpd.conf? |
# |
Sep 11th 2009, 20:17 |
wesley_unipac |
? |
# |
Sep 11th 2009, 20:16 |
wesley_unipac |
Guys, where is the line RewriteOptions maxredirect? |
# |
Sep 11th 2009, 20:14 |
mattalexx_ |
ifunk, Thanks |
# |
Sep 11th 2009, 20:14 |
renan_saddam |
~bin |
# |
Sep 11th 2009, 20:13 |
HieronymusN |
it bein code.cakephp.com |
# |
Sep 11th 2009, 20:13 |
HieronymusN |
I had this setup successfully some time ago, but after an OS upgrade it won't take my pubkey |
# |
Sep 11th 2009, 20:08 |
ifunk |
mattalexx_: $this->_View =and ClassRegistry::getObject('view'); |
# |
Sep 11th 2009, 20:08 |
mattalexx_ |
What's the best way to get the name of the current layout from a helper? $this doesn't seem to contain it. |
# |
Sep 11th 2009, 19:53 |
Hiall |
thank you ADmad |
# |
Sep 11th 2009, 19:53 |
Hiall |
lol |
# |
Sep 11th 2009, 19:53 |
Hiall |
omfg :| |
# |
Sep 11th 2009, 19:53 |
ADmad |
compare the filename and your actsAs statment |
# |
Sep 11th 2009, 19:52 |
Hiall |
within app/models/behaviors folder* |
# |
Sep 11th 2009, 19:52 |
Hiall |
within app/models/behavior folder |
# |
Sep 11th 2009, 19:52 |
Hiall |
multiplevalidatable.php |
# |
Sep 11th 2009, 19:51 |
ADmad |
what have you named the behavior file? |
# |
Sep 11th 2009, 19:49 |
Hiall |
its as if its not finding the behavior |
# |
Sep 11th 2009, 19:49 |
Hiall |
snook gave me the same error though |
# |
Sep 11th 2009, 19:49 |
Hiall |
http://bakery.cakephp.org/articles/view/multivalidatablebehavior-using-many-validation-rulesets-per-model <-- |
# |
Sep 11th 2009, 19:49 |
Hiall |
ah no I'm using |
# |
Sep 11th 2009, 19:48 |
ADmad |
from the article "var $actsAs = array('Snook.MultipleValidatable');" assuming you are just using the behavior and not a plugin what should the statement be? |
# |
Sep 11th 2009, 19:47 |
Hiall |
sorry what's wrong with that? :S |
# |
Sep 11th 2009, 19:47 |
ADmad |
yes |
# |
Sep 11th 2009, 19:47 |
Hiall |
var $actsAs = array('Multivalidatable'); ? |
# |
Sep 11th 2009, 19:46 |
ADmad |
error on line 5 |
# |
Sep 11th 2009, 19:46 |
Hiall |
http://davesherratt.com/register <-- shows the full error |
# |
Sep 11th 2009, 19:46 |
Hiall |
Is the model |
# |
Sep 11th 2009, 19:45 |
Hiall |
http://bin.cakephp.org/view/192998817 |
# |
Sep 11th 2009, 19:45 |
markstory |
var $actsAs = array('Foo'); |
# |
Sep 11th 2009, 19:45 |
ADmad |
show your model |
# |
Sep 11th 2009, 19:44 |
ADmad |
~tell Hiall about bin |
# |
Sep 11th 2009, 19:44 |
Hiall |
it's as though its querying the table for that function |
# |
Sep 11th 2009, 19:44 |
Hiall |
hmmn :S |
# |
Sep 11th 2009, 19:43 |
markstory |
app/models/behaviors/foo.php -> FooBehavior extends ModelBehavior |
# |
Sep 11th 2009, 19:43 |
markstory |
no they should just work. |
# |
Sep 11th 2009, 19:40 |
Hiall |
When using behaviors in cake, is there any setup I need to have. Currently my cake doesn't seem to be finding any instances of the behavior and throwing sql errors. |
# |
Sep 11th 2009, 19:36 |
dhodgkin |
ADmad: I figured it out, something got left out during the copy of 1.2.5. I fixed my issue. Thanks! |
# |
Sep 11th 2009, 19:35 |
Seguer |
but the problem is - what if their app is using normal Auth/Acl already? |