upgrade from 1.2 beta to 1.2RC3

2008-12-08 Thread JermWorm
In my continuing effort to upgrade an app that is working on a early 1.2 beta of Cake I've now encountered another issue with the $form helper. I have a file called detform.ctp which has a number of fields which is included use php's require in a number of different 'parent' forms. If I use

Re: upgrade from 1.2 beta to 1.2RC3

2008-12-08 Thread JermWorm
Just a followup I moved the subform to an element and chaged require to a echo $this- element('mysubform') results - exactly the same problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: upgrade from 1.2 beta to 1.2RC3

2008-12-08 Thread JermWorm
Can't see a spelling error but there is a field with the same name as the model i.e. following the above example Table.Table in real life Practice.Practice where the field 'Practice' is the name of the Practice, considering the automagic with lists I'm guessing this might be my problem, however

Re: Ajax and Sessions

2008-12-08 Thread JermWorm
Hmm, no one else having/had this problem? In the meantime I've added the following to force a session start in my beforeFilter: if (isset($_POST[CAKE_SESSION_COOKIE])) { session_name(CAKE_SESSION_COOKIE); session_id($_POST[CAKE_SESSION_COOKIE]); }

Ajax and Sessions

2008-12-07 Thread JermWorm
I'm trying to upgrade and app from an older beta of cake to RC3. In my app_controller, I have a before filter that checks whether the user is logged in via a session variable, but in the course of debugging I've noticed that the session variable isn't there(i.e. session not started?) when ajax