[symfony-users] Re: Question about sfFormObject::saveEmbeddedForms()

2011-03-18 Thread Richtermeister
I think the silence is your answer.. we're all suffering from this, and I believe the SF2 form system won't have this issue any more. Daniel On Mar 15, 8:47 pm, bkuberek wrote: > symfony 1.4.10-DEV > sfFormObject.class.php : line ~ 229 > > I have pasted an excerpt here > > http://pastebin.com/d

Re: [symfony-users] REST api authentication Problem

2011-03-18 Thread Francesco Levorato
Hi there, I am not sure, but afaik the testing frameworks sends that code to simulate a redirect. The actual behaviour in the real application will be a header(301 redirect). In the tests you can follow redirect with followRedirect(). http://www.symfony-project.org/jobeet/1_4/Doctrine/en/11 Cheer

Re: [symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Francesco Levorato
On Fri, Mar 18, 2011 at 11:06 PM, Georg wrote: > How to proceed in this case? Hi Georg, if you use the __() everywhere you may as well always include it in the configuration. See http://www.symfony-project.org/reference/1_4/en/04-Settings#chapter_04_sub_standard_helpers Cheers, Francesco --

Re: [symfony-users] Error when creating models

2011-03-18 Thread Francesco Levorato
Hi there, have you tried with a 'build --all --and-load' which does all the three steps in one go? Cheers, Francesco On Wed, Mar 16, 2011 at 8:56 PM, Kévin wrote: > Hi, > > I'm new to Symfony, and I don't even succeed in creating valid models. > > I created my project - which use propel - and wro

Re: [symfony-users] Jobeet day 3 load data

2011-03-18 Thread Francesco Levorato
Where are your yml files? in data/fixtures/ ? Cheers, Francesco On Thu, Mar 17, 2011 at 12:38 PM, christophe thomas wrote: > I'm trying to load data from fixtures jobs.yml and categories.yml > with this command: > $ php symfony doctrine:data-load > > But the tables are empty. I have got the colum

Re: [symfony-users] Remove header names in admin lists

2011-03-18 Thread Francesco Levorato
Could you list the errors you get? Cheers, Francesco On Thu, Mar 17, 2011 at 3:07 PM, elitalon wrote: > Hi, > > I would like to remove the default word "Actions" from the header of > generated admin lists. I have searched the template it uses, and I > found that there is a _list.php with this hea

[symfony-users] cannot load i18n helper in layout when redirected to login by sfDoctrineGuradPlugin

2011-03-18 Thread Georg
Hello group, I have an annoying problem. I am using the "__" function to translate some texts in the layout.php template. In order to have the function defined, I use use_helper('i18n'); This works well in my application, but if my login expires, I am forwarded/redirected to the login page. But

Re: [symfony-users] nginx Symfony2

2011-03-18 Thread Tim Nagel
I dont have any issues with my setup: (I suspect it is your location ~ line for the php block..) index index.php; try_files $uri $uri/ /index.php; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass php;

Re: [symfony-users] Symfony with datatables

2011-03-18 Thread Alex Pilon
http://www.google.ca/search?sourceid=chrome&ie=UTF-8&q=symfony+datatables On Fri, Mar 18, 2011 at 14:29, Alex Pilon wrote: > whats a datatable? > > > On Fri, Mar 18, 2011 at 13:56, Mariah wrote: > >> hi everyone, >> >> does anyone of you have an example of how to make datatables work with >> do

Re: [symfony-users] Symfony with datatables

2011-03-18 Thread Alex Pilon
whats a datatable? On Fri, Mar 18, 2011 at 13:56, Mariah wrote: > hi everyone, > > does anyone of you have an example of how to make datatables work with > doctrine? > I'm using symfony 1.4.9 > thank you. > > -- > If you want to report a vulnerability issue on symfony, please send it to > securi

Re: [symfony-users] Symfony2: Getting action/route name in template

2011-03-18 Thread Christophe COEVOET
Le 06/02/2011 22:13, Michal_V a écrit : Hi, What is the correct way to get action and route name in a template in Symfony2? (PHP and Twig syntax). Thanks the Request object is available through the app variable which give access to the route name and the controller name. Twig: app.request.attri

[symfony-users] Re: Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-18 Thread Tom W
I've solved this by remaking //lib/Jobeet.class.php in another text editor It was then picked up ok , some strange file bug perhaps On Mar 18, 9:24 am, Tom W wrote: > Yes of course , first thing I did > > Please ignore my last post about routing.  Barking up the wrong tree > there.  It's defin

[symfony-users] PR7 Strange ORM behavior

2011-03-18 Thread Lideln
Hi ! I am trying the database functionalities in PR7. I am experiencing a strange ORM behavior. Here is my code : [code] $qb = $this->get('doctrine.orm.entity_manager')->createQueryBuilder(); $aGalleries = $qb->select('g')->from('SWMainBundle:Gallery', 'g')- >where($qb->expr()->eq('g.active', 1))

[symfony-users] Re: Symfony2: Getting action/route name in template

2011-03-18 Thread Sven Eisenschmidt
Hi, did you found a working solution? I'am struggling with the same problem in Symfony PR7. Greetings On 6 Feb., 22:13, Michal_V wrote: > Hi, What is the correct way to get action and route name in a template in > Symfony2? (PHP and Twig syntax). Thanks -- If you want to report a vulnerabilit

[symfony-users] Re: Caching function result

2011-03-18 Thread Christoph Singer
On 3 Mrz., 14:04, Brocco wrote: > With symfony > 1.4, I used to cache the result of this function (which changes at > most every 24 hours) with sfFunctionCache and sfFileCache. > Is it possible to store some function result in the cache with > symfony2? I have the same problem. I'm sitting here b

[symfony-users] Symfony with datatables

2011-03-18 Thread Mariah
hi everyone, does anyone of you have an example of how to make datatables work with doctrine? I'm using symfony 1.4.9 thank you. -- 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

[symfony-users] [Symfony2] Session and Security Bundle questions

2011-03-18 Thread Gustavo Adrian
Hi all, I've configured my security environment successfully using "native" session storage type. But when I try to use the PDO session and I try to login, it logs OK, but when it redirects to homepage it suddenly goes back to the login page. My session data saved on DB: _symfony2|a:3:{s:6:"_flas

[symfony-users] Re: InvalidArgumentException with message 'The parameter "kernel.container_class" must be defined.'

2011-03-18 Thread Otávio
Hi Christophe, Thank you very much. Works fine! Otávio. On Mar 18, 1:09 pm, Christophe COEVOET wrote: > Le 18/03/2011 17:01, Ot vio a crit :> Hi all, > > >    I have symfony installation as a submodule in my git repository. I > > have updated it today, then now, when I try run console I have

[symfony-users] [Symfony 2] Setting default Radio in Forms And TextField Placeholders

2011-03-18 Thread Nikita Korotaev
Hi everyone, I have two questions regarding Forms. I know that Forms are underconstructions, but still there should be some answers. 1. I have Radio Buttons initialized this way: $this->add(new ChoiceField('status', array( 'expanded' => true, 'multiple' => false,

[symfony-users] nginx Symfony2

2011-03-18 Thread ken
Hi guys, Does any of you experienced the double slash problem when just visiting the backend controller? My configuration is redirecting /app_dev.php/ to /app_dev.php// and /app_dev.php invokes download of the script. server { server_name symfony-sandbox.local; root /home/ken

Re: [symfony-users] InvalidArgumentException with message 'The parameter "kernel.container_class" must be defined.'

2011-03-18 Thread Christophe COEVOET
Le 18/03/2011 17:01, Otávio a écrit : Hi all, I have symfony installation as a submodule in my git repository. I have updated it today, then now, when I try run console I have the follow error message: You need to rebuild your bootstrap file with the bin/build_bootstrap.php file each time yo

[symfony-users] InvalidArgumentException with message 'The parameter "kernel.container_class" must be defined.'

2011-03-18 Thread Otávio
Hi all, I have symfony installation as a submodule in my git repository. I have updated it today, then now, when I try run console I have the follow error message: E:\xampp1_7_4\htdocs\proposital\app>php console PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The p

[symfony-users] Re: Render field date format

2011-03-18 Thread Colin Viebrock
Did you find a solution to this? I'm looking for the exact same thing: an input:text field that displays the date selected via the sfWidgetFormJQueryDate picker. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this messa

[symfony-users] Re: Entity Dependancies

2011-03-18 Thread Craige
Hi Julian, Yes, I know how to USE the entities from other bundles, but I was asking for a practice regarding the limiting of cross-bundle dependencies. It is my understanding that bundle's should be a stand-alone collection of functionality, with little to no dependencies. - Craige On Mar 18, 9

Re: [symfony-users] Entity Dependancies

2011-03-18 Thread Julian Reyes Escrigas
ok i new user but if you need use entities you need only declare in your controller BlogBundle use AuthBundle\Entity\User; and works i test but with my ODM and work fine :) -- Julian Reyes Escrigas Desarrollador PHP/MySQL rkmax.tumblr.com about.me/rkmax twttier.com/rokemaster github.com/rok

[symfony-users] Re: [Symfony2]Forms performance

2011-03-18 Thread Costin
Good to know! I was hoping this was not a feature set in stone yet. On Mar 17, 5:31 pm, Thomas Rabaix wrote: > It is not a good time to speak about performance. First the framework is not > stable, and the Form component is being refactored. > > On 17 mars 2011, at 15:14, Costin wrote:> Hey, > >

[symfony-users] Re: Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-18 Thread Tom W
Yes of course , first thing I did Please ignore my last post about routing. Barking up the wrong tree there. It's definitely connected to the reference to the Jobeet class On Mar 17, 9:36 pm, Francesco Levorato wrote: > Forgive the stupid question, has the cache been cleared after creating >

[symfony-users] Re: PR7 Accessing config.yml "parameters" variables

2011-03-18 Thread Lideln
On 17 mar, 22:49, Christophe COEVOET wrote: > Le 17/03/2011 18:01, Lideln a crit :> Hi, > > > I'm trying to use Twig, and I would like to do a simple thing : > > Display the parameters.title value defined in my config.yml file. > > > I found how to display http query parameters, but not config pa

[symfony-users] Re: Symfony 2 Doctrine Database Schema imports

2011-03-18 Thread Lideln
Hi, First of all you need to configure your app properly (config.yml), for example : doctrine: dbal: driver: %database_driver% host: %database_host% dbname: %database_name% user: %database_user% passwor

Re: [symfony-users] O symfony 2 tem o comando de importar esquema do banco??

2011-03-18 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, try to run app/console you will see a list of available commands, one of them being doctrine:schema:create Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output. there is a lot of docum