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
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
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
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]);
}
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