I cleared the cache now. now the missing class error is gone.

But getting a new one.  I used db script manuallly to create tables in the
mysql database and then used the following sequence of commands to generate
php classes, as per the Symfony documentation.


   -
   - php symfony configure:database "mysql://login:pas...@localhost/ocms"
   - php symfony propel:build-schema
   - php symfony propel:build-model"
   - "symfony propel:build-forms"
   - symfony propel:generate-crud <<existing appln name>> <<to be module
   name>> <<database table class name>>"
   -

   php symfony clear-cache



Am i missing anything here? Here is the latest error i am getting.
500 | Internal Server Error | PropelException [wrapped: SQLSTATE[42S22]:
Column not found: 1054 Unknown column 'case_activities.ID' in 'field
list']Please
suggest me if am doing something wrong.

Thanks
Harinath


On Wed, Dec 17, 2008 at 1:20 PM, Ant Cunningham <
[email protected]> wrote:

>
> Did you clear the cache after you generated the model?
> Did you run propel:build-forms?
>
> harinath wrote:
> > Just to add those classes are actually available in project lib folder
> > (under forms or model).
> >
> > On Wed, Dec 17, 2008 at 1:12 PM, harinath <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     *Hi, I am getting errors while trying to access CRUD generated (used
> >     propel) web pages in my application that is using symfony.
> >
> >
> >     Fatal error*: Class 'CaseActivitiesPeer' not found in
> >
> *D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php*
> >     on line *15
> >
> >     in another machine i am getting missing error for the FORM classes
> >     as well.
> >
> >     *I think there is some path/dependency problem. could you please
> >     share me the fix/pointers.
> >
> >
> >     --
> >     Regards...
> >     Harinath
> >     http://harinath.in
> >     http://sosoft.org http://ocms.sosoft.org
> >     http://ciki.sosoft.org
> >
> >
> >
> >
> >
> > --
> > Regards...
> > Harinath
> > http://harinath.in
> > http://sosoft.org http://ocms.sosoft.org
> > http://ciki.sosoft.org
> >
> >
> >
> > >
>
>
> --
> Ant Cunningham
> Graphic Designer | Web Developer
> Vector Based Design
> [email protected]
>
> >
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to