Re: baking 1.3.0 problems?

2010-06-02 Thread berryma4


apply this diff

http://cakephp.lighthouseapp.com/projects/42648/tickets/771-wrong-core-path-in-templatephp



On May 28, 5:07 am, BJ  wrote:
> For the more dense... which folder to where :-S
>
> On May 26, 9:12 am, Ben Mosher  wrote:
>
>
>
> > Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.
>
> > On May 25, 3:53 pm, CrotchFrog  wrote:
>
> > > @invisibleman:
>
> > > Did you ever resolve this problem? I'm having the same issue.
>
> > > On Apr 27, 6:18 am, invisibleman  wrote:
>
> > > > i can't seem to bake my models, views or controllers in the stable of
> > > > cakephp 1.3.0 is anyone else having this problem?
>
> > > > It just seems to create empty files for me. For example if i have a
> > > > table called groups and i bake it it just creates an empty group.php
> > > > file for me even though i defined relationships and validation etc.
>
> > > > Can anyone help?
>
> > > > Check out the new CakePHP Questions 
> > > > sitehttp://cakeqs.organdhelpotherswith 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 cake-php@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > cake-php+unsubscr...@googlegroups.com For more options, visit this 
> > > > group athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-28 Thread BJ
For the more dense... which folder to where :-S

On May 26, 9:12 am, Ben Mosher  wrote:
> Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.
>
> On May 25, 3:53 pm, CrotchFrog  wrote:
>
>
>
> > @invisibleman:
>
> > Did you ever resolve this problem? I'm having the same issue.
>
> > On Apr 27, 6:18 am, invisibleman  wrote:
>
> > > i can't seem to bake my models, views or controllers in the stable of
> > > cakephp 1.3.0 is anyone else having this problem?
>
> > > It just seems to create empty files for me. For example if i have a
> > > table called groups and i bake it it just creates an empty group.php
> > > file for me even though i defined relationships and validation etc.
>
> > > Can anyone help?
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers 
> > > 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 cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > > athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread Evangelos
worked for me too. thanks! is this a bug?

On May 26, 5:37 am, Ed Propsner  wrote:
> Worked for me too, thanks Ben. That was an easy fix.
>
> On Tue, May 25, 2010 at 7:12 PM, Ben Mosher  wrote:
> > Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.
>
> > On May 25, 3:53 pm, CrotchFrog  wrote:
> > > @invisibleman:
>
> > > Did you ever resolve this problem? I'm having the same issue.
>
> > > On Apr 27, 6:18 am, invisibleman  wrote:
>
> > > > i can't seem to bake my models, views or controllers in the stable of
> > > > cakephp 1.3.0 is anyone else having this problem?
>
> > > > It just seems to create empty files for me. For example if i have a
> > > > table called groups and i bake it it just creates an empty group.php
> > > > file for me even though i defined relationships and validation etc.
>
> > > > Can anyone help?
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers
> > 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 cake-php@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > cake-php+unsubscr...@googlegroups.comFor
> > > >  more options, visit this group athttp://
> > groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.comFor
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread Ed Propsner
Worked for me too, thanks Ben. That was an easy fix.

On Tue, May 25, 2010 at 7:12 PM, Ben Mosher  wrote:

> Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.
>
> On May 25, 3:53 pm, CrotchFrog  wrote:
> > @invisibleman:
> >
> > Did you ever resolve this problem? I'm having the same issue.
> >
> > On Apr 27, 6:18 am, invisibleman  wrote:
> >
> > > i can't seem to bake my models, views or controllers in the stable of
> > > cakephp 1.3.0 is anyone else having this problem?
> >
> > > It just seems to create empty files for me. For example if i have a
> > > table called groups and i bake it it just creates an empty group.php
> > > file for me even though i defined relationships and validation etc.
> >
> > > Can anyone help?
> >
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.comFor
> > >  more options, visit this group athttp://
> groups.google.com/group/cake-php?hl=en
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread Ben Mosher
Fixed. Move 'templates' folder up into 'libs'. Or copy. Worked for me.

On May 25, 3:53 pm, CrotchFrog  wrote:
> @invisibleman:
>
> Did you ever resolve this problem? I'm having the same issue.
>
> On Apr 27, 6:18 am, invisibleman  wrote:
>
> > i can't seem to bake my models, views or controllers in the stable of
> > cakephp 1.3.0 is anyone else having this problem?
>
> > It just seems to create empty files for me. For example if i have a
> > table called groups and i bake it it just creates an empty group.php
> > file for me even though i defined relationships and validation etc.
>
> > Can anyone help?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread Ben Mosher
Same problem for me as well. I didn't have 'libs' on my file path.

Seems like a Windows install might be the common denominator...

On May 25, 5:24 pm, Evangelos  wrote:
> Same problem here. I updated my app with 1.3.0 stable and the baking
> console is not working any more! Same errors as above. See image
> attached.
>
> http://www.screencast.com/users/Sarpidon/folders/Jing/media/b588b42c-...
>
> On May 25, 10:53 pm, CrotchFrog  wrote:
>
> > @invisibleman:
>
> > Did you ever resolve this problem? I'm having the same issue.
>
> > On Apr 27, 6:18 am, invisibleman  wrote:
>
> > > i can't seem to bake my models, views or controllers in the stable of
> > > cakephp 1.3.0 is anyone else having this problem?
>
> > > It just seems to create empty files for me. For example if i have a
> > > table called groups and i bake it it just creates an empty group.php
> > > file for me even though i defined relationships and validation etc.
>
> > > Can anyone help?
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers 
> > > 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 cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > > athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread Evangelos
Same problem here. I updated my app with 1.3.0 stable and the baking
console is not working any more! Same errors as above. See image
attached.

http://www.screencast.com/users/Sarpidon/folders/Jing/media/b588b42c-b65b-410d-a77a-e5e8ac76e9a8

On May 25, 10:53 pm, CrotchFrog  wrote:
> @invisibleman:
>
> Did you ever resolve this problem? I'm having the same issue.
>
> On Apr 27, 6:18 am, invisibleman  wrote:
>
> > i can't seem to bake my models, views or controllers in the stable of
> > cakephp 1.3.0 is anyone else having this problem?
>
> > It just seems to create empty files for me. For example if i have a
> > table called groups and i bake it it just creates an empty group.php
> > file for me even though i defined relationships and validation etc.
>
> > Can anyone help?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-25 Thread CrotchFrog
@invisibleman:

Did you ever resolve this problem? I'm having the same issue.

On Apr 27, 6:18 am, invisibleman  wrote:
> i can't seem to bake my models, views or controllers in the stable of
> cakephp 1.3.0 is anyone else having this problem?
>
> It just seems to create empty files for me. For example if i have a
> table called groups and i bake it it just creates an empty group.php
> file for me even though i defined relationships and validation etc.
>
> Can anyone help?
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-05-16 Thread Fran Iglesias
Hi,

El 27/04/2010, a las 12:18, invisibleman escribió:

> It just seems to create empty files for me. For example if i have a
> table called groups and i bake it it just creates an empty group.php
> file for me even though i defined relationships and validation etc.

I found a similar problem. The reason was that in my installation, the cake 
core folder was inside a path that contains a 'libs' folder. Such as:

/Users/frankie/Sites/libs/cake13/cake

Workaround: move cake folder to another place.

I've submitted a ticket with this issue 

http://cakephp.lighthouseapp.com/projects/42648/tickets/724-template-task-problems-when-cake-core-is-under-a-path-that-includes-a-libs-folder

---
Fran Iglesias 
http://cakephpilia.blogspot.com

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: baking 1.3.0 problems?

2010-04-27 Thread invisibleman
a bit more info for anyone who can help, the below just created an
empty post.php

---
You have more than one set of templates installed.
Please choose the template set you wish to use:
---
Which bake theme would you like to use? (1/0)
[1] >
PHP Notice:  Undefined offset:  0 in C:\www1\_libs\php\cake_1.3.0\cake
\console\l
ibs\tasks\template.php on line 183

Notice: Undefined offset:  0 in C:\www1\_libs\php\cake_1.3.0\cake
\console\libs\t
asks\template.php on line 183
PHP Notice:  Undefined offset:  1 in C:\www1\_libs\php\cake_1.3.0\cake
\console\l
ibs\tasks\template.php on line 184

Notice: Undefined offset:  1 in C:\www1\_libs\php\cake_1.3.0\cake
\console\libs\t
asks\template.php on line 184
Could not find template for model

Baking model class for Post...

Creating file c:\www1\_templates\mastercake\app\models\post.php
Wrote `c:\www1\_templates\mastercake\app\models\post.php`

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


baking 1.3.0 problems?

2010-04-27 Thread invisibleman
i can't seem to bake my models, views or controllers in the stable of
cakephp 1.3.0 is anyone else having this problem?

It just seems to create empty files for me. For example if i have a
table called groups and i bake it it just creates an empty group.php
file for me even though i defined relationships and validation etc.

Can anyone help?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en