Thanks,

That fixed those errors.  Now I'm getting a php.exe application error:

The instruction at "0x024c93a2" referenced memory at "0xf4a6f3ac". The
memory could not be read.

This happens on all bake functions.  The console then has the message:
"Error in my_thread_global_end(): 2 threads didn't exist.

Any ideas?

Thanks.

On Feb 21, 12:32 pm, "Steve W" <[EMAIL PROTECTED]> wrote:
> I had the same problem usingbake.php from 1.1.x.x/SVN.
>
> I discovered that Model.php wasn't being included and I added the
> following at line 131:
>
> require_once (CORE_PATH.'cake'.DS.'libs'.DS.'model'.DS.'model.php');
>
> On 21 Feb, 17:06, "Michael Gartner" <[EMAIL PROTECTED]> wrote:
>
> > I have the latest nightly build and I also get thiserrorwhen baking
> > a model.
>
> > Myerrorreads:
> > Fatalerror: Class 'Model' not found in C:\Program Files\xampp\cake
> > \cake\scripts\bake.php on line 437
>
> > and when I try andbakea controller named "Student":
>
> > Fatalerror: Class 'Student' not found in C:\Program Files\xampp\cake
> > \cake\scripts\bake.php on line 1413
>
> > Thebakein 1.1.13.4450 works fine for me, but not in 1.2.0.4451alpha.
>
> > I'm using xampp on XP Pro Sp2.
>
> > On Feb 11, 10:15 am, "biesbjerg" <[EMAIL PROTECTED]> wrote:
>
> > > Get the nightly build athttp://cakephp.org/downloads/index/nightly/
> > > 1.2.x.x
>
> > > The bug has been fixed there.
>
> > > On Feb 11, 4:33 am, "Jeffrey" <[EMAIL PROTECTED]> wrote:
>
> > > > What would cause thiserrorwhen trying to usebaketo create a new
> > > > model?
>
> > > > Fatalerror: Class 'Model' not found in /Users/jeffreystevison/Sites/
> > > > cake/cake/scripts/bake.php on line 435


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to