[symfony-users] Re: Fatal Error [Uncaught exception 'PropelException' with message 'Unable to open PDO connection]

2008-09-25 Thread Rabe'e Nabil
But shouldnt it take the username and password i provided with it ? username : rob password : dashizza in the BUILD.PROPERTIES file , and for generating the sql files it should be taken from the RUNTIME-CONF.XML , which has the same information too --~--~-~--~~~---~

[symfony-users] Re: I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-25 Thread Jeremy Benoist
Hi Bernhard, Thanks for the reply, I didn't know that Doctrine had a such behavior. But finaly we decided to choose Sphinx as search engine. It is ORM independent and sfSphinxPlugin is easy to use. Jeremy On 23 sep, 08:06, "Bernhard Schussek" <[EMAIL PROTECTED]> wrote: > Hi Jeremy, > > I cannot

[symfony-users] Re: Fatal Error [Uncaught exception 'PropelException' with message 'Unable to open PDO connection]

2008-09-25 Thread Rabe'e Nabil
I just tried to make the PDO looks like mysql:host=localhost;dbname=syndigate;user=rob; // with no password now when i run the code for generating an empty criteria for some table it does the job on the terminal , but doesnt on browser , still gives the same FATAL Error --~--~-~--~~-

[symfony-users] Re: Fatal Error [Uncaught exception 'PropelException' with message 'Unable to open PDO connection]

2008-09-25 Thread Rabe'e Nabil
another update now was a corney solution of making a user called www- data , but there has to be away to use my own user name and password thanks anyway of any help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Olivier Mansour
any ideas ? I still can't find my plugin task in the default list proposed by ./symfony command your opinion, is it a sf1.2 bug ? 2008/9/24 Olivier Mansour <[EMAIL PROTECTED]> > hello > > with sf1.2, a task declared in a plugin is not autoloaded. > (blablaTask.class.php under myPlugin/lib/task).

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Francois Zaninotto
did you enable the plugin in your project configuration? François 2008/9/25 Olivier Mansour <[EMAIL PROTECTED]>: > any ideas ? > > I still can't find my plugin task in the default list proposed by ./symfony > command > your opinion, is it a sf1.2 bug ? > > 2008/9/24 Olivier Mansour <[EMAIL PROTE

[symfony-users] Re: Logging configuration confusion

2008-09-25 Thread cokker
Have you cleared your cache? If this doesn't work. I have no idea. Greets Sven Rytis Daugirdas schrieb: > Hello, > > I've recently started a new project based on symfony 1.1.2. However, I'm not > sure if my logging configuration is correct since I'm not seeing the right > behavior. > > Basica

[symfony-users] sharing code of action class

2008-09-25 Thread kusum
hi, i have created a registeration form.i want to use same action code in a different talktous partial. In registeration form and talktous layout is different but fields are same.registeration form submit is a http request and partial submit is a ajax request.But in registaration f

[symfony-users] Re: sharing code of action class

2008-09-25 Thread markus.staab
maybe you should create a new subclass of sfForm which implements your custom behaviour (or only the features the 2 usecases have in common) On 25 Sep., 15:08, kusum <[EMAIL PROTECTED]> wrote: > hi, >      i have created a registeration form.i want to use same action > code in a different talktou

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Olivier Mansour
2008/9/25 Francois Zaninotto <[EMAIL PROTECTED]> > > did you enable the plugin in your project configuration? > no. Actually I havent yet an application in my projets, only tasks my plugin just include several tasks, no modules. Olivier > > François > > 2008/9/25 Olivier Mansour <[EMAIL PROTEC

[symfony-users] Re: I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-25 Thread Jonathan Wage
As well, someone has tried integrating sphinx with Doctrine. http://groups.google.com/group/doctrine-user/browse_thread/thread/9b974b93999ad0da The code needs work but it shows you an idea of how it can be integrated. - Jon On Thu, Sep 25, 2008 at 2:43 AM, Jeremy Benoist <[EMAIL PROTECTED]>wro

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Francois Zaninotto
Well then you should enable your plugin in your project configuration. Apparently, in sf 1.2, all plugins are disabled by default, exactly the contrary as in previous versions. François 2008/9/25 Olivier Mansour <[EMAIL PROTECTED]>: > > > 2008/9/25 Francois Zaninotto <[EMAIL PROTECTED]> >> >> di

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Jonathan Wage
http://svn.symfony-project.com/branches/1.2/UPGRADE_TO_1_2 In config/ProjectConfiguration.php you can add public function setup() { $this->enablePlugins('sfDoctrinePlugin'); $this->disablePlugins('sfPropelPlugin'); } - Jon On Thu, Sep 25, 2008 at 9:39 AM, Francois Zanino

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Thomas Rabaix
lol, nice example On Thu, Sep 25, 2008 at 4:52 PM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > http://svn.symfony-project.com/branches/1.2/UPGRADE_TO_1_2 > > In config/ProjectConfiguration.php you can add > > public function setup() > > { > $this->enablePlugins('sfDoctrinePlugin'); >

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Jonathan Wage
Taken directly from the UPGRADE documentation from fabien himself ;) - Jon On Thu, Sep 25, 2008 at 9:56 AM, Thomas Rabaix <[EMAIL PROTECTED]>wrote: > lol, nice example > > On Thu, Sep 25, 2008 at 4:52 PM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > >> http://svn.symfony-project.com/branches/1.2/U

[symfony-users] Re: Symfony Forms

2008-09-25 Thread Atif Khan
I am using propel:generate-crud..etc and then propel:build-forms Everything is working fine except I cannot seem to set the Lables. I am able to change or setOptions, and change or set setAttributes, but when I try to setLabels it does not reflect at all. what is the correct syntax. is it $thi

[symfony-users] Re: I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-25 Thread Jonathan Wage
Yes, that is good. That is what I meant by the code needs work because it is fetching the objects one at a time instead of using whereIn() It would be very awesome if you could write a cookbook tutorial for the Doctrine website describing what you did to integrate Doctrine and sphinx together. If

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Olivier Mansour
thank you all It works just fine 2008/9/25 Jonathan Wage <[EMAIL PROTECTED]> > Taken directly from the UPGRADE documentation from fabien himself ;) > > - Jon > > > On Thu, Sep 25, 2008 at 9:56 AM, Thomas Rabaix <[EMAIL PROTECTED]>wrote: > >> lol, nice example >> >> On Thu, Sep 25, 2008 at 4:52 P

[symfony-users] Re: Logging configuration confusion

2008-09-25 Thread Rytis Daugirdas
Yeah, cache is cleared... Anyone else could check the same? I would feel better if I knew I'm not alone with this problem :). On Thu, Sep 25, 2008 at 2:58 PM, cokker <[EMAIL PROTECTED]> wrote: > > Have you cleared your cache? > > If this doesn't work. I have no idea. > > Greets > Sven > > Rytis

[symfony-users] Re: cant autoloading a task from a plugin with sf1.2

2008-09-25 Thread Fabien Potencier
If you use symfony 1.2, you must read the UPDATE_TO_1_2 file and keep reading it while we work on this new release. Please, keep in mind that we make changes for this new release every day. So, symfony 1.2 is not stable yet, and it is not suitable for production usage. New features and new API

[symfony-users] Re: I use sf1.1 with sfDoctrine and I would like to know which search engine plugin I can use

2008-09-25 Thread Jeremy Benoist
Well, good point of view using Collection. Actually we get results from Sphinx already "paged", I mean we give him number of result we want. Then we `use ->whereIn(..., ids)` where ids are an array of all id returned by Sphinx query : $options = array( 'limit' => 10, 'offset' => ($this->pag

[symfony-users] Re: structure advices

2008-09-25 Thread Richtermeister
That's usually an OK way to start, as you can always move things into modules later. Gotta love the routing control :) On Sep 24, 11:28 pm, julien <[EMAIL PROTECTED]> wrote: > Thank you both of you for your answer. > I did it the way Tom suggested as the frontend will stay quite simple. > > On S

[symfony-users] admin : set a value to a field in the edit mode

2008-09-25 Thread julien Bessiere
Hi, I have a simple site. I'm currently working on an admin backend for managing news. - config/schema.yml -- news: id: created_at: people_id: news_i18n: title: {varchar (255), required:true} text: longvarchar people: id: lastname: {varchar (100),

[symfony-users] Generic propel method to find related Object

2008-09-25 Thread piccioli
Hello, does it exist a generic method used to know if a Propel Object has some related object true foreign keys? A. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, se

[symfony-users] Re: sharing code of action class

2008-09-25 Thread Ant Cunningham
I agree with Markus. However, to share Action code you could also make Listener for sfComponent. IVe done this to implement a method called getContentFromRequest in all my actions. On Sep 25, 9:53 am, "markus.staab" <[EMAIL PROTECTED]> wrote: > maybe you should create a new subclass of sfForm whi

[symfony-users] How To : Remove Pieces

2008-09-25 Thread randomblink
I'm still halfway in tinker mode and halfway in actually planning out a true site. So I have Modules and Applications that I might just wanna get rid of. What is the process for removing the following: 1. Applications 2. Modules Help! --~--~-~--~~~---~--~---

[symfony-users] Re: Symfony Forms

2008-09-25 Thread Ant Cunningham
Like i said this is because the default behavior for generate crud uses "verbose templates". This means that the labels are not rendered dynamically what is defined with setLabels(). Its statically coded into the template for example a from row in your template would look like this by default:

[symfony-users] Re: spawn process which outlives request, to avoid timeouts

2008-09-25 Thread randomblink
Another option might be to setup a cron job that runs a php script. Then move the jobs into a list in a table. Have the cron run the script, the script checks the tables, and whatever jobs are not completed... It completes them? Just a thought. --~--~-~--~~~---~--~---

[symfony-users] strange beahviour with request in forms1.1

2008-09-25 Thread Martin Groh
Hello an greetings from sunny but cold river Rhine, I'm trying out the new forms system and really and really appreciate all the advantages it offers. Great work there! Thank you... But for some reason, my very simple contact form does not behave as expected. When I fill every field, all is well.

[symfony-users] Re: spawn process which outlives request, to avoid timeouts

2008-09-25 Thread markus.staab
maybe this plugin could also help you out: http://www.symfony-project.org/plugins/sfJobQueuePlugin On 25 Sep., 22:34, randomblink <[EMAIL PROTECTED]> wrote: > Another option might be to setup a cron job that runs a php script. > Then move the jobs into a list in a table. > Have the cron run the