Re: findById() does not work correctly after adding column to table in db

2010-08-17 Thread func0der
Sorry -.- I worked it out.
Wrong Database.



On 17 Aug., 16:43, Hashim Ikram  wrote:
> Set debug level to "1" in core.php,
> As far as it is 0 it will not take any change in database schema.
> Once it gives you result according to new schema set debug level as you
> want.
>
> Regards
> Hashim Ikram
>
> On Tue, Aug 17, 2010 at 6:45 PM, Andras Kende  wrote:
> > Try to clear the cache /tmp/cache/models
>
> > Andras Kende
> >http://www.kende.com
>
> > On Aug 17, 2010, at 6:32 AM, func0der wrote:
>
> > > Hey guys,
>
> > > i just wanted to change a controller of mine and added a new column to
> > > a table in the database.
> > > As far as i thought "findById()" gets the whole row out of the table
> > > but that isn't happening.
> > > Do i have to change anything in my controller, clear the cache or
> > > anything else?
>
> > > Greetings
> > > func0der
>
> > > 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 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: findById() does not work correctly after adding column to table in db

2010-08-17 Thread Hashim Ikram
Set debug level to "1" in core.php,
As far as it is 0 it will not take any change in database schema.
Once it gives you result according to new schema set debug level as you
want.

Regards
Hashim Ikram

On Tue, Aug 17, 2010 at 6:45 PM, Andras Kende  wrote:

> Try to clear the cache /tmp/cache/models
>
>
> Andras Kende
> http://www.kende.com
>
> On Aug 17, 2010, at 6:32 AM, func0der wrote:
>
> > Hey guys,
> >
> > i just wanted to change a controller of mine and added a new column to
> > a table in the database.
> > As far as i thought "findById()" gets the whole row out of the table
> > but that isn't happening.
> > Do i have to change anything in my controller, clear the cache or
> > anything else?
> >
> > Greetings
> > func0der
> >
> > 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.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: findById() does not work correctly after adding column to table in db

2010-08-17 Thread Andras Kende
Try to clear the cache /tmp/cache/models


Andras Kende
http://www.kende.com

On Aug 17, 2010, at 6:32 AM, func0der wrote:

> Hey guys,
> 
> i just wanted to change a controller of mine and added a new column to
> a table in the database.
> As far as i thought "findById()" gets the whole row out of the table
> but that isn't happening.
> Do i have to change anything in my controller, clear the cache or
> anything else?
> 
> Greetings
> func0der
> 
> 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

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


findById() does not work correctly after adding column to table in db

2010-08-17 Thread func0der
Hey guys,

i just wanted to change a controller of mine and added a new column to
a table in the database.
As far as i thought "findById()" gets the whole row out of the table
but that isn't happening.
Do i have to change anything in my controller, clear the cache or
anything else?

Greetings
func0der

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