Hi, No the field 'content' is only on the page_i18n table. (I put a selection of my schema.yml) in the first post. What confuses me is that it's working fine for other tables (such as news and news_i18n) which are quite similar !
Julien On Oct 1, 11:28 pm, "Jonathan Busby" <[EMAIL PROTECTED]> wrote: > I believe this may be due to the i8n settings - although having never > built an international app I wouldn't know. > > Have you got the 'content' field in both the page table and the page_i8n > table? > > On 10/1/08, julien Bessiere <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I'm generating the backend for my web site. > > It worked pretty well for some modules, but I'm having trouble with another > > one. > > I don't understand what's going on and I can't see real differences with > > other module... > > > the command: > > $ symfony propel-init-admin backend page Page > >>> dir+ /var/www/htdocs/bear_test/apps/backend/modules/page/actions > >>> file+ > > /var/www/htdocs/bear_test/apps/.../page/actions/actions.class.php > >>> dir+ /var/www/htdocs/bear_test/apps/backend/modules/page/config > >>> file+ > > /var/www/htdocs/bear_test/apps/...dules/page/config/generator.yml > >>> tokens > > /var/www/htdocs/bear_test/apps/.../page/actions/actions.class.php > >>> tokens > > /var/www/htdocs/bear_test/apps/...dules/page/config/generator.yml > > >http://localhost/bear_test/backend_dev.php/pagegives me : > > *Fatal error*: Cannot redeclare BasePage::getContent() in * > > /var/www/htdocs/bear_test/lib/model/om/BasePage.php* on line *577* > > > the schema.yml > > ... > > page: > > id: > > filename: varchar(100) > > > page_i18n: > > id: > > content: longvarchar > > page_id: > > ... > > > The field "content" was named "Text" before, I tried to change the name, but > > in vain ! > > > thanks for your advice > > > Julien > > -- > Sent from Google Mail for mobile | mobile.google.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---