[symfony-users] Re: validation of runtime generated object properties / dynamic forms

2011-04-19 Thread Holger
Hi Berhard, I've managed to implement the callback. On validation the callback of the domain object gets called which is fine. What is a bit unclear to me is the following: Where do i put the validation constraints for each field I want to validate? If I set them in the section 'properties' in

[symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread voidpointer
On Apr 19, 8:19 am, Sebastian Göttschkes sebastian.goettsch...@googlemail.com wrote: Hi there, would you mind showing the apache vhost you added (I asume you're using apache)? I would guess the default directory isn't set correctly but the sf shortcut is. Regards, Sebastian Moi

[symfony-users] propel:build-model fail

2011-04-19 Thread Kush
Hi Friends, I am using XAMPP and i have all the environmental variables defined accurately. I am getting this error on executing propel:build-model command. C:\xampp\htdocs\workspace\smssymfony propel:build-model propelRunning om phing task [propel-om] Could not perform XLST transformation.

[symfony-users] symfony propel:build-model - Giving Error

2011-04-19 Thread Kush
Hi, We have installed apache friends xampp - 1.7.4 but we are getting the below error in build-model command C:\xampp\htdocs\workspace\smssymfony propel:build-model propelRunning om phing task [propel-om] Could not perform XLST transformation. Make sure PHP has been compiled/configured to

[symfony-users] [Symfony2] PR11 Problem loading app_dev.php

2011-04-19 Thread iturri.cf
Hi, I installed Symfony 2 and when I try to access http://localhost/sf2/web/app_dev.php get the following error: Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream could not be opened, /var/www/sf2/app/logs/ dev.log may be an invalid url.' in

[symfony-users] PDF File of API

2011-04-19 Thread Kut
Hi! Any know of where i can download pdf version of next links? http://www.symfony-project.org/api/1_4/# http://www.symfony-project.org/more-with-symfony/1_4/es/ Thanks for all! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

Re: [symfony-users] jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
In day 4 there's a link to download the stylesheets and images used for Jobeet tutorial. Download and put them in the suggested directories. Regards, Haris On 18 April 2011 22:19, voidpointer voidpoin...@rocketmail.com wrote: Moi, I am trying to work through the jobeet tutorial. I have got

Re: [symfony-users] [Symfony2] PR11 Problem loading app_dev.php

2011-04-19 Thread Jordi Boggiano
On 19.04.2011 03:39, iturri.cf wrote: Hi, I installed Symfony 2 and when I try to access http://localhost/sf2/web/app_dev.php get the following error: Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream could not be opened, /var/www/sf2/app/logs/ dev.log

Re: [symfony-users] propel:build-model fail

2011-04-19 Thread Gabriel Filipiak
Probably your PHP hasn`t got XLST module or it`s not enabled. 2011/4/19 Kush kushagra...@gmail.com Hi Friends, I am using XAMPP and i have all the environmental variables defined accurately. I am getting this error on executing propel:build-model command.

[symfony-users] SF2 Advanced routing

2011-04-19 Thread symfonyMan
Hello, In my symfony2 project i will have many routing ( /login, /account, / group, /group/create, /user/edit ..) how to secure all routes in my project execpt 2 or 3 route Like ( / welcome ...) i can do that just with the firewalls ?? Thanks -- If you want to report a vulnerability

[symfony-users] [Symfony2] Using the new FormFactory with the Dependency Injection Container

2011-04-19 Thread Don Pinkster
Hello, To use my Controller as a Service I want to inject a form created by the FormBuilder into my Controller. I have it working, but I feel there must be a better way for achieving this. Can someone point me in the right direction? https://gist.github.com/7af01262e36c8931c2ef Thanks in

[symfony-users] Help needed for forms

2011-04-19 Thread Sergio Perez
Hello, I’ve spent a lot of time trying with forms in Symfony2, but I don´t got results. I want to have the typical system which let me Edit, Create and Delete a record from a database. I’ve defined: 1) MyBundle/Entity/articles.php: namespace My\BackBundle\Entity; /**

[symfony-users] Insert date into the database

2011-04-19 Thread Sergio Perez
Hello, Is there someone who tell me how can I insert new data in the DB. For retrieving, I do: $em = $this-get('doctrine.orm.entity_manager'); $data = $em-find('MyBackBundle:entity_name', $id); if (!$data) { throw

[symfony-users] Add additional column to many-to-many join table in Doctrine 2

2011-04-19 Thread symfonyMan
Hello, I think that the question is in the object :) i explain : a have 2 entities : user and groups that are associated with ManyToMany. It generate 3 tables in database : user, groups and user_groups(user_id, groups_id). my probleme is, I want to add a column in user_groups (type), I don't

[symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread voidpointer
OK. Haris, will try that out. Thanks. Cheers - VP On Apr 19, 9:13 am, Haris Fauzi haris.fa...@gmail.com wrote: In day 4 there's a link to download the stylesheets and images used for Jobeet tutorial. Download and put them in the suggested directories. Regards, Haris On 18 April 2011

[symfony-users] [sf2] [FOS] Authenticate with email or username

2011-04-19 Thread Conrad
Hi all, how can I modify the login process to allow the user to authenticate both with email address or username for the FOS UserBundle? I already looked through the default configuration but didnt find it.. Cheers, Conrad -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread voidpointer
Hmmm Haris, did that but no significant change. There is a blue/grey background colour but that is the only change. On Apr 19, 3:12 pm, voidpointer voidpoin...@rocketmail.com wrote: OK. Haris, will try that out. Thanks. Cheers - VP On Apr 19, 9:13 am, Haris Fauzi haris.fa...@gmail.com

Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
Well, you're getting close. At least now the CSS has been recognised, I suppose. Look at the HTML source and see what you're missing, e.g. if there's any IMG SRC tag then try to locate the image directly from the browser ( http://localhost:8080/images/logo.jpg,

Re: [symfony-users] Add additional column to many-to-many join table in Doctrine 2

2011-04-19 Thread Tim Nagel
To achieve this create a joining entity (UserGroup) and link it between the User and Group entities with One to Many and Many to One. It is no longer 'considered' a many to many according to doctrine, but a 1:m:1. User has many UserGroups Group has many UserGroups Then you can define what fields

Re: [symfony-users] symfony propel:build-model - Giving Error

2011-04-19 Thread Gábor Fási
Make sure you have enabled the xslt php module and restarted apache. On Apr 19, 2011 11:27 AM, Kush kushagra...@gmail.com wrote: Hi, We have installed apache friends xampp - 1.7.4 but we are getting the below error in build-model command C:\xampp\htdocs\workspace\smssymfony

[symfony-users] Re: The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Toni Van de Voorde
Same problem when upgrading to PR12. -- 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 post to this group, send email to

Re: [symfony-users] Re: The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Luis Cordova
was getting similar problem make sure on test mode that you generate proxies on the /test folder too just a hint it could as well not be it On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde toni@gmail.com wrote: Same problem when upgrading to PR12. -- If you want to report a

[symfony-users] Re: Case problem with doctrine2, symfony2 and postgresql entities

2011-04-19 Thread umpirsky
Solved http://dev.umpirsky.com/soap-server-and-test-client-with-zend_soap-symfony2-doctrine2-and-postgresql/ On 7 апр, 15:06, cgb cgbrando...@gmail.com wrote: replace main to public On 6 abr, 19:44, umpirsky umpir...@gmail.com wrote: Hi. I have a problem with doctrine2 in symfony2

[symfony-users] Re: [Symfony2] PR11 Problem loading app_dev.php

2011-04-19 Thread iturri.cf
Thanks! I changed the dev.log permissions and it worked! Anyway I'm still wondering, how the *. log files were created without write permission? If the files dev.log prod.log and had the same permissions, why did it work in production environment? On 19 abr, 06:35, Jordi Boggiano

Re: [symfony-users] The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Jordi Boggiano
On 19.04.2011 15:10, Toni Van de Voorde wrote: Hello All, I upgraded my symfony2 application from PR5 to PR11. Everything went smoothly, because my web app works fine when launching through production environment. But when I launch my app through dev environment (calling app_dev.php) my

Re: [symfony-users] Validation propagating to related entities in Symfony2

2011-04-19 Thread JF Simon
Hi guys, Totaly agree with Dennis ... this over-validation appeared to me like an error at the first time (that's why I'm here). In my case, the over-validated object has a @assert:Validate on a foreign key ... as my foreign key is not automatuically hydrated, I get a systematic error!!! I

Re: [symfony-users] Re: [Symfony2] PR11 Problem loading app_dev.php

2011-04-19 Thread Jordi Boggiano
On 19.04.2011 15:49, iturri.cf wrote: Thanks! I changed the dev.log permissions and it worked! Anyway I'm still wondering, how the *. log files were created without write permission? If the files dev.log prod.log and had the same permissions, why did it work in production environment? The

[symfony-users] Aw: Re: basic form validation

2011-04-19 Thread Conrad
i have a similar problem using annotations. I also setDataClass() to point to the model file, but the annotations are ignored completely in the FOS new user form... (although annotions:true is set in the configs)... -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Symfony 1.4 cache.yml

2011-04-19 Thread codecowboy
If I have cache set to true in settings.yml (global level, production environmentl), should I expect my cache/prod/templates to fill up? It is empty after browsing a few pages (obviously via index.php - using the production urls). Symfony version 1.4. I have tried setting with_layout to true

[symfony-users] R: Symfony 1.4 cache.yml

2011-04-19 Thread ftassi
To enable caching you have to set .settings: cache: true in settings.yml and default: enabled: false in cache.yml (in yout application or module config dir) What's in your settings.yml ? and in cache.yml ? try posting your configuration files (use pastbin or gist.github.com)

[symfony-users] Re: Pre-execute under SF2

2011-04-19 Thread Szymek
You should use http://symfony.com/doc/2.0/book/internals/kernel.html#oncorecontroller-event On 17 Kwi, 21:04, kassel alvaro.tou...@gmail.com wrote: Hi All, At last i need not to repeat some methods in some diferents actions, and at las inyect data under the wiew?, like in SF 1.4 exists

[symfony-users] Bundle does not contain any mapped entities.

2011-04-19 Thread absdv
Hi, I want to run this command in PR11 : $ php app/console doctrine:generate:entities SdvSuiviBundle And I get : Bundle SdvSuiviBundle does not contain any mapped entities. In config.yml, I have : # Doctrine Configuration doctrine: dbal: default_connection: default

Re: [symfony-users] Re: The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Ahmed Fawzy
How can I do that On Apr 19, 2011 3:21 PM, Luis Cordova cordo...@gmail.com wrote: was getting similar problem make sure on test mode that you generate proxies on the /test folder too just a hint it could as well not be it On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde toni@gmail.com

[symfony-users] Re: The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Ahmed Fawzy
How can i check this On Apr 19, 3:21 pm, Luis Cordova cordo...@gmail.com wrote: was getting similar problem make sure on test mode that you generate proxies on the /test folder too just a hint it could as well not be it On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde toni@gmail.com

[symfony-users] [Symfony2] Customize field in AdminBundle list view

2011-04-19 Thread Manne
Hi, I'm trying to get the AdminBundle running with some custom templates for the fields in a list of entities. In the documentation I've found that I could override configureListFields(ListMapper $list) and use something like: $list-get('status')-

[symfony-users] Using jroller admin interface..

2011-04-19 Thread philip obrien
I want to create a form that records events on equipment such as failures, releases, loss of redundancy and downgraded performance for a monitoring and control desk. Equipment belongs to systems and is located at a site.. I want the form to filter equipment by site or system, or both in order to

[symfony-users] Symfony Simplepie Plugin

2011-04-19 Thread corneliusparkin
Hi I hope someone can help me with this. I tried to install the Simplepie 1.2.1 plugin on Symfony 1.4.9, but when I try to install it as specified on the URL below, I received the errors below: URL: http://www.symfony-project.org/plugins/amSimplePiePlugin Install Trace:

[symfony-users] Seems to be some problem with swiftmailer?

2011-04-19 Thread hollo
Hi, I have found a weird problem, i dont really think it about swiftmailer, but with swiftmailer i can reproduce the error: When i initialize the swiftmailer class, i get an error.. i dont know if anyone can see if i does something wrong? As far as i can see it just as the manual says:

[symfony-users] R: Symfony Simplepie Plugin

2011-04-19 Thread ftassi
Same error for me on 1.4.8, maybe some errors with the package.xml file. Try with manual installation. Download the package, unzip it and copy source dir into plugin directory. Francesco -- Francesco Tassi http://about.me/ftassi -- If you want to report a vulnerability issue on symfony,

[symfony-users] Symfony2 MongoDB UserBundle - no extension able to load the configuration

2011-04-19 Thread JC
I am running the latest version of Symfony2 (PR12) and tried to use the UserBundle but it is complaining about the setting on the config.yml file that relates to MongoDB with the following exception: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'There is no extension

[symfony-users] Re: Symfony2 MongoDB UserBundle - no extension able to load the configuration

2011-04-19 Thread JC
I believe I went past the problem listed below. I just realized that Doctrine for MongoDB is not included in the PR12 distribution. So, I made the following changes: - updated AppKernel.php as follows: addednew Symfony\Bundle\DoctrineMongoDBBundle \DoctrineMongoDBBundle(), - updated

Re: [symfony-users] Re: ajax in symfony 2

2011-04-19 Thread oscar balladares
Oh, for sure. If you want just to validate a field with ajax and a controller you probably need to grep the EmailField value and attach it to a variable. If you instead want to submit the whole form with JQuery and Ajax you should want to use the .serialize() function (of JQuery + Ajax) So

[symfony-users] Re: Pre-execute under SF2

2011-04-19 Thread Dmitry Bykadorov
Can you provide any simple example? I have the same question ) On Apr 19, 10:47 pm, Szymek szewczyk.szy...@gmail.com wrote: You should usehttp://symfony.com/doc/2.0/book/internals/kernel.html#oncorecontrolle... On 17 Kwi, 21:04, kassel alvaro.tou...@gmail.com wrote: Hi All, At

[symfony-users] Re: Symfony2 validation: file constraint and mime type

2011-04-19 Thread Dmitry Bykadorov
I'm on windows7 x64 - development machine. On LAMP env i have not tested because this feature not works on win On Apr 1, 3:19 pm, Bernhard Schussek bschus...@gmail.com wrote: Hi Dmitry, What operating system do you use? Bernhard -- If you want to report a vulnerability issue on symfony,

Re: [symfony-users] Re: jobeet tutorial http://localhost:8080/frontend_dev.php/job

2011-04-19 Thread Haris Fauzi
So what's the problem now? You said your web page looks like rubbish, that was because you didn't have the images stylesheets. Now you have them in place, you should be able to have a better view of the display. Just continue the tutorial and see what you get next. When you finish day 4 then you