# |
Sep 11th 2009, 22:14 |
palam |
i'm wondering if there's something built in instead of searching for some regex |
# |
Sep 11th 2009, 22:14 |
palam |
rather, just check if an email address is valid without running validates()? |
# |
Sep 11th 2009, 22:13 |
palam |
is it possible to validate just one field of a model? |
# |
Sep 11th 2009, 21:44 |
Rampage |
hey guys, i'm facing a little weird problem! my add/edit has a file upload field. in this field it shows the proper input name: data[XYZ][blah], but after i submit the form, xyz turns into 0, blah turns into 0. so i get an error in the controller when i try to reference it $this->data['XYZ']['blah']. anyone ever experience this :( |
# |
Sep 11th 2009, 20:55 |
FMC |
Ok, I asked too quickly... |
# |
Sep 11th 2009, 20:54 |
FMC |
Can I call $this->set() in AppController.afterFilter() ? 'Cause it doesn't work |
# |
Sep 11th 2009, 20:53 |
FMC |
Hi |
# |
Sep 11th 2009, 20:44 |
wesley_unipac |
Thanks |
# |
Sep 11th 2009, 20:40 |
Hiall |
All |
# |
Sep 11th 2009, 20:37 |
wesley_unipac |
at httpd.conf |
# |
Sep 11th 2009, 20:37 |
wesley_unipac |
Hiall AllowOverride All or None? |
# |
Sep 11th 2009, 20:24 |
wesley_unipac |
ok |
# |
Sep 11th 2009, 20:23 |
Hiall |
not entirely sure on windows I'm affraid |
# |
Sep 11th 2009, 20:22 |
wesley_unipac |
httpd.conf? |
# |
Sep 11th 2009, 20:22 |
wesley_unipac |
htdocs? |
# |
Sep 11th 2009, 20:22 |
wesley_unipac |
I'm Windows |
# |
Sep 11th 2009, 20:22 |
Hiall |
if your on a linux server |
# |
Sep 11th 2009, 20:22 |
Hiall |
/etc/apache2/sites-available |
# |
Sep 11th 2009, 20:21 |
Hiall |
you should edit the specific file within sites-available then |
# |
Sep 11th 2009, 20:19 |
wesley_unipac |
2.0.63 |
# |
Sep 11th 2009, 20:19 |
Hiall |
wenzel, which version of apache are you using |
# |
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 |