# |
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 |
# |
Sep 11th 2009, 06:17 |
crayfishuk |
I'm using the Auth component - and the browser just continually tries to go back the clients/become_user controller instead of staying at clients/index |
# |
Sep 11th 2009, 06:17 |
crayfishuk |
Having problems with changing a Session variable and then redirecting. Have seen a few articles saying it can't be done - but setFlash does it ok?? Can anyone see what's wrong with: http://pastebin.com/m664b19a4 |
# |
Sep 11th 2009, 06:15 |
learning_cak |
well im trying to do a multiple save but the data array returned after submitting the form is incorrect |
# |
Sep 11th 2009, 06:14 |
learning_cak |
ill just change it later |
# |
Sep 11th 2009, 06:14 |
learning_cak |
burzum its just for a test |
# |
Sep 11th 2009, 06:14 |
xurupita |
thanks cakebot :D |
# |
Sep 11th 2009, 06:13 |
burzum |
I dont get your problem. But your table based view is a few years behind the recent tech |
# |
Sep 11th 2009, 06:13 |
ADmad|away |
~tell xurupita about book mod rewrite |
# |
Sep 11th 2009, 06:12 |
xurupita |
i've mod_rewrite enabled but there is no css on index.php, what should i do? |
# |
Sep 11th 2009, 06:12 |
learning_cak |
burzum : thats not an error msg |
# |
Sep 11th 2009, 06:12 |
learning_cak |
$numSec is the number of OfferedSubject |
# |
Sep 11th 2009, 06:12 |
burzum |
"incorrect resulting data array" well this is not an error msg? |
# |
Sep 11th 2009, 06:12 |
learning_cak |
theres no error message, i just wanted to do a multiple save |
# |
Sep 11th 2009, 06:11 |
burzum |
learning_cak ive already told you to tell us the full error msg, it should show you a line number |
# |
Sep 11th 2009, 06:11 |
cakeguru |
learning_cak: what is $numSec |
# |
Sep 11th 2009, 06:07 |
learning_cak |
help me with this http://bin.cakephp.org/view/1033625499 incorrect resulting data array |
# |
Sep 11th 2009, 06:07 |
learning_cak |
hehe..but still i have a problem bout this: |
# |
Sep 11th 2009, 06:06 |
learning_cak |
yes.. thats why i dont do hands-on while reading..trying to skip the important part... |
# |
Sep 11th 2009, 06:06 |
Eggy_Blastoff |
as in MVC knowledge. |
# |
Sep 11th 2009, 06:06 |
cakeguru |
at your controller |