You are welcome :) but my issue was not with the data controller, but
whether or not the following is defined in your model?
[code snippet]
//this is from my latest schema snapshot
var $data = array(
'id' => array('type' => 'integer', 'null' => false, 'default' =>
NULL, 'key' => 'primary'),
[/code snippet]
If it is, then the var $data conflicts with the models definition.
Please check it out, enjoy,
John
On Jan 15, 11:08 am, MrDevin <[email protected]> wrote:
> @john thanks
>
> I tried making data_controller ====> dataaa_controller and changing
> all references to it but sadly no luck still the exact same problem.
>
> On Jan 15, 10:00 am, MrDevin <[email protected]> wrote:
>
> > BTW tried changing my data_controller name and it made no difference I
> > still get the same error
>
> > Fatal error: Call to a member function getColumnType() on a non-object
> > in /cake/libs/model/model.php on line 950
>
> > On Jan 14, 9:39 pm, scs <[email protected]> wrote:
>
> > > the getColumnType() is making me think there is something with the
> > > data and either your model or your database. can you show us both your
> > > model and database scheme for this table?
>
[snip]
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en