I've found what I've been doing wrong.
My files were named with .yaml extension and doctrine didn't recognize
them, it must be .yml
Thanks everybody!
On Jul 6, 12:04 pm, Elton Saheki wrote:
> I have two yaml files on ./jobeet/data/fixtures/
>
> # data/fixtures/categories.yml
> JobeetCategory:
>
I have two yaml files on ./jobeet/data/fixtures/
# data/fixtures/categories.yml
JobeetCategory:
design:
name: Design
programming:
name: Programming
manager:
name: Manager
administrator:
name: Administrator
# data/fixtures/jobs.yml
JobeetJob:
job_sensio_labs:
JobeetCa
Maybe you have no fixtures in the required directory, can you post the
content of directory where the fixtures are and sample fixture
content.
gabriel
On Jul 6, 4:43 pm, Elton Saheki wrote:
> No success,
>
> I tried to clear all caches, and did:
>
> $ php symfony doctrine:build --all --and-lo
No success,
I tried to clear all caches, and did:
$ php symfony doctrine:build --all --and-load
It created the tables but didn't fill it with fixture data.
Using 127.0.0.1 gives me the same result, and with password 'pass', it
can't connect to my database:
PDO Connection Error: SQLSTATE[28000]
Hello Elton
Try using 127.0.0.1 instead of localhost and for your pwd password: 'pass'
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
T
It returns:
>> doctrine Loading data fixtures from
>> "/Users/esaheki/Sites/jobeet/data/fixtures"
>> doctrine Data was successfully loaded
# config/databases.yml
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=jobeet'
username: root