The nighty build of 1.2.x and even 1.1.3.x have some real major
problems when it comes to bake.php I can' build a controller because
it is giving me a Cannot instantiate non-existent class error now.
On Mar 14, 3:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I've been having this error while trying to bake a controller
> on version 1.1.12.4205
>
> Fatal error:Cannotinstantiatenon-existentclass: healthsinfo in /
> Users/Rolando/Documents/working/yougotinsurance/cake/libs/model/
> model_php4.php on line 445
>
> these are the lines 444 and 445
> $this->{$assoc} =& new $className();
> $this->{$className} =& $this->{$assoc};
>
> I changed those to:
> eval('$this->{$assoc} =& new '.$className.'()');
> $this->{$className} =& $this->{$assoc};
>
> so i can bake controllers and views now
> but getting this parse errors
> Parse error: parse error in /Users/Rolando/Documents/working/
> yougotinsurance/cake/libs/model/model_php4.php(445) : eval()'d code on
> line 1
>
> I get the parse errors but im getting the files ok so if you just want
> this to work it will be ok.
> I've been having trouble baking with the latest stable release it is
> just me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---