[symfony-users] How to use database for Configurations

2010-07-06 Thread Apul Gupta
Hi, I was using app.yml for configuration purpose but suddenly, I got a requirement that configuration should be edited from admin. THats why I put all my configurations in database but now the problem is: How can I use just like the configuration files or something like that. Would It suffer

AW: [symfony-users] i18n doesn't save

2010-07-06 Thread Christopher Schnell
Did you forget to include the hidden fields for the i18n forms into your main form? Try it with ?php echo $form ?, it should work. If you need to render your form fields separately, be sure to include ?php echo $form-renderHiddenFields() ? instead of just ?php echo $form['id] ? Hope that helps.

Re: [symfony-users] Binding user created content with a user with a foreign user_id key

2010-07-06 Thread Gareth McCumskey
On Tuesday 06 July 2010 01:08:12 Jackson Gabbard wrote: I'm working on a system that enables users to contribute bits of content (varchar 255) into a pool that gets moved into a different system later. I've got Symfony 1.4 up and running with the sgGuardAuth plugin in place and working

[symfony-users] Sf1.3.6 causes segmentation fault on build all reload only on Mac

2010-07-06 Thread Simon Hostelet
Hello, I've updated yesterday the project I'm working on with the 1.3.6 tag of Symfony, containing a security fix. Since then, people in my team working on a Mac got a segmenation fault when trying to build-all-reload, after create/alter table, right before loading fixtures. Here is the

[symfony-users] Symfony Update to 1.1 clean - STUCK

2010-07-06 Thread Jürg Messmer
Hi I am stuck trying to update a symfony project. upgrading to 1.1 worked fine and I migrated and removed the config files. I would like to do a clean upate and change all things that need to be migrated (not sf_compat_10) but debugging is very difficult. for both action and user I use a layer

Re: [symfony-users] How to use database for Configurations

2010-07-06 Thread Daniel Lohse
I urge you to take a look at the csSettingsPlugin as it handles all of this for you (manage settings in admin generator, caching etc.). Cheers, Daniel Sent from my iPad On Jul 6, 2010, at 8:18 AM, Apul Gupta apulmca...@gmail.com wrote: Hi, I was using app.yml for configuration purpose but

[symfony-users] Symfony Update 1.1 fixing deprecated Request methods and validation

2010-07-06 Thread Jürg Messmer
Hi updating and debugging my new 1.1 version I particularly get stuck with how to fix / replace the Request-hasError/get/setError methods and migrating the validation classes. Do I have to work with Form objects and ValidationSchema etc in order to handle all these issues. It would be a huge

[symfony-users] Re: Jobeet Day 3 data-load problem

2010-07-06 Thread Elton Saheki
It returns: doctrine Loading data fixtures from /Users/esaheki/Sites/jobeet/data/fixtures doctrine Data was successfully loaded # config/databases.yml all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=jobeet' username: root

Re: [symfony-users] Re: Jobeet Day 3 data-load problem

2010-07-06 Thread Ricardo Jose Guzman Milanes
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

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-07-06 Thread ashton honnecke
It is present in only one of five apps (all in the same project). It is definitely not the server. It happens to all the modules in one app, except for it seems, when I return renderText directly in the action. This leads me to suspect (ridiculously enough) that it is something in the layout,

[symfony-users] Re: Jobeet Day 3 data-load problem

2010-07-06 Thread Elton Saheki
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]

[symfony-users] Re: Use database in app.yml

2010-07-06 Thread Davide Borsatto
This is not the correct way to handle this. Yaml configuration files are meant for static values. If you need something dynamic, this is probably the wrong way to achieve it. In my opinion, a better approach would be to create a filter in the filter chain, righe before the cache filter, that

[symfony-users] Re: Jobeet Day 3 data-load problem

2010-07-06 Thread pghoratiu
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

Re: [symfony-users] Re: sfDoctrineGuardUser: Unable to stay signed in

2010-07-06 Thread ashton honnecke
Apparently, this issue is related to calling the jQuery helper. I built out an empty action and an empty template, and they work perfectly, until I added a call to the jQuery helper, so I removed everything else, nothing in the action and one line in the template: ?php use_helper('jQuery') ?

[symfony-users] Symfony 1.3 Issue with Doctrine_Table::createQuery and multiple databases

2010-07-06 Thread Olivier
Hello, We are using a Symfony/Doctrine setup with multiple databases... We've ran into a few issues concerning connection binding. There is also an issue with the createQuery function in the Doctrine_Table object. This function calls Doctrine_Query::create(null, $class), where null is the

Re: [symfony-users] Symfony 1.3 Issue with Doctrine_Table::createQuery and multiple databases

2010-07-06 Thread Jonathan Wage
Hi, I am working on the issue. Can you try and create a Doctrine test case that demonstrates the problem? So we can test patches against it. - Jon On Tue, Jul 6, 2010 at 10:04 AM, Olivier olivier.cha...@gmail.com wrote: Hello, We are using a Symfony/Doctrine setup with multiple databases...

[symfony-users] Re: Jobeet Day 3 data-load problem

2010-07-06 Thread Elton Saheki
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:

[symfony-users] symfony 1.4 doctrine / m:m relations not working

2010-07-06 Thread Claudia
hi, I created a m:m relation from an Artist table to a genre Tag table and I want to select tags for the artist in the artist form. But I don't know how to get this working... schema.yml Artist: columns: artist_id: primary: true type: integer

Re: [symfony-users] Sf1.3.6 causes segmentation fault on build all reload only on Mac

2010-07-06 Thread Piers Warmers
Hi Simon, Are you using xdebug? - Piers On 06/07/2010, at 6:49 PM, Simon Hostelet simon.hoste...@gmail.com wrote: Hello, I've updated yesterday the project I'm working on with the 1.3.6 tag of Symfony, containing a security fix. Since then, people in my team working on a Mac got a