Log message #1031393

# At Username Text
# Sep 11th 2009, 08:10 markstory Miika--: well that has nothing to do with date errors.
# Sep 11th 2009, 08:09 Miika-- markstory: and i have this line on my php.ini error_reporting = E_ALL and ~E_DEPRECATED
# Sep 11th 2009, 08:08 markstory does it involve me doing more work?
# Sep 11th 2009, 08:08 rchavik markstory: hi mark, i have an idea that i want to discuss with you.. can i pm you?
# Sep 11th 2009, 08:08 markstory csiegert: constants are faster
# Sep 11th 2009, 08:07 davidebenini this doesn't work
# Sep 11th 2009, 08:07 Miika-- markstory: yes, im running 5.3.0
# Sep 11th 2009, 08:07 davidebenini $page_conditions = array('Company.name like'=> urlencode("%".$this->data['Company']['name'].'%');
# Sep 11th 2009, 08:07 csiegert What is to prefer for values that never change: constants or Configure?
# Sep 11th 2009, 08:07 davidebenini been experinmenting wit urlencoding conditions
# Sep 11th 2009, 08:07 davidebenini back
# Sep 11th 2009, 08:07 Gothfunc lo
# Sep 11th 2009, 08:07 markstory there is a setting in core.php in the 1.2.5 package/checkout for this as well.
# Sep 11th 2009, 08:07 markstory you are running 5.3 and don't have your ini file setup properly.
# Sep 11th 2009, 08:06 Add- Miika--: cake is picking up on a bad setting in your php install (i think), you should try looking there first
# Sep 11th 2009, 08:03 Miika-- -web
# Sep 11th 2009, 08:03 Miika-- I haven't written any code yet, that's in CakePHP... I just unzippded the CakePHP to my web folder
# Sep 11th 2009, 08:01 TehTreag Miika--: I'd chase down where that timezone is specified and resolve the issue as recommended in the warning. php.ini, httpd environment, somewhere.
# Sep 11th 2009, 07:59 TehTreag hmvrulz: That's the default behavior, provided I understand correctly. Have you tried it?
# Sep 11th 2009, 07:59 Miika-- can anyone help me with this?
# Sep 11th 2009, 07:59 Add- and if you call debug($Model->data) in the behavior it shows the modification was done correctly..
# Sep 11th 2009, 07:58 Add- it saves fine but with {name} in there instead of the real name
# Sep 11th 2009, 07:58 Add- nor me :(
# Sep 11th 2009, 07:58 Miika-- i just unzipped my first cake and i get this http://pastie.org/613510
# Sep 11th 2009, 07:58 rchavik Add-: sorry.. can't see anything wrong with it..
# Sep 11th 2009, 07:57 Miika-- hello
# Sep 11th 2009, 07:53 Add- rchavik: that's sort of a hack, i'm using model::saveall to automagic the association and it will only save if the form is in the structure [News][x][...]
# Sep 11th 2009, 07:52 hmvrulz ya i hav gone through tutorials .. in that example they hav redirected the afterlogin page to post add i wanted to do it to the action from whr it was redirected
# Sep 11th 2009, 07:50 rchavik Add-: you're only modifying the second record ?
# Sep 11th 2009, 07:49 TehTreag BlackIce: No problem.
# Sep 11th 2009, 07:49 BlackIce thanks TehTreag
# Sep 11th 2009, 07:48 BlackIce oh yeah, good idea
# Sep 11th 2009, 07:48 BlackIce well, it's because models have a save callback
# Sep 11th 2009, 07:48 TehTreag BlackIce: I think there is a behavior in the bakery that attempts to do logging for you too. Maybe, that's a good place to start looking.
# Sep 11th 2009, 07:47 TehTreag BlackIce: Shouldn't that be under the control of the controller, not the model? Why would the 'SalesTicket' model be concerned with the logging of the url?
# Sep 11th 2009, 07:47 BlackIce but I'd rather have the controller and actions as AppController has them
# Sep 11th 2009, 07:47 BlackIce I could just log the referer and the URL
# Sep 11th 2009, 07:46 BlackIce TehTreag: I'd like to log all save actions
# Sep 11th 2009, 07:46 TehTreag BlackIce: There shouldn't be a need... but you can pass it from the call (in the controller.) :)
# Sep 11th 2009, 07:46 Add- can anyone help?
# Sep 11th 2009, 07:46 rchavik davidebenini: you'll need to escape it when you construct the url