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 <esah...@gmail.com> wrote:
> 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:
>     JobeetCategory: programming
>     type:         full-time
>     company:      Sensio Labs
>     logo:         sensio-labs.gif
>     url:          http://www.sensiolabs.com/
>     position:     Web Developer
>     location:     Paris, France
>     description:  |
>       You've already developed websites with symfony and you want to
> work
>       with Open-Source technologies. You have a minimum of 3 years
>       experience in web development with PHP or Java and you wish to
>       participate to development of Web 2.0 sites using the best
>       frameworks available.
>     how_to_apply: |
>       Send your resume to fabien.potencier [at] sensio.com
>     is_public:    true
>     is_activated: true
>     token:        job_sensio_labs
>     email:        j...@example.com
>     expires_at:   '2010-10-10'
>
>   job_extreme_sensio:
>     JobeetCategory:  design
>     type:         part-time
>     company:      Extreme Sensio
>     logo:         extreme-sensio.gif
>     url:          http://www.extreme-sensio.com/
>     position:     Web Designer
>     location:     Paris, France
>     description:  |
>       Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
>       eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
>       enim ad minim veniam, quis nostrud exercitation ullamco laboris
>       nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
>       in reprehenderit in.
>
>       Voluptate velit esse cillum dolore eu fugiat nulla pariatur.
>       Excepteur sint occaecat cupidatat non proident, sunt in culpa
>       qui officia deserunt mollit anim id est laborum.
>     how_to_apply: |
>       Send your resume to fabien.potencier [at] sensio.com
>     is_public:    true
>     is_activated: true
>     token:        job_extreme_sensio
>     email:        j...@example.com
>     expires_at:   '2010-10-10'
>
> On Jul 6, 11:00 am, pghoratiu <pghora...@gmail.com> wrote:
>
>
>
> > 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 <esah...@gmail.com> wrote:
>
> > > 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] [1045] Access denied for user
> > > 'root'@'localhost' (using password: YES)
>
> > > On Jul 6, 9:58 am, Ricardo Jose Guzman Milanes
>
> > > <guzman.ricardoj...@gmail.com> wrote:
> > > > 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.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to