Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Pratik Mazumder
No Alex, I don't have tabs. These are white spaces only !!! On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit wrote: > You have tabs for idention, take whitespaces instead: > > all: > doctrine: > class: sfDoctrineDatabase > param: > dsn: 'mysql:host=localhost;dbname=CHCISDB' >

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Alexandre Salomé
Can be because of empty file. Building a non existing schema OK, add a simple definition to your schema before continuing tests --- Alexandre Salomé - http://alexandre-salome.fr Le 16 nov. 2010 12:49, "Pratik Mazumder" a écrit : schema.yml definition? But that's an empty file till now. I am

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Pratik Mazumder
schema.yml definition? But that's an empty file till now. I am trying to make the same with php symfony doctrine:build-schema On Tue, Nov 16, 2010 at 5:12 PM, Alexandre Salomé < alexandre.sal...@gmail.com> wrote: > I also noticed that doctrine: is indented with 3 spaces. Fix it to two. > > Still

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Alexandre Salomé
I also noticed that doctrine: is indented with 3 spaces. Fix it to two. Still the same error ? It can come from your schema.yml definition. Triple check your indentation, and copy your schema to us. 2010/11/16 Pratik Mazumder > Hi Alexander > > Changed the indentions but still doesn't work :(

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Dominik Tuleweit
You have tabs for idention, take whitespaces instead: all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=CHCISDB' username: root password: null Am 16.11.2010 um 12:37 schrieb Pratik Mazumder: Hi Alexander Changed the indentions but

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Pratik Mazumder
Hi Alexander Changed the indentions but still doesn't work :( Pratik On Tue, Nov 16, 2010 at 4:57 PM, Alexandre Salomé < alexandre.sal...@gmail.com> wrote: > It's about indentation : > > all: >doctrine: > class: sfDoctrineDatabase > param: >dsn: 'mysql:host=localhost;dbnam

Re: [symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Alexandre Salomé
It's about indentation : all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=CHCISDB' username: root password: null 2010/11/16 Pratik > Hi > > I am new to symfony. I have a database created in mysql. While trying > to build the sc

[symfony-users] Problem with doctrine:build-schema

2010-11-16 Thread Pratik
Hi I am new to symfony. I have a database created in mysql. While trying to build the schema.yml by running php symfony doctrine:build-schema I get the following error: >>doctrine generating yaml schema from database Missing class name. The content of the databases.yml is: all: doctrine