# |
Sep 11th 2009, 06:39 |
crayfishuk |
You can use named params: i.e. www.acme.com/controller/action/fred:1/bert:abc etc |
# |
Sep 11th 2009, 06:38 |
crayfishuk |
... but it might be being intercepted by the Router. |
# |
Sep 11th 2009, 06:38 |
durin- |
i'm having a wierd issue where one of the parms in a url isn't being recognized, and its pushing everything over by 1 var |
# |
Sep 11th 2009, 06:38 |
durin- |
/ |
# |
Sep 11th 2009, 06:38 |
crayfishuk |
durin-: Nope. |
# |
Sep 11th 2009, 06:38 |
durin- |
is : an illegal character in a url? |
# |
Sep 11th 2009, 06:37 |
crayfishuk |
NoReGreT: Not the classic 'space after the ?> tag' then... that's a bugger too!! |
# |
Sep 11th 2009, 06:36 |
xurupita |
thank's guys! |
# |
Sep 11th 2009, 06:36 |
learning_cak |
OMG how can i solve this. |
# |
Sep 11th 2009, 06:35 |
burzum |
alkemann, just escape it and output it? |
# |
Sep 11th 2009, 06:35 |
crayfishuk |
Not explicitely - but maybe the Auth component is doing it? |
# |
Sep 11th 2009, 06:35 |
learning_cak |
crayfishuk: you have a redirect in your index()? |
# |
Sep 11th 2009, 06:34 |
xurupita |
i edited /etc/apache2/sites-available/default and that's ok! |
# |
Sep 11th 2009, 06:33 |
alkemann |
ie a preview |
# |
Sep 11th 2009, 06:33 |
alkemann |
bast / fastes awy to render an xml generated with XmlHelper in a html view? |
# |
Sep 11th 2009, 06:33 |
burzum |
this are the best bugs ;) |
# |
Sep 11th 2009, 06:33 |
burzum |
haha |
# |
Sep 11th 2009, 06:33 |
NoReGreT |
it's fixed, the reason was so damn silly, "<? php" instead of "<?php" :S |
# |
Sep 11th 2009, 06:32 |
learning_cak |
hitting submit again will have a correct resulting array but results to wierd view result on the Course multiple select |
# |
Sep 11th 2009, 06:31 |
learning_cak |
array from Course lacks 1 element and the selected will be in the array index - 1 |
# |
Sep 11th 2009, 06:29 |
learning_cak |
not necessarily have a course selected but when i chose 1 of the Course in the 3rd offered subject then hit submit, the resulting array is incorrect |
# |
Sep 11th 2009, 06:28 |
burzum |
you need to get the select then inside of each of the subjects |
# |
Sep 11th 2009, 06:27 |
learning_cak |
burzum, yes |
# |
Sep 11th 2009, 06:27 |
learning_cak |
yes |
# |
Sep 11th 2009, 06:25 |
burzum |
learning_cak im not sure, but you want to have a course selected in each of the subjects? |
# |
Sep 11th 2009, 06:24 |
crayfishuk |
app_controller beforeFilter http://bin.cakephp.org/view/807952324 |
# |
Sep 11th 2009, 06:24 |
learning_cak |
crayfishuk: how about your beforeFilter()? |
# |
Sep 11th 2009, 06:23 |
xurupita |
;S |
# |
Sep 11th 2009, 06:23 |
xurupita |
debian squeeze |
# |
Sep 11th 2009, 06:23 |
xurupita |
my httpd.conf is empty |
# |
Sep 11th 2009, 06:22 |
crayfishuk |
No - index is not a redirect |
# |
Sep 11th 2009, 06:22 |
crayfishuk |
Is it something to do with the Auth stuff... ? |
# |
Sep 11th 2009, 06:22 |
burzum |
crayfishuk is in index also a redirect? |
# |
Sep 11th 2009, 06:21 |
burzum |
crayfishuk, i dont see a problem in the code but i might miss something |
# |
Sep 11th 2009, 06:21 |
NoReGreT |
I understand the MVC and i'm having the issue http://pastebin.com/m4085c485 |
# |
Sep 11th 2009, 06:20 |
burzum |
crayfishuk, $this->redirect('/clients/index'); should use array syntax but thats not the reason for the problem |
# |
Sep 11th 2009, 06:20 |
learning_cak |
OfferedSubject HABTM Course |
# |
Sep 11th 2009, 06:19 |
crayfishuk |
burzum: Yup. |
# |
Sep 11th 2009, 06:19 |
learning_cak |
i wanted to save 4 OfferedSubject then chose one of the Course in the third OfferedSubject's Course multiple select |
# |
Sep 11th 2009, 06:19 |
burzum |
crayfishuk it sends you in an infinite redirect loop? |
# |
Sep 11th 2009, 06:18 |
learning_cak |
heres the resulting array look like http://bin.cakephp.org/view/867109301 |