I think its not connecting to my 'blog' database

On Wed, Apr 6, 2011 at 9:37 PM, prasad gaddai <[email protected]> wrote:

> Dr.Loboto,
>              sorry for troubling you all ,I checked all those my
> app/model/post.php is lowercased and no space.
>              And class is Post that extending AppModel class and changed
> '$blog' to 'blog'
>
>
> On Wed, Apr 6, 2011 at 9:03 AM, Dr. Loboto <[email protected]> wrote:
>
>> Confirm that file you edit is named app/model/post.php (strictly
>> lowercased, no spaces)
>> Confirm that class name in that file is Post (and nothing else) and
>> extends AppModel class
>>
>> Your problem now after '$blog' to 'blog' fix is that model is not
>> loaded.
>>
>> On Apr 6, 1:06 am, prasad gaddai <[email protected]> wrote:
>> > yeah i did the same as you said ,i did'nt keep the '$'
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Apr 5, 2011 at 10:23 PM, cricket <[email protected]>
>> wrote:
>> > > On Tue, Apr 5, 2011 at 9:09 AM, prasad gaddai <[email protected]>
>> wrote:
>> > > > hey ,
>> > > >     I am sorry for late reply ,yeah i tried this but its taking the
>> > > default
>> > > > database properties(
>> > > >     in which i have created tables for users ,groups models for
>> other
>> > > issue.
>> > > > Its showing those but not my actuall table
>> > > >     which was in blog database
>> >
>> > > You're still not looking closely enough.
>> >
>> > > bad:
>> > > $useDbConfig = '$blog';
>> >
>> > > good:
>> > > $useDbConfig = 'blog';
>> >
>> > > --
>> > > Our newest site for the community: CakePHP Video Tutorials
>> > >http://tv.cakephp.org
>> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
>> > > others with their CakePHP related questions.
>> >
>> > > To unsubscribe from this group, send email to
>> > > [email protected] For more options, visit this
>> group
>> > > athttp://groups.google.com/group/cake-php
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> [email protected] For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to