Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-20 Thread Haris Fauzi
On 20 April 2011 17:15, voidpointer  wrote:

> Hello again and sorry for this.
>
> I have installed symfony-1.4.11
>
> I have come across some stuff in the day  3 tutorial about modifying
> or creating (it's not made clear) class declarations for
> JobeetCategory,  JobeetJob and JobeetAffiliate. The comments indicate
> these to be at lib/model. They are not. Do I have to create them
> there?
>
They should be generated. It's mentioned in day 3:
"Run the doctrine:build --all --and-load task to make sure everything is
generated from your schema. This will generate your forms, filters, models,
drop your database and re-create it with all the tables."

The comments inside the code snippets say they are located inside
"lib/model/doctrine/" not "lib/model/". Read carefully.

>
> At lib/model/doctrine there are a number of files containing class
> declarations including the ones mentioned in the tutorial. Do I modify
> these then?
>
> Yes.

> Comments inside the files indicate that they have been auto-generated
> by the Doctrine ORM Framework. If I mod them, will they get
> overwritten at some point?
>
> No. The override will be done at base class inside
"lib/model/doctrine/base/" if you modify config/doctrine/schema.yml.

> What release is this tutorial aimed at? I have to say that I am
> running real short on time here and will find it hard to justify
> spending too much more trying to evaluate this package. Shame because
> I am seriously looking for a toolkit to replace a lot of older "hand
> built" sites.
>
> 1.4.*

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


Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
Oh dear,
Well of course! If you want to show that image then you must enclose it in
 tag. Why would you print the filename instead? Go on
to day 4, you will see the code to access the image file in the HTML way.
:-)

It will be printed like:


Regards,
Haris

On 20 April 2011 16:30, voidpointer  wrote:

>
>
> On Apr 20, 8:48 am, Haris Fauzi  wrote:
> > So what's the problem now? You said your web page looks like rubbish,
> that
> > was because you didn't have the images & stylesheets. Now you have them
> in
> > place, you should be able to have a better view of the display. Just
> > continue the tutorial and see what you get next. When you finish day 4
> then
> > you should see better presentation of the Jobeet.
> > FYI, the browser used in that tutorial is Safari, so don't expect to have
> > the same display of widgets (checkbox, combo box, etc) if you're using
> other
> > browser.
> >
> > Regards,
> > Haris
> >
> > On 20 April 2011 15:37, voidpointer  wrote:
> >
> >
> >
> > > On Apr 19, 3:39 pm, Haris Fauzi  wrote:
> > > > Well, you're getting close. At least now the CSS has been recognised,
> I
> > > > suppose.
> > > > Look at the HTML source and see what you're missing, e.g. if there's
> any
> > > IMG
> > > > SRC tag then try to locate the image directly from the browser (
> > >http://localhost:8080/images/logo.jpg,http://localhost:8080/images/lo..
> .,
> > > etc). See if the browser can
> > > > retrieve those files and make it can.
> >
> > > > Regards,
> > > > Haris
> >
> > > > On 19 April 2011 22:29, voidpointer 
> wrote:
> >
> > > > > Hmmm
> >
> > > > > Haris, did that but no significant change. There is a blue/grey
> > > > > background colour but that is the only change.
> >
> > > > > On Apr 19, 3:12 pm, voidpointer 
> wrote:
> > > > > > OK. Haris, will try that out. Thanks.
> >
> > > > > > Cheers - VP
> >
> > > > > > On Apr 19, 9:13 am, Haris Fauzi  wrote:
> >
> > > > > > > In day 4 there's a link to download the stylesheets and images
> used
> > > for
> > > > > > > Jobeet tutorial. Download and put them in the suggested
> > > directories.
> >
> > > > > > > Regards,
> > > > > > > Haris
> >
> > > > > > > On 18 April 2011 22:19, voidpointer <
> voidpoin...@rocketmail.com>
> > > > > wrote:
> >
> > > > > > > > Moi,
> >
> > > > > > > > I am trying to work through the jobeet tutorial. I have got
> to
> > > day 3
> > > > > > > > and try to use the url posted in the title.
> >
> > > > > > > > The layout is rubbish, there are no images etc. Here is a
> snippet
> > > > > from
> > > > > > > > the top of that page:
> >
> > > > > > > >  Transitional//EN"
> > > > > "http://
> > > > > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > > > > > http://www.w3.org/1999/xhtml"; xml:lang="en"
> > > lang="en">
> > > > > > > >  
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > > href="/css/
> > > > > > > > main.css" />
> > > > > > > >  

Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
So what's the problem now? You said your web page looks like rubbish, that
was because you didn't have the images & stylesheets. Now you have them in
place, you should be able to have a better view of the display. Just
continue the tutorial and see what you get next. When you finish day 4 then
you should see better presentation of the Jobeet.
FYI, the browser used in that tutorial is Safari, so don't expect to have
the same display of widgets (checkbox, combo box, etc) if you're using other
browser.

Regards,
Haris

On 20 April 2011 15:37, voidpointer  wrote:

>
>
> On Apr 19, 3:39 pm, Haris Fauzi  wrote:
> > Well, you're getting close. At least now the CSS has been recognised, I
> > suppose.
> > Look at the HTML source and see what you're missing, e.g. if there's any
> IMG
> > SRC tag then try to locate the image directly from the browser (
> http://localhost:8080/images/logo.jpg,http://localhost:8080/images/loader.gif,http://localhost:8080/images/bg-header.jpg,
> etc). See if the browser can
> > retrieve those files and make it can.
> >
> > Regards,
> > Haris
> >
> > On 19 April 2011 22:29, voidpointer  wrote:
> >
> > > Hmmm
> >
> > > Haris, did that but no significant change. There is a blue/grey
> > > background colour but that is the only change.
> >
> > > On Apr 19, 3:12 pm, voidpointer  wrote:
> > > > OK. Haris, will try that out. Thanks.
> >
> > > > Cheers - VP
> >
> > > > On Apr 19, 9:13 am, Haris Fauzi  wrote:
> >
> > > > > In day 4 there's a link to download the stylesheets and images used
> for
> > > > > Jobeet tutorial. Download and put them in the suggested
> directories.
> >
> > > > > Regards,
> > > > > Haris
> >
> > > > > On 18 April 2011 22:19, voidpointer 
> > > wrote:
> >
> > > > > > Moi,
> >
> > > > > > I am trying to work through the jobeet tutorial. I have got to
> day 3
> > > > > > and try to use the url posted in the title.
> >
> > > > > > The layout is rubbish, there are no images etc. Here is a snippet
> > > from
> > > > > > the top of that page:
> >
> > > > > >  > > "http://
> > > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > > > http://www.w3.org/1999/xhtml"; xml:lang="en"
> lang="en">
> > > > > >  
> > > > > >
> > > > > >
> > > > > >
> > > > > > href="/css/
> > > > > > main.css" />
> > > > > >  

Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
Well, you're getting close. At least now the CSS has been recognised, I
suppose.
Look at the HTML source and see what you're missing, e.g. if there's any IMG
SRC tag then try to locate the image directly from the browser (
http://localhost:8080/images/logo.jpg,
http://localhost:8080/images/loader.gif,
http://localhost:8080/images/bg-header.jpg, etc). See if the browser can
retrieve those files and make it can.

Regards,
Haris

On 19 April 2011 22:29, voidpointer  wrote:

> Hmmm
>
> Haris, did that but no significant change. There is a blue/grey
> background colour but that is the only change.
>
> On Apr 19, 3:12 pm, voidpointer  wrote:
> > OK. Haris, will try that out. Thanks.
> >
> > Cheers - VP
> >
> > On Apr 19, 9:13 am, Haris Fauzi  wrote:
> >
> > > In day 4 there's a link to download the stylesheets and images used for
> > > Jobeet tutorial. Download and put them in the suggested directories.
> >
> > > Regards,
> > > Haris
> >
> > > On 18 April 2011 22:19, voidpointer 
> wrote:
> >
> > > > Moi,
> >
> > > > I am trying to work through the jobeet tutorial. I have got to day 3
> > > > and try to use the url posted in the title.
> >
> > > > The layout is rubbish, there are no images etc. Here is a snippet
> from
> > > > the top of that page:
> >
> > > >  "http://
> > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
> > > >  
> > > >
> > > >
> > > >
> > > >
> > > >  

Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml problem

2010-05-27 Thread Garry Freemyer
Omg! I went through this same thing b/c the tutorial didn't mention to clear 
the cache. I am surprised I didn't remember the horror. I guess it caused some 
amnesia about ... what were we talking about?




From: Ben Bieker 
To: symfony-users@googlegroups.com
Sent: Thu, May 27, 2010 12:32:58 AM
Subject: Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml  
problem

Hi,

yeah maybe that was the problem that sth wrong was stuck in the cache. I'm
new to Symfony too but what I've learned so far is if sth goes wrong, clear
the cache first, if it goes wrong again, then you have a problem ;)

Most of the time you got to clear the cache when you have new classes for
example. But good that it works now :)

Greetings
Ben

On Thu, 27 May 2010 01:12:06 -0400, Tony Peng  wrote:
> I started the project over from scratch and I am no longer
> experiencing this problem.
> 
> The only thing I did differently was that I executed ./symfony cc
> before I created the module. Not sure if that was the problem, but
> thank you comb and Garry for your help.
> 

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


Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml problem

2010-05-27 Thread Ben Bieker
Hi,

yeah maybe that was the problem that sth wrong was stuck in the cache. I'm
new to Symfony too but what I've learned so far is if sth goes wrong, clear
the cache first, if it goes wrong again, then you have a problem ;)

Most of the time you got to clear the cache when you have new classes for
example. But good that it works now :)

Greetings
Ben

On Thu, 27 May 2010 01:12:06 -0400, Tony Peng  wrote:
> I started the project over from scratch and I am no longer
> experiencing this problem.
> 
> The only thing I did differently was that I executed ./symfony cc
> before I created the module. Not sure if that was the problem, but
> thank you comb and Garry for your help.
> 

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


Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml problem

2010-05-26 Thread Tony Peng
I started the project over from scratch and I am no longer
experiencing this problem.

The only thing I did differently was that I executed ./symfony cc
before I created the module. Not sure if that was the problem, but
thank you comb and Garry for your help.

On Wed, May 26, 2010 at 11:04 PM, Tony Peng  wrote:
> I am using Bluefish Editor on Ubuntu 10.04
>
> On Wed, May 26, 2010 at 10:52 PM, Garry Freemyer  wrote:
>> 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 
>> 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  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  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 
>>>> 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 
>>>> > 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, vi

Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml problem

2010-05-26 Thread Tony Peng
I am using Bluefish Editor on Ubuntu 10.04

On Wed, May 26, 2010 at 10:52 PM, Garry Freemyer  wrote:
> 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 
> 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  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  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 
>>> 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 
>>> > 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, 

Re: [symfony-users] Re: Jobeet Tutorial - Day 3 - databases.yml problem

2010-05-26 Thread Garry Freemyer
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 
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  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  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  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 
>> > 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 t

Re: [symfony-users] Re: Jobeet tutorial | Day 3 | doctrine:insert-sql

2010-05-12 Thread Kim Rowan

Hi Graham

Thanks for your response.  I have followed all the instructions to the
letter; my config/databases.yml file looks like this:

all:
  doctrine:
class: sfDoctrineDatabase
param:
  dsn: 'mysql:host=localhost;dbname:jobeet'
  username: root
  password: secret

I appreciate your help in trying to sort this out!  Is there anything else I
could check?

Kind regards

Kim





On 11/5/10 17:37, "grahamj42"  wrote:

> Did you follow the instructions under the subtitle "The Database" to
> create the schema and configure Symfony's config/databases.yml file
> with appropriate values for your database server? It looks to me as if
> this step failed. Symfony doesn't touch the database until the
> doctrine:insert-sql task.
> 
> --
> 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
> 




This communication is from Cancer Research UK. Our website is at 
www.cancerresearchuk.org. We are a charity registered under number 1089464 and 
a company limited by guarantee registered in England & Wales under number 
4325234. Our registered address is 61 Lincoln's Inn Fields, London WC2A 3PX. 
Our central telephone number is 020 7242 0200.
 
This communication and any attachments contain information which is 
confidential and may also be privileged.   It is for the exclusive use of the 
intended recipient(s).  If you are not the intended recipient(s) please note 
that any form of disclosure, distribution, copying or use of this communication 
or the information in it or in any attachments is strictly prohibited and may 
be unlawful.  If you have received this communication in error, please notify 
the sender and delete the email and destroy any copies of it.
 
E-mail communications cannot be guaranteed to be secure or error free, as 
information could be intercepted, corrupted, amended, lost, destroyed, arrive 
late or incomplete, or contain viruses.  We do not accept liability for any 
such matters or their consequences.  Anyone who communicates with us by e-mail 
is taken to accept the risks in doing so.

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


Re: [symfony-users] Re: Jobeet Tutorial

2010-03-10 Thread DEEPAK BHATIA
Thanks, it is working now :-)

On Thu, Mar 11, 2010 at 12:18 PM, Parijatha Kumar
wrote:

> Hi,
>
> Before you build the modules, you have to build the form classes
> first. That means before you issue your propel:generate-module
> command, you should issue propel:build-form command. That works for me
> with doctrine also. Thank you.
>
> -- Parijatha Kumar
>
> On Mar 11, 10:59 am, DEEPAK BHATIA  wrote:
> > Hi,
> >
> > I have created the jobeet tutorial but following command is failing
> >
> > php symfony propel:generate-module --with-show --non-verbose-templates
> > frontend job JobeetJob
> >
> > Error Message:-
> >
> > [?php use_stylesheets_for_form($form) ?]
> > [?php use_javascripts_for_form($form) ?]
> >
> > Fatal error: Class 'JobeetJobForm' not found in
> >
> /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.c
> lass.php
> > on line 331
> >
> > Best Regards
> >
> > Deepak Bhatia
>
>  --
> 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


Re: [symfony-users] Re: Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Trung Huynh
changing it to expired_job doesn't help neither. I have no clue what's going
on. I really want to go on with the tutorial, i like it so far.



On Mon, Mar 1, 2010 at 4:58 PM, Alexandru-Emil Lupu wrote:

> I think that on job_expired token is a typo. Try to chage it from
> 'job_expired' to 'expired_job' or so... i am mono tasking and i cannot copy
> paste what i think is the right key for the fixture...
> Alecs
>
> sent via htc magic
>
> On Mar 1, 2010 4:20 PM, "Trung Huynh"  wrote:
>
> gets me this :(
>
> >> doctrine  Loading data fixtures from
> "/Users/trung/Websites/jobeet/data/fixtures"
>
> Warning: strtotime() expects parameter 1 to be string, array given in /
> Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
> lib/vendor/doctrine/Doctrine/Record.php on line 1526
>
> Warning: strtotime() expects parameter 1 to be string, array given in /
> Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
> lib/vendor/doctrine/Doctrine/Record.php on line 1526
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
> Connection/Statement.php on line 252
>
> Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
> symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doct

Re: [symfony-users] Re: Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.

2010-03-01 Thread Alexandru-Emil Lupu
I think that on job_expired token is a typo. Try to chage it from
'job_expired' to 'expired_job' or so... i am mono tasking and i cannot copy
paste what i think is the right key for the fixture...
Alecs

sent via htc magic

On Mar 1, 2010 4:20 PM, "Trung Huynh"  wrote:

gets me this :(

>> doctrine  Loading data fixtures from
"/Users/trung/Websites/jobeet/data/fixtures"

Warning: strtotime() expects parameter 1 to be string, array given in /
Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Record.php on line 1526

Warning: strtotime() expects parameter 1 to be string, array given in /
Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Record.php on line 1526

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.php on line 252

Notice: Array to string conversion in /Users/trung/Websites/lib/vendor/
symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/
Connection/Statement.ph