Last time I saw something inexplicable like this it was because the user had 
created the file using textedit on a macintosh. Textedit is a mis-nomer in that 
it saves font and other info into the file that you do not see. What editor are 
you using? What os are you using? Are you sure the yml file is in the correct 
directory? There would not be a space in the file name would there?



________________________________
From: Tony Peng <tpen...@gmail.com>
To: symfony-users@googlegroups.com
Sent: Wed, May 26, 2010 7:30:27 PM
Subject: Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml  
problem

yes, the correct tables and fixtures are loaded when I drop the
database and execute symfony doctrine:build --all --and-
load --no-confirmation.

i've attached a screenshot of the error message.

Thanks!

On Wed, May 26, 2010 at 10:15 PM, comb <sa...@gmx.net> wrote:
> Are the tables created and the fixtures loaded if u drop the db by
> hand in phpmyadmin and then execute symfony doctrine:build --all --and-
> load --no-confirmation?
>
> You may provide the complete error-message...
>
> On 27 Mai, 03:59, Tony Peng <tpen...@gmail.com> wrote:
>> thanks for the responses guys, but neither of those solutions seem to work.
>>
>> checking my database with phpmyadmin shows that all the fixtures seem
>> to have loaded correctly so I don't think there would be anything
>> wrong with my databases.yml
>>
>>
>>
>> On Wed, May 26, 2010 at 9:49 PM, Garry Freemyer <garry...@pacbell.net> wrote:
>> > I think yml files need two spaces as indent on all lines. It appears that
>> > after the word doctrine, the lines have only one space as indent.
>> > Also, I note the trailing / in your url. That should not be there. It 
>> > should
>> > end in frontend_dev.php.
>> > If this solves it let me know which it was.
>> > ________________________________
>> > From: Tony Peng <tpen...@gmail.com>
>> > To: symfony-users@googlegroups.com
>> > Sent: Wed, May 26, 2010 6:32:04 PM
>> > Subject: [symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem
>>
>> > Hi all,
>>
>> > I'm new to Symfony and I'm going through the Jobeet tutorial v1.4 for
>> > Doctrine. I am currently stuck on Day 3. I've followed all the
>> > instructions on configuring the database and building models and
>> > modules; however, when I try to access
>> > "http://localhost:8080/frontend_dev.php/"; I receive the following
>> > error:
>>
>> > "Configuration "config/databases.yml" does not exist or is unreadable."
>>
>> > My config/databases.yml file looks like this:
>>
>> > all:
>> >   doctrine:
>> >     class: sfDoctrineDatabase
>> >     param:
>> >       dsn: 'mysql:host=localhost;dbname=jobeet'
>> >       username: root
>> >       password: mysecret
>>
>> > I can't seem to figure out what's wrong. Any help would be appreciated.
>>
>> > Thank you!
>>
>> > - Tony
>>
>> > --
>> > 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
>>
>> > --
>> > 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
>>
>> --
>> Tony Zhixiang Peng
>> Carnegie Mellon University '12
>> B.S. Information Systems
>> (973)-842-5571
>
> --
> 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
>

-- 
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

-- 
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