temporary tables in cake.

2009-05-28 Thread MalContented
Hi, I am trying to use temporary tables for some data manipulation but they don't seem to work... Consider this simplified code: $sql = 'create temporary table t_hold select * from hold'; $result = $model->query ( $sql ); // This returns true $sql = 'select * from t_hold'; $result = $model->que

Database column level processing

2009-04-30 Thread MalContented
I need a way to process specific database columns when they are read from or saved to the database. Specifically, we need to format dates to a local formatting when read and format them to database format when saved. The only way I can see is to hook in to beforeSave and afterFind but those hooks

Re: Auth component not working in 1.2.1.8004

2009-03-16 Thread MalContented
;m having the same problem as you guys, and I can't figure out how to > > get my logins to work. IGH!!! > > Yes, that's the only place in which to put routing info. Correct! I removed all the routes I have added and have used absolute paths wherever. > > > On Fe

Re: Problem with cascade deleting in cake_1.2.1.8004.

2009-03-05 Thread MalContented
Can nobody help me with this? My workaround requires me to alter the cake code to get the app working, which is not a good idea. Thanks, Mal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to

Problem with cascade deleting in cake_1.2.1.8004.

2009-02-24 Thread MalContented
I have a HABTM relationship and when I delete the main row, only the 1st related row gets deleted and the delete fails. The problem seems to be in the model::exists() function after calling from the start of the model::del() function (line 1671). The 1st time __exists is not set and reset is fal

Re: Auth component not working in 1.2.1.8004

2009-02-04 Thread MalContented
I don't think so, I have the following 2 lines in routes.php Router::connect('/login', array('controller' => 'user', 'action' => 'login')); Router::connect('/logout', array('controller' => 'user', 'action' => 'logout')); For 1.2.0.7962 the auth component startup function evaluates both $url and

Auth component not working in 1.2.1.8004

2009-02-02 Thread MalContented
I have an application build with cake 1.2.0.7962 and implementing the simple authentication detailed in the online manual. I just upgraded to 1.2.1.8004 and now can no longer log in. No messages are displayed and 40 dots are displayed in the password box (the length of the password string) when th