[symfony-users] Re: Project Variables that are accessible by tasks

2009-02-03 Thread Lupu Alexandru-Emil
or to "include" the "cache\{app}\prod\config\sfconfig_file.yml.php" you need. another choice is to define into task function the defines present into {yourapp.php} i have used the first choice and it works ... Though... i have made a custom config file (see alPPGPlugin ) Alecs On Tue, Feb 3, 2009

[symfony-users] sfAssetsLibraryPlugin on Symfony 1.1

2009-02-03 Thread Sid Bachtiar
Hi, Does anyone know if sfAssetsLibraryPlugin will run fine on Symfony 1.1 with compat_10 on? -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony us

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-02-03 Thread Sumedh
Thanks Pablo...will look out for your mail on the group... @Lee...that sounds like a great deal... :) ...was it a special offer or just negotiation? :) On Feb 2, 10:03 pm, Pablo Godel wrote: > On Mon, Feb 2, 2009 at 1:36 AM, Sumedh wrote: > > > I saw some offerings about this on ThePlanet.com.

[symfony-users] Re: sfguard checks credentials before symfony checks if action is valid

2009-02-03 Thread James
I do agree, and this is really probably an question with the Symfony security model and not sfGuard, so you should probably post this on the developers list as it's more related to the design of symfony and not general use. James On Feb 3, 2009, at 1:25 PM, Iltar wrote: > > Here's my tho

[symfony-users] Re: a big problem for using propel addOR - Help Please

2009-02-03 Thread Ant Cunningham
Why try to write a massive query? Why not build the criteria dynamically? for example assume $reasons is an array of the reasons selected and that the the array consists of the field names (BasePeer::TYPE_FIELDNAME): $crits = array(); $c = new Criteria(); while($reason = array_shift($reasons

[symfony-users] a big problem for using propel addOR - Help Please

2009-02-03 Thread xhe
I have met a big problem, and really don't know how to solve it. The sql is select * from users where reason1="1" or reason2="1" or reason3="1" or reason4="1" It seemed easy, but when I start writing propel, I met a big problem. Ideally I should use: $c = new criteria(); $crit1 = $c->getNewCr

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Jonathan Wage
That is correct. We will try and release this asap. Probably tomorrow. Thanks, Jon On Tue, Feb 3, 2009 at 7:17 PM, Henrique Boaventura wrote: > > I'll need to wait until the next symfony version to update it from pear? > > Henrique Boaventura > hboavent...@gmail.com > http://www.hboaventura.com

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Henrique Boaventura
I'll need to wait until the next symfony version to update it from pear? Henrique Boaventura hboavent...@gmail.com http://www.hboaventura.com On Tue, Feb 3, 2009 at 19:56, Jonathan Wage wrote: > This is fixed in SVN: http://trac.symfony-project.org/ticket/5785 > > Thanks for the help and sorr

[symfony-users] Re: Grouping Embedded Forms for use in generator.yml

2009-02-03 Thread juro
Ahhh, couldn't see the forest due to all the trees. Works like a charm - thank you. juro On Feb 4, 1:58 am, Jonathan Wage wrote: > Create a dummy sfForm and embed all the forms in to that form. That way you > have them all grouped in to one embedded form. > > - Jon > > On Tue, Feb 3, 2009 at 5

[symfony-users] Re: Grouping Embedded Forms for use in generator.yml

2009-02-03 Thread Jonathan Wage
Create a dummy sfForm and embed all the forms in to that form. That way you have them all grouped in to one embedded form. - Jon On Tue, Feb 3, 2009 at 5:49 PM, juro wrote: > > Hi, > I am embedding a number of forms into a parent form. When using the > generator.yml to style the form, I would l

[symfony-users] Grouping Embedded Forms for use in generator.yml

2009-02-03 Thread juro
Hi, I am embedding a number of forms into a parent form. When using the generator.yml to style the form, I would like to be able to place this group wherever I need it. Any idea, how I can do this? juro --~--~-~--~~~---~--~~ You received this message because you a

[symfony-users] Re: $dsn not fully populated

2009-02-03 Thread Ant Cunningham
config/databases.yml slinky66 wrote: > Hello, > > I just created a data model from a schema. All went well - I see all > of the corresponding data object classes in lib/model, om/ etc. When I > try to access the site, I get > > [PropelException] > [wrapped: connect failed [Native Error: Access

[symfony-users] $dsn not fully populated

2009-02-03 Thread slinky66
Hello, I just created a data model from a schema. All went well - I see all of the corresponding data object classes in lib/model, om/ etc. When I try to access the site, I get [PropelException] [wrapped: connect failed [Native Error: Access denied for user 'www- data'@'localhost' (using passwor

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Jonathan Wage
This is fixed in SVN: http://trac.symfony-project.org/ticket/5785 Thanks for the help and sorry for the trouble. - Jon On Tue, Feb 3, 2009 at 3:48 PM, Jonathan Wage wrote: > I was having trouble reproducing this then I realized that it only happens > with admin generators that have filters for

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Jonathan Wage
I was having trouble reproducing this then I realized that it only happens with admin generators that have filters forms disabled. I will commit the fix to svn soon. - Jon On Tue, Feb 3, 2009 at 3:08 PM, Jonathan Wage wrote: > Sorry about this. It will be fixed in SVN shortly. > > - Jon > > >

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Jonathan Wage
Sorry about this. It will be fixed in SVN shortly. - Jon On Tue, Feb 3, 2009 at 3:04 PM, nerVo wrote: > > Same problem here. > All my backend is broken. > > Bernhard is right, getTableMethod() returns an empty string, and the > buildQuery() method of the action class try to use this empty strin

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread nerVo
Same problem here. All my backend is broken. Bernhard is right, getTableMethod() returns an empty string, and the buildQuery() method of the action class try to use this empty string to generate the query. At least, doctrine return a Doctrine_Record_Exception : "Unknown method [myModel]::TablePro

[symfony-users] Re: Problem with scope of autoloaded classes for components in a different module

2009-02-03 Thread isleshocky77
Kris, Of course I cleared the cache. Like I said it's where I place the class. I think it should be in the module with the component. But then the component won't work from any other module. -- Stephen Ostrow On Feb 3, 3:09 pm, Kris Wallsmith wrote: > I assume you've cleared the cache afte

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Bernhard Schussek
Hi, I had a similar problem with the Doctrine admin generator when I tried to upgrade to 1.2.3. I didn't fully investigate it, but I think it was something along those lines: The generated method getTableMethod() in the generator configuration returns an empty string if no method has been config

[symfony-users] Re: Jobeet Tutorial, Day 16, Propel edition

2009-02-03 Thread Kris Wallsmith
It looks like you have an error in your application's routing.yml file. Revisit that part of the tutorial and double check you've included a "class:" entry under the appropriate route. Kris -- Kris Wallsmith | Community Manager kris.wallsm...@symfony-project.com Portland, Oregon USA http://

[symfony-users] Re: Problem with scope of autoloaded classes for components in a different module

2009-02-03 Thread Kris Wallsmith
I assume you've cleared the cache after adding the file? -- Kris Wallsmith | Community Manager kris.wallsm...@symfony-project.com Portland, Oregon USA http://twitter.com/kriswallsmith On Feb 3, 2009, at 11:49 AM, isleshocky77 wrote: > > Just came across a problem with the auto-loading or acces

[symfony-users] Problem with scope of autoloaded classes for components in a different module

2009-02-03 Thread isleshocky77
Just came across a problem with the auto-loading or access of classes with components. The situation is a I have a Comment module, with a component called Add which is just a component with a form to add comments. So naturally I added the form class for this component to /apps/public/modules/com

[symfony-users] Jobeet Tutorial, Day 16, Propel edition

2009-02-03 Thread krassswr krasssswr
Hi. I start to follow jobeet tutorial and I'm now on 16-th day. When I try to get Web Service to work I get error and I don't know how to solve my problem. The testing file maked for testing web service trough day 16, when I start it it works ok only first run. After each successful test run I nee

[symfony-users] Re: Jobeet Tutorial, Day 3, Doctrine edition

2009-02-03 Thread Jonathan Wage
It was a mistake. You should actually be removing the web/sfPropelPlugin folder. - Jon On Tue, Jan 27, 2009 at 7:01 PM, Eno wrote: > > > When setting up the ORM plugin, can someone explain why do we need to > remove web/sfDOctrinePlugin folder? Its not really explained too well in > the tutoria

[symfony-users] Re: 1.2.3 upgrade problem

2009-02-03 Thread Jonathan Wage
Can you tell us the error you get? ;) - Jon On Mon, Feb 2, 2009 at 5:08 PM, Henrique Boaventura wrote: > > Yes, that one. > > Henrique Boaventura > hboavent...@gmail.com > http://www.hboaventura.com > > > > On Mon, Feb 2, 2009 at 20:55, Eno wrote: > > > > On Mon, 2 Feb 2009, Henrique Boaventura

[symfony-users] Re: Project Variables that are accessible by tasks

2009-02-03 Thread Thomas Rabaix
You have to add the param 'application' into your command line, and of your task should extends the sfBaseTask ( I think). On Tue, Feb 3, 2009 at 7:19 PM, fredlab wrote: > > Hey, > > I created a plugin that include a task that call a function in a > class. > > I would like to be able to get a v

[symfony-users] sfguard checks credentials before symfony checks if action is valid

2009-02-03 Thread Iltar
Here's my thought, shouldn't symfony check if the action exists _before_ you are prompted to login? Right now my anonymous visitor would see a login for like site.com/i- dont-exist/fake-action while it does not exist. I think google doesn't like that either. Is it something I done wrong, or a de

[symfony-users] Project Variables that are accessible by tasks

2009-02-03 Thread fredlab
Hey, I created a plugin that include a task that call a function in a class. I would like to be able to get a variable that is set in a generic config file but not just for an application but for my all project. How could I do this ? Thanks for the answers. --~--~-~--~~

[symfony-users] Re: Apache Vs. Lighttpd

2009-02-03 Thread Lupu Alexandru-Emil
Hi! a tweak that i think you could do is to serve static content with lighthhtpd and the dynamic (symfony) with apache ... it can be easily set by using lighthttpd as proxy server .. This way, you will not be forced to activate a 32MB process to serve a 3KB image. I am not sure... but, i might thin

[symfony-users] Apache Vs. Lighttpd

2009-02-03 Thread Sumedh
Hi Friends, We recently ran into a problem where a lot of Apache processes were hogging up memory... We haven't tuned Apache, and are using it almost as it is...what are typical performance tunings I should do on Apache? I saw this thread - http://groups.google.com/group/symfony-users/browse_th

[symfony-users] Re: "rm -rf"

2009-02-03 Thread klemens_u
Thanks Thomas - I looked for something with 'remove' ;-) Anyway this could be interesting for others as well... :-) Klemens On 3 Feb., 10:59, Thomas Rabaix wrote: > You should read twice : sfToolkit::clearDirectory > > ;) > > On Tue, Feb 3, 2009 at 10:57 AM, klemens_u wrote: > > > Hi everybod

[symfony-users] Re: "rm -rf"

2009-02-03 Thread Thomas Rabaix
You should read twice : sfToolkit::clearDirectory ;) On Tue, Feb 3, 2009 at 10:57 AM, klemens_u wrote: > > Hi everybody, > > is there a symfony function to remove a directory recursively? > > I looked into sfToolkit, but found none. > > Thanks and have a nice day, > Klemens > > > -- Thomas R

[symfony-users] "rm -rf"

2009-02-03 Thread klemens_u
Hi everybody, is there a symfony function to remove a directory recursively? I looked into sfToolkit, but found none. Thanks and have a nice day, Klemens --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony use