Log message #2300944

# At Username Text
# Sep 22nd 2011, 21:37 Vaidotas no
# Sep 22nd 2011, 21:36 cpgo you want both the name and value to be the same?
# Sep 22nd 2011, 21:36 Vaidotas you understand what i mean? :)
# Sep 22nd 2011, 21:36 Vaidotas but i need to get field "question"
# Sep 22nd 2011, 21:36 Vaidotas instead of TEXT i get ID
# Sep 22nd 2011, 21:36 Vaidotas <select><option> TEXT</option>
# Sep 22nd 2011, 21:36 cpgo input*
# Sep 22nd 2011, 21:36 cpgo field('name', array('selected' => 'the_value_you_want_selected');
# Sep 22nd 2011, 21:35 cpgo and you want to set the selected option
# Sep 22nd 2011, 21:35 Vaidotas yes
# Sep 22nd 2011, 21:35 cpgo Vaidotas, are you talking about a select element?
# Sep 22nd 2011, 21:28 Vaidotas its not title or name
# Sep 22nd 2011, 21:28 Vaidotas how to set which field of options to show?
# Sep 22nd 2011, 21:27 Vaidotas i have input with options
# Sep 22nd 2011, 21:14 NoReGreT how can I disable the "invalid login" flash message in login() ? the thing is taht i'm checking in login() if a user is already logged in, if he's logged in then flash a message, without any flash error message...any ideas ?
# Sep 22nd 2011, 21:05 Kanibal *uses
# Sep 22nd 2011, 21:05 Kanibal There was an empty var $users = array(); in my AppController
# Sep 22nd 2011, 21:04 Kanibal But it seems I fixed the problem
# Sep 22nd 2011, 21:04 Kanibal yup.
# Sep 22nd 2011, 21:04 TooMuchCaffeine did you bake models?
# Sep 22nd 2011, 21:02 Kanibal Fatal error: Call to undefined method stdClass::find() in /mnt/hgfs/htdocs/project1/cake/libs/controller/controller.php on line 1204
# Sep 22nd 2011, 21:02 TooMuchCaffeine stack trace*
# Sep 22nd 2011, 21:01 TooMuchCaffeine what's the stack?
# Sep 22nd 2011, 21:01 Kanibal *some
# Sep 22nd 2011, 21:01 Kanibal Notice (8): Undefined property: stdClass::$alias [CORE/cake/libs/controller/controller.php, line 1107]
# Sep 22nd 2011, 21:01 Kanibal Hey! I just baked same fresh cake... but now my new controller throws some php-errors... anybody experienced similar problems?
# Sep 22nd 2011, 20:55 scoutmstershke blah
# Sep 22nd 2011, 20:50 scoutmstershke short tags aren't good practice
# Sep 22nd 2011, 20:49 TehTreag EtRiGaN: http://schlueters.de/blog/archives/156-Improvements-for-PHP-application-portability-in-PHP.next.html
# Sep 22nd 2011, 20:47 TehTreag <?= ?> will work without short tags being enabled.
# Sep 22nd 2011, 20:47 NoReGreT how can I disable the "invalid login" flash message in login() ? the thing is taht i'm checking in login() if a user is already logged in, if he's logged in then flash a message, without any invalid login. I'm checking that logic in login()...any ideas ?
# Sep 22nd 2011, 20:46 oronoa ok thx's for the tips guys
# Sep 22nd 2011, 20:46 EtRiGaN O
# Sep 22nd 2011, 20:46 TehTreag It's coming back... check the latest version of PHP.
# Sep 22nd 2011, 20:46 EtRiGaN $
# Sep 22nd 2011, 20:46 EtRiGaN thats why i said "it was"
# Sep 22nd 2011, 20:45 TehTreag EtRiGaN: I never use short tags... no errors/warnings when shorttags are disabled.
# Sep 22nd 2011, 20:45 TehTreag ~shorttags
# Sep 22nd 2011, 20:45 TehTreag ~tell EtRiGaN about shorttaggs
# Sep 22nd 2011, 20:45 EtRiGaN its was nice to write <?=$value;?> xD
# Sep 22nd 2011, 20:44 EtRiGaN its was nice to write <