Re: [symfony-users] [Symfony2] 'The parameter doctrine.orm.metadata_driver.mapping_dirs must be defined.' when running doctrine:schema:create

2010-08-10 Thread Alfonso Alba García
After applying the patch, the exception was gone but I was getting the message No Metadata Classes to process. I renamed the directory Entities to Entity inside my bundle (also the namespace of my User.php class) and know everything worked fine. Thanks a lot for your help!! El 09/08/10

[symfony-users] Embedding form filters

2010-08-10 Thread Sebastien Armand [Pink]
Hello everyone! New day new issue! let's imagine the following model: person: name: nickname: school_id: school: name: city: I want to have a filter on 'person' to browse through the person database. And in that filter I want to be able to choose the city they studied in. What I

Re: [symfony-users] Re: Urls in Javascript

2010-08-10 Thread Sebastien Armand [Pink]
Have found a way to do it, this is through use_dynamic_javascript('route'); the route here will point for example at a javascript module javascript/mydynamicscript and can use the '.js' format. then you can skip the mydynamicscript action and directly go to the template

[symfony-users] Tutorial Error

2010-08-10 Thread RusAlex
On this tutorial http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03 when i've tryed to install module $php symfony doctrine:generate-module --with-show --non-verbose- templates frontend job JobeetJob When i type in my browser: http://jobeet.localhost/frontend_dev.php/job i see error: wish

[symfony-users] Re: Tutorial Error

2010-08-10 Thread catchamonkey
Hi, I double checked the command and it works as expected. It should create an entry in your routing.yml Can you see if that is there? Has the module been generate as expected? apps/frontend/modules/job etc Chris On Aug 10, 9:35 am, RusAlex interpret...@gmail.com wrote: On this

Re: [symfony-users] Re: Urls in Javascript

2010-08-10 Thread Stéphane
Hi, I have no problem generating js within templates. I see js in two ways : there are libraries, which are static files, and there are configuration javascripts which do use the js libraries. Within template I generate JS using script .../script and setting php-side variables using ?php echo

[symfony-users] Re: Embedding form filters

2010-08-10 Thread Sebastien Armand [Pink]
Actually I don't think what I'm looking for is a join, but a set of WHERE conditions like: WHERE person.school_id IN (SELECT school.id FROM School WHERE city = paris) still no clue how to get that though! 2010/8/10 Sebastien Armand [Pink] khe...@gmail.com Hello everyone! New day new issue!

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
Oh...i see hope i found a bug. will try to fix it . There is other folders in a config sections. I don't know why now. On Aug 10, 1:18 pm, catchamonkey ch...@sedlmayr.co.uk wrote: OK, so the default route maps frontend_dev.php/job/index to the executeIndex action inside

[symfony-users] Re: Tutorial Error

2010-08-10 Thread RusAlex
Thanks for a good support. There were my apache configurations in VirtualHosts errors. And therefore symfony readed configs from other directories than default installation. On Aug 10, 1:43 pm, RusAlex interpret...@gmail.com wrote: Oh...i see hope i found a bug. will try to fix it . There is

[symfony-users] Re: Tutorial Error

2010-08-10 Thread catchamonkey
Great. Glad you have it sorted. Thank you for posting your solution, it helps benefit others in the future. Chris On Aug 10, 10:43 am, RusAlex interpret...@gmail.com wrote: Oh...i see hope i found a bug. will try to fix it . There is other folders in a config sections. I don't know why now.

[symfony-users] order of embed fields in admin generated module

2010-08-10 Thread Belgacem TLILI
hi for all Sf developers i have a backend module containing a form with an embeded form i would like to change the order of the fields in my form (also the fields of the embed form) i have used the generator.yml file but i can't find a way to organise the fields of the embed form please help

Re: [symfony-users] order of embed fields in admin generated module

2010-08-10 Thread abbbassi abidi
just owverride the _form_field.php or change itin the generator.yml :) 2010/8/10 Belgacem TLILI belgacem0...@gmail.com hi for all Sf developers i have a backend module containing a form with an embeded form i would like to change the order of the fields in my form (also the fields of the

[symfony-users] Re: order of embed fields in admin generated module

2010-08-10 Thread Belgacem TLILI
hi , Mr Abbassi, ecuse me but i have not uderstant your solution i have do sothing like that with a another module who does not contain an embeded form , in cashe folder but now i have to re-order the fields of the embeded form also... so can you explain your idea thanks On 10 août, 11:38,

[symfony-users] Disable proxy caching/global headers

2010-08-10 Thread gunnarlium
Hi! I have an issue where certain users sometimes sees other users content. I'm pretty sure this is down to proxy caching in business networks. What is the best strategy to deal with this? I thought of adding header('Expires: 0'); for the relevant pages, but since it is quite a few, I was

[symfony-users] manual error

2010-08-10 Thread RusAlex
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/04 Have The Job Page Template header. And there is template file. IF you will use this file with version 1.4.6 you will have error Notice: Undefined variable: job in /var/www/Projects/jobeet/apps/ frontend/modules/job/templates/showSuccess.php

Re: [symfony-users] Re: Urls in Javascript

2010-08-10 Thread pablo borrazas
I often use an html bridge. I dont know if it is a good practice or if there is a better one. The variables are printed in the layout into hidden inputs, and javascript loads them from there. I use it to put what the aplication needs, you can use it to pass the controller name. Here is the code:

[symfony-users] Re: symfony2- get error using form framework

2010-08-10 Thread roydon
Thank you for your time. i do as you describe in your reply: /* As far as I know, you have to: use Symfony\Components\Form\Form; and etc: use Symfony\Components\Form\TextField; use Symfony\Components\Form\PasswordField; use Symfony\Components\Form\RepeatedField; */ now i got a 500 error like

[symfony-users] Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey all, My current symfony project has recently become quite popular. While this is obviously good, load on the server has increased in tandem. Since about 2-3 weeks, we are experiencing very strange sf config cache issues. They seem most likely to happen under heavy load. The first few

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin always inserts a new item

2010-08-10 Thread Adam Divak
great, thank you On Aug 9, 5:22 pm, gimler gordon.fra...@web.de wrote: i have allready fix this bug in the trunk and some other problems like nested embeded ;) actually we test the actual state and make a release in the near time. greetings Gimler On Aug 9, 4:55 pm, Adam Divak

Re: [symfony-users] Re: admin gen 1:m in one form

2010-08-10 Thread Gustavo Adrian
I'm glad it's useful for what you've been looking for! And I'll give it a try too. It seems to be a nice plugin. On Tue, Aug 10, 2010 at 1:34 AM, Christian Fazzini christian.fazz...@gmail.com wrote: Sorry I meant, most of the examples online expect the object to be created already. The

Re: [symfony-users] Re: admin gen 1:m in one form

2010-08-10 Thread Daniel Lohse
I'm feeling pretty good now — considering that I created this plugin. :) But let me tell you that without the community's help it wouldn't be where it is today. So, sorry for hijacking this thread — but thanks @all for being such a great community! :) Cheers, Daniel Sent from my iPhone4 On

Re: [symfony-users] Re: order of embed fields in admin generated module

2010-08-10 Thread abbbassi abidi
hello , you can use the module forms, after , before items use this url: http://www.symfony-project.org/forms/1_2/en/A-Widgets good luck 2010/8/10 Belgacem TLILI belgacem0...@gmail.com hi , Mr Abbassi, ecuse me but i have not uderstant your solution i have do sothing like that with a

Re: [symfony-users] Re: order of embed fields in admin generated module

2010-08-10 Thread kaies cherif
http://www.symfony-project.org/forms/1_4/en/A-Widgets 2010/8/10 abbbassi abidi abbbassi.recrutemen...@gmail.com hello , you can use the module forms, after , before items use this url: http://www.symfony-project.org/forms/1_2/en/A-Widgets good luck 2010/8/10 Belgacem TLILI

[symfony-users] Sorting options in 1.4 Doctrine

2010-08-10 Thread jalava
An need rised for making multiple selection list that allows you to sort the items selected for priority in my project. As I figured, some one had already made good enough component for the gui side that reorders the options inside select easily.

[symfony-users] Re: Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread pghoratiu
Hi! Have no idea what could this be, in my opinion it is something related to locking at the FS level. My suggestion is to try one of the following: 1. Use a different cache storage class - sfSQLiteCache, sfMemcacheCache or sfAPCCache. 2. Run code on a different machine or on a Linux/Unix system

[symfony-users] getRelatedModelName() doesn't show all records in related model

2010-08-10 Thread Tocacar
I am using symfony 1.4 with Doctrine 1.2 I have model called Book and it is related to a model called Author. I have 4 book records and 2 author records (each author record is related a book record). If I want to change the author of a book, I click Edit on the Book form and see the drop down

Re: [symfony-users] Re: Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Stefan Koopmanschap
Gabriel, As you might have read in the original post, a similar issue has occured with a client of mine who were running their system on a linux box. We were able to reproduce it on several linux servers, on specific (cli) script executions. So now we know where it happened but since the task

[symfony-users] How to configure different connection but single database

2010-08-10 Thread Nei Rauni Santos
My project: I have a project with many applications, one of them is the CRON, all applications share the same database and use the same user and password to autenticate. My problem: I'm getting the error SQLSTATE[08006] [7] FATAL: too many connections for role myuser, so I created a new user

[symfony-users] Re: How to configure different connection but single database

2010-08-10 Thread Nei Rauni Santos
sorry, it workds now. nei On Tue, Aug 10, 2010 at 12:18 PM, Nei Rauni Santos nra...@gmail.com wrote: My project: I have a project with many applications, one of them is the CRON, all applications share the same database and use the same user and password to autenticate. My problem: I'm

[symfony-users] Re: Disable proxy caching/global headers

2010-08-10 Thread Richtermeister
Headers go into the view.yml file under http_metas. For example: http_metas: content-type: text/html Expires: 0 Alternatively, you can put those into the .htaccess file and have Apache dish them out instead. Daniel On Aug 10, 3:54 am, gunnarlium gunnarl...@gmail.com wrote: Hi! I

[symfony-users] Re: a good IDE for Symfony

2010-08-10 Thread Paulo Ribeiro
Nobody mentioned. So here it goes http://www.jetbrains.com/phpstorm/ For me it's the best IDE ever. It's not free, but definely worth the money. Cheers! On Aug 9, 10:01 am, Jarrad Kabral jarr...@gmail.com wrote: On Windows I can't go past PhpEd. (fast and ridiculously feature rich) On Mac

[symfony-users] Symfony2 PR3 and keeping up with the Symfony2 sandbox changes

2010-08-10 Thread djones
Hi all, I'm trying to keep up with changes to Symfony2 so that I don't learn things that are outdated. I've been working with the current github sandbox and that's all working fine, but I believe that for some features (validation w/ annotations,etc.) I need to checkout the PR3 branch. When I do

[symfony-users] Change backend module views

2010-08-10 Thread Cosimo Zecchi
Hi all, if I want to change the view of the backend modules, how do i do. There's only the layout template, but i want to add slots for every module to realize an interactive menu. Thank you in advance and sorry for my poor english Cosimo Zecchi P.IVA: 02035150974 c.zec...@gmail.com tel.

Re: [symfony-users] a good IDE for Symfony

2010-08-10 Thread Andrei Dziahel
Hi. My choice is JetBrains' PHPStorm. If you want *free* IDE — I'd recommend NetBeans. Both are written in Java, but it's not a problem *for me* — on Linux (Ubuntu Lucid) with 4G RAM installed both are fast as hell. 2010/8/4 Julian Reyes Escrigas julian.reyes.escri...@gmail.com Hi I need

[symfony-users] Need tips in my project

2010-08-10 Thread RusAlex
I m a newb in symfony today. But im very interested in this framework. Now i have simple website with only 2 modules: domain/ keyword/ keywords has domain_id field. module keyword can show/edit/delete keywords as usually. What i need to do with my system now if i want to make next feature:

[symfony-users] Im playing with Tutorial, how can i debug blank (white) page ?

2010-08-10 Thread RusAlex
There is no any trace of errors in developer frontend, and i see blank page when im trying to make some examples from tutorial. In apache logs also no errors. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

RE: [symfony-users] Re: Weird cache issues under load, sf 1.4 as svn:external on Windows Server 2008 Standard

2010-08-10 Thread Alexander Deruwe
Hey Gabriel, Thanks for your reply. With regards to point 2 below, isn't the config cache always located on the filesystem? Alexander -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens pghoratiu Verzonden: dinsdag 10 augustus

Re: [symfony-users] a good IDE for Symfony

2010-08-10 Thread Andromeda Lights
I'm using aptana with eclipse pdt plugin. Html,css features is very good. I used netbeans before, but you said it's slow. I suggest you should try aptana. 2010/8/4 Julian Reyes Escrigas julian.reyes.escri...@gmail.com Hi I need help for find a new editor for PHP, I'm using Netbeans 6.9 but

Re: [symfony-users] Need tips in my project

2010-08-10 Thread Alexandre Salomé
You should start reading some good books, from project : http://www.symfony-project.org/doc/1_4/ - They are free to read online. 2010/8/10 RusAlex interpret...@gmail.com I m a newb in symfony today. But im very interested in this framework. Now i have simple website with only 2 modules:

Re: [symfony-users] Im playing with Tutorial, how can i debug blank (white) page ?

2010-08-10 Thread Alexandre Salomé
The debug best code is : die('ok'); Move it toward until it disappear. Some good start points are : - First line of index.php - First line of your executeXXX method - First line of your template 2010/8/10 RusAlex interpret...@gmail.com There is no any trace of errors in developer

Re: [symfony-users] Change backend module views

2010-08-10 Thread Alexandre Salomé
You can override templates. For example, a module : post/ config/ generator.yml templates/ -- your templates Copy/paste files from the module, generated in the cache to your module folder. See the Reference Guide and documentations for more informations about admin generator

[symfony-users] Doctrine tableName and table aliases

2010-08-10 Thread Jonotron
I've setup my schema so each table has a tableName property set (as I prefix my tables as a way of organizing them). The problem with this is that the prefix for a set of tables is the same, and the when Doctrine generates queries, it likes to generate a single letter alias using the first letter

Re: [symfony-users] Sorting options in 1.4 Doctrine

2010-08-10 Thread Alexandre Salomé
Add a order column in your relation table, and override preSelect of this table to automatically order by order. Le 10/08/10 14:35, jalava a écrit : An need rised for making multiple selection list that allows you to sort the items selected for priority in my project. As I figured, some

Re: [symfony-users] getRelatedModelName() doesn't show all records in related model

2010-08-10 Thread Alexandre Salomé
Maybe you join authors and books using a INNER JOIN, that removes authors with no books. Could you give us the SQL query generated, and query creation code ? Le 10/08/10 16:55, Tocacar a écrit : I am using symfony 1.4 with Doctrine 1.2 I have model called Book and it is related to a model

[symfony-users] Re: a good IDE for Symfony

2010-08-10 Thread nurikabe
Emacs + ECB with the following modes installed: autocomplete, geben, nxhtml, yaml. On Aug 3, 7:22 pm, Julian Reyes Escrigas julian.reyes.escri...@gmail.com wrote: Hi I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I don't know for what is slow, always start very well

Re: [symfony-users] Im playing with Tutorial, how can i debug blank (white) page ?

2010-08-10 Thread Gustavo Adrian
What OS are you developing on? Check permissions on the cache and log dirs. On Tue, Aug 10, 2010 at 5:11 PM, Alexandre Salomé alexandre.sal...@gmail.com wrote: The debug best code is : die('ok'); Move it toward until it disappear. Some good start points are : - First line of index.php

[symfony-users] appending to flashes/multiple flashes

2010-08-10 Thread bretth
Hi, I want to set a 'notice' flash in the postvalidator callback function i'm using; it will be used to display a 'notice' (ie. This object requires a Foo, so it has been unpublished'). I can do it with the error notice, but what i'm setting is not technically an error; it's a notice. I want to