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'
>
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
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
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 :(
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
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
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
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