[symfony-users] Re: Interface hardware device

2011-04-07 Thread ken
try an active x for IE -- 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 symfony-users@googlegroups.co

Re: [symfony-users] Symfony2 and Netbeans

2011-04-07 Thread Conrad
I'm working in Netbeans too for a couple of days in a sf2 project and it works very nice - but I didn't tell Netbeans that this is a Symfony project, just a regular PHP.. Autocomplete and all the nice dev stuff is also very good. Check out the Netbeans Twig Plugin (not stable or finished yet but

[symfony-users] [New Forms] Override Widget Theme

2011-04-07 Thread ericclemmons
I was noticing the default themes here: https://github.com/bschussek/symfony/tree/experimental/src/Symfony/Bundle/TwigBundle/Resources/views If I specify a theme, where exactly do I need to place these files and do I use a simple name or a bundle path? $this->get('form.factory')->createR

[symfony-users] Which is the official Symfony2 users forum?

2011-04-07 Thread keymaster
Is it this google group, or http://forum.symfony-project.org/viewforum.php?f=23 Both seem to be fairly active. Would it make sense to consolidate into a single place? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received t

[symfony-users] Interface hardware device

2011-04-07 Thread Srivatsa Prasad
Hi, I have a RFID R/W that will be plugged in at the client end, i need to R/W data into the RFID , i know browser cannot interact with the hardware device, any idea on how to take it further. -- Thanks & Regards Srivatsa -- If you want to report a vulnerability issue on symfony, please send i

[symfony-users] [Symfony2] Problem with service on CLI commands

2011-04-07 Thread Gustavo Adrian
Hi all, I have a service which needs the request service as its first argument. So far, I've been using this since it's the only way I've found that works for me: It works nice. But the problem appears if I want to access this service from a CLI command. Obviusly, it throws this excep

Re: [symfony-users] Serialisation including routing - where should this code go?

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 10:36, OnDistantShores a écrit : I'm used to using MVC where models can serialise themselves (into an array, which is easily JSON-able). I'm trying to build an API app where multiple views in multiple modules serialise the same object. I can easily add that code to the model, which

Re: [symfony-users] Symfony2 and Netbeans

2011-04-07 Thread oscar balladares
As far as I know there is no support for S2 in Netbeans. The file you are liooking for is ~/app/console Regards. 2011/4/7 JC > where did data/bin/symfony file go? > It is required by NetBeans as part of the Symfony/Tools setup. > > It was there and assumed to be there by Netbeans in the 1.x ve

Re: [symfony-users] Serialisation including routing - where should this code go?

2011-04-07 Thread Jeremiah Dodds
On Thu, Apr 7, 2011 at 4:36 AM, OnDistantShores wrote: > I'm used to using MVC where models can serialise themselves (into an > array, which is easily JSON-able). > > I'm trying to build an API app where multiple views in multiple > modules serialise the same object. I can easily add that code to

[symfony-users] Symfony2 and Netbeans

2011-04-07 Thread JC
where did data/bin/symfony file go? It is required by NetBeans as part of the Symfony/Tools setup. It was there and assumed to be there by Netbeans in the 1.x version -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-07 Thread smontes
I am using your example and PR8 but it doesn't work, in my case my method getSalt return null, because I am not encripting the password. >public function getSalt() >{ >return null; >} When I introduce the username and passwork incorrect it is shown "Bad credentials" but if the

[symfony-users] problem with credentials [authentication not working]

2011-04-07 Thread Jehan
Dear All I am using symfony 1.4 I have a module named "hello", indside it I created config folder and placed security.yml, following is configuration of it -- test: is_secure: true credentials: theAdmin -- I set authentication to true using foll

[symfony-users] Re: [DIC] $container->set('foo', $barObject) does not exist in controller??

2011-04-07 Thread ericclemmons
I recognize the purpose, but thought the actual behavior was: "$container->set('foo', 'bar');" will store just fine With methods like "setDefinition", "setAlias", etc., it was assumed that treating it as a ParameterBag via "set" would behave as expected. Ideally, rather than failing silently, Co

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 19:29, seven seven a écrit : Now I am getting the Column 'root' cannot be null Is there a special way to set my obj as root ? thanks! I'm not sure if Gediminas is on this ML. You should open a ticket on the github repository of the extensions to get help from him directly. -- Ch

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread seven seven
Now I am getting the Column 'root' cannot be null Is there a special way to set my obj as root ? thanks! On Thu, Apr 7, 2011 at 7:41 PM, Christophe COEVOET wrote: > Le 07/04/2011 18:22, seven seven a écrit : > > /** >> * @orm:gedmo:Tree(type="nested") >> * @orm:Table(name="GroupPageEngines")

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 18:22, seven seven a écrit : /** * @orm:gedmo:Tree(type="nested") * @orm:Table(name="GroupPageEngines") * @orm:Entity(repositoryClass="Gedmo\Tree\Entity\Repository\NestedTreeRepository") */ Class GroupPageEngine { You are using two prefixes for the annotations. This is why it

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread seven seven
Here is what I have in my app/config/config.yml : doctrine: dbal: default_connection: default connections: default: driver: %database_driver% host: %database_host% dbname: %database_name% user:

[symfony-users] Re: Sphinx + Symfony 2

2011-04-07 Thread badllama77
Sorry for the late reply but what does using sphinx have to do with doctrine? Sphinx always returns document id's which if you want the related information you have to retrieve it from the db. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 18:01, seven seven a écrit : Here is the code I am using in my controller to insert the data : $group = new GroupPageEngine(); $group->setInternalName('HomePage'); $group->setTitle('HomePageT'); $em = $this->get('doctrine.orm.entity_manager'); $em->persist($gr

Re: [symfony-users] [DIC] $container->set('foo', $barObject) does not exist in controller??

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 17:54, ericclemmons a écrit : I have a very simple bundle where I parse a config to store objects in the DIC... class MyGreatExtension extends Extension { public function load(Array $config, ContainerBuilder $container) { ... $container->set('my.great.col

Re: [symfony-users] Save untranslated Strings with the FrameworkBundle

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 15:15, Dennis Gädeke a écrit : Hi, i want to save untranslated strings to a database. Is there a way to extend the translation in the FrameworkBundle? Add a custom translator, a listener i can use or something else? Thanks, Dennis Look at https://github.com/jfsimon/RosettaBundle

Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread seven seven
Here is the code I am using in my controller to insert the data : $group = new GroupPageEngine(); $group->setInternalName('HomePage'); $group->setTitle('HomePageT'); $em = $this->get('doctrine.orm.entity_manager'); $em->persist($group); $em->flush(); Anything wrong he

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

2011-04-07 Thread cgb
replace "main" to "public" On 6 abr, 19:44, umpirsky wrote: > Hi. > > I have a problem with doctrine2 in symfony2 app with postgres > database. > > I get error: > >     SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema "main" does > not exist > > Problem is that my schema is Main not main. Wh

[symfony-users] [DIC] $container->set('foo', $barObject) does not exist in controller??

2011-04-07 Thread ericclemmons
I have a very simple bundle where I parse a config to store objects in the DIC... class MyGreatExtension extends Extension { public function load(Array $config, ContainerBuilder $container) { ... $container->set('my.great.collection', new ArrayCollection); // var_dump

[symfony-users] Symfony2 and MongoDB

2011-04-07 Thread Poida
Hi All, I hope I'm posting to the correct group! I am developing a new application based on: Symfony 2 PR9 w/ doctrine-mongodb and doctrine- mongodb-odm. I am using yaml annotations to generate my schema/ documents. As far as I can tell the application is working correctly and I am able to find do

[symfony-users] plugins schema problems

2011-04-07 Thread DreadsnCo
Hi everybody, I use sfEasyCmsAdmin, and would like to add two new fields on my database. I change my class on :: lib/model/doctrine/sfEasyCmsPlugin/, lib/forml/doctrine/sfEasyCmsPlugin/, lib/filter/doctrine/sfEasyCmsPlugin/ Then I added new fields on sfEasyCmsPlugin schema.yml and clear cache

[symfony-users] Save untranslated Strings with the FrameworkBundle

2011-04-07 Thread Dennis Gädeke
Hi, i want to save untranslated strings to a database. Is there a way to extend the translation in the FrameworkBundle? Add a custom translator, a listener i can use or something else? Thanks, Dennis -- If you want to report a vulnerability issue on symfony, please send it to security at symfon

[symfony-users] [Symfony2] [ODM] Best Practice SoftDelete

2011-04-07 Thread Conrad
Hi all, I was trying to integrate the Doctrine MongoDB Softdelete Extension to my (yet very simple test) application following briefly the instructions on the Readmeand for the configuration on the Bundle

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
Ok so how I can create a real class (i.e: with setPseudo() methods) from my mapping class (which was named Acme.MyBundle.Entity.User.php) ? -- 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 subs

[symfony-users] Re: [Form] Data object property is still updated, even after associated Field is removed.

2011-04-07 Thread Donald
Well, after a fresh look at it this morning, turns out I'm an idiot. There was a line of code that caused form in question to be re-created after I had removed the fields. On Apr 7, 8:59 am, Donald wrote: > I'd be glad to check it out. Is there any documentation on how to > migrate my code to fu

[symfony-users] Re: [Symfony2] [Form] Data object property is still updated, even after associated Field is removed.

2011-04-07 Thread Donald
I'd be glad to check it out. Is there any documentation on how to migrate my code to function with this experimental branch? For example: I'm getting errors about "form.context" service not existing. On Apr 7, 7:39 am, Bernhard Schussek wrote: > Hi Donald, > > Can you verify whether this problem

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 15:31, JeanChristophe a écrit : 4) I create Entity directory in src/Acme/MyBundle I create the class Acme.MyBundle.Entity.User.php in this directory witch contains: The class file is User.php, not Acme.MyBundle.Entity.User.php Generating entities for "AcmeMyBundle" generating

[symfony-users] Re: Errors in "Creating pages in Symfony 2" chapter of the book

2011-04-07 Thread weaverryan
Hey Mike- I was a little behind on the Trac tickets, but I closed all Symfony2 docs Trac tickets yesterday. Posting here, creating tickets and creating pull requests are all good options (pull requests are the best option) - I try to keep a pulse on everything. Thanks! On Apr 6, 11:42 am, oscar

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
OK. I give you all details with I have understand about the online documentation. 1) Create the bundle: php app/console init:bundle "Acme\MyBundle" src > - The bundle "AcmeMyBundle" was created at "src/Acme/MyBundle" and is > using the namespace "Acme\MyBundle". > - The bundle contains a sample co

[symfony-users] Re: Overriding Bundle Templates doesn't work

2011-04-07 Thread weaverryan
Hey guys- The correct docs link is here: http://symfony.com/doc/2.0/book/templating.html#overriding-bundle-templates There in fact *was* a bug in and around PR7 and PR8, though I don't know the exact versions. I've just pulled down the symfony-standard distribution and successfully overridden t

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread weaverryan
Hey Jean- After all of the changes, what exactly do you have now (perhaps paste your User class again), and what is the error? Symfony's documentation coverage of Doctrine will be improved shortly - I want to make sure we address and correctly explain the process (so I want to see what your curre

Re: [symfony-users] Re: How to do something after user is authorized

2011-04-07 Thread Azat
Thanks a lot. It works! -- 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 symfony-users@googlegroups.c

[symfony-users] Re: [Symfony2] [Serializer] Missing functionnality in XmlEncoder ?

2011-04-07 Thread Joel Wurtz
Wrong group go here please => https://groups.google.com/forum/#!topic/symfony-devs/UVTmvjkN3M4 -- 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"

[symfony-users] Recaptcha validation in symfony 2

2011-04-07 Thread symfonyMan
Hello, i installed and well configured the EWZRecaptchaBundle (https:// github.com/excelwebzone/EWZRecaptchaBundle). In my AccountBundle/Form/UserForm i added $this->add(new RecaptchaField('recaptcha')); In the form i see the recaptcha field good ( i can change the image...) but when i submit t

Re: [symfony-users] [Symfony2] [Form] Data object property is still updated, even after associated Field is removed.

2011-04-07 Thread Bernhard Schussek
Hi Donald, Can you verify whether this problem still occurs with the experimental Form branch: https://github.com/bschussek/symfony/tree/experimental Thanks, Bernhard -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received thi

[symfony-users] [Symfony2] [Serializer] Missing functionnality in XmlEncoder ?

2011-04-07 Thread Joel WURTZ
Hello, I'm trying to encode a array with the XmlEncoder but i do not find any solution to have this xml : elem_value After looking at the code it seems this can't be done (the only way is with item but we can't specifiy the element name) A workaround would be, like attributes, to set a specific

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
Yes it is. I don't understand... -- 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 symfony-users@googl

Re: [symfony-users] Re: How to do something after user is authorized

2011-04-07 Thread Azat
Thanks. I will try! -- 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 symfony-users@googlegroups.com T

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 14:28, JeanChristophe a écrit : OK but in my first post, I have already put annotations in my class. So what is the problem now ? - My class is correctly completed with annotations so mapped. - My database is correctly available, and tables are already successfully generated by Doc

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
OK but in my first post, I have already put annotations in my class. So what is the problem now ? - My class is correctly completed with annotations so mapped. - My database is correctly available, and tables are already successfully generated by Doctrine. - My Bundle configuration is OK. - My con

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 14:05, JeanChristophe a écrit : OK but how I can designed this mapping just for this unique class file User.php ? The documentation on Symfony about Doctrine is very little, and the Doctrine Documentation doesn't consider the Symfony2 context. Thanks a lot, JeanChristophe. The mapp

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
OK but how I can designed this mapping just for this unique class file User.php ? The documentation on Symfony about Doctrine is very little, and the Doctrine Documentation doesn't consider the Symfony2 context. Thanks a lot, JeanChristophe. -- If you want to report a vulnerability issue on symf

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 13:48, JeanChristophe a écrit : @Christophe COEVOET: Thanks you very much. So, I have correctly placed my class in Entity dir, and with app/ console, Symfony2 have created the good associated class: Entity \User.php But, I have now another problem. I have write a little controlle

[symfony-users] Re: Changing the validator of an embedded form field

2011-04-07 Thread Javier Garcia
On Mar 27, 1:01 am, Javier Garcia wrote: > > But.. why if paginas has a validator-pass? > Well, I have learned the validatorPass doesn't mean "it always passes validation"...Now I have change my code but it neither works...This is my new code: var_dump($this->embeddedForms['Libro']->validatorSc

[symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
@Christophe COEVOET: Thanks you very much. So, I have correctly placed my class in Entity dir, and with app/ console, Symfony2 have created the good associated class: Entity \User.php But, I have now another problem. I have write a little controller but when I execute the script, one error is re

Re: [symfony-users] [symfony2] Accessing the Entity Manager from Entities

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 12:17, Michel a écrit : Hello, I'm trying to migrate an application to sf2 and I don't know how to solve the following problem: When showing an item (route like /item/show/{id}), I want to be able to directly go to previous and next items (according to sort order). In symfony1,

[symfony-users] [symfony2] Accessing the Entity Manager from Entities

2011-04-07 Thread Michel
Hello, I'm trying to migrate an application to sf2 and I don't know how to solve the following problem: When showing an item (route like /item/show/{id}), I want to be able to directly go to previous and next items (according to sort order). In symfony1, I had 2 methods in the Item class that re

[symfony-users] Re: JSON default content type

2011-04-07 Thread OnDistantShores
Argh, I looked in there earlier too but thought they were all HTML header options. That's perfect, thanks! On Apr 4, 4:54 pm, Massimiliano Arione wrote: > Open config/view.yml file in your application. > First 3 lines (excluding comments) are > > default: >   http_metas: >     content-type: text/

Re: [symfony-users] Re: How to do something after user is authorized

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 12:09, Azat a écrit : And without this bundle? Implement your own listener on this event. The link was to show you an example on how to do this. -- Christophe | Stof -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com Yo

Re: [symfony-users] Re: How to do something after user is authorized

2011-04-07 Thread Azat
And without this bundle? -- 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 symfony-users@googlegroups.

Re: [symfony-users] Re: "String" does not exist

2011-04-07 Thread Christophe COEVOET
Le 06/04/2011 19:53, Conrad a écrit : No I dont have that Class - the setProfileImageUrl method I was posting was auto-generated by doctrine using the old documentation /** @Field(type="String") */ I had.. Maybe that's why Doctrine thought of it as it would be a root-namespaced Class.. -- If yo

[symfony-users] Re: How to get the database password and login in symfony 1.4 ?

2011-04-07 Thread Flukey
Actually, I made a mistake you wouldn't do this in the action: $config[$options['env']][$ options['name']] = array( 'class' => $options['class'], 'param' => array_merge(isset($config[$options['env']][$options['name']]['param']) ? $config[$options['env']][$options['name']]['param'

Re: [symfony-users] Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 11:37, JeanChristophe a écrit : Hello All, I have just created the file: "Acme.MyBundle.Entity.Users.php" in: Acme/MyBundle/Resources/config/doctrine/metadata/orm witch contains: ... but when i execute: "php app/console doctrine:generate:entities AcmeMyBundle", I have the follow

[symfony-users] Re: How to get the database password and login in symfony 1.4 ?

2011-04-07 Thread Flukey
In sfDoctrinePlugin, you can look at the file: sfDoctrineConfigureDatabaseTask.class.php: protected function execute($arguments = array(), $options = array()) { // update databases.yml if (null !== $options['app']) { $file = sfConfig::get('sf_apps_dir').'/'.$options['app'].

Re: [symfony-users] Symfony2 getOriginalName()

2011-04-07 Thread aurelijus
There is no real explanation I think. I was asking for this, but didn't get any answer. You can use getName() if you are not using Form for uploading file. And in case you are using it, you can getOriginalName from File field. -- Aurelijus Valeiša On Thu, Apr 7, 2011 at 8:32 AM, Кирилл Кокоша

[symfony-users] Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread JeanChristophe
Hello All, I have just created the file: "Acme.MyBundle.Entity.Users.php" in: Acme/MyBundle/Resources/config/doctrine/metadata/orm witch contains: ... but when i execute: "php app/console doctrine:generate:entities AcmeMyBundle", I have the following error: "No identifier/primary key specified

[symfony-users] Serialisation including routing - where should this code go?

2011-04-07 Thread OnDistantShores
I'm used to using MVC where models can serialise themselves (into an array, which is easily JSON-able). I'm trying to build an API app where multiple views in multiple modules serialise the same object. I can easily add that code to the model, which works fine. However the problem arises when I tr

[symfony-users] Re: [PR10] "String" does not exist

2011-04-07 Thread Conrad
Thanks for your reply, yes I found something.. and it helped a bit :) doctrine also made a datatype out of it: /** * Set profileImageUrl * * @param String $profileImageUrl */ public function setProfileImageUrl(\String $profileImageUrl) { $this->profileImageU

[symfony-users] [sf2] [PR10] "String" does not exist

2011-04-07 Thread Conrad
I just started with a project using the FOC UserBundle - after some issues I finally had the Login form under /login. But when I tried to login with a generated user I simply got an error saying *Invalid type specified "String"* * * Thats the dev.log entry for this unsuccessful login try (message

[symfony-users] Symfony2 getOriginalName()

2011-04-07 Thread Кирилл Кокоша
Hello to all. Anybody knows why after PR8 in Symfony\Component\HttpFoundation\File was deleted function getOriginalName() -- 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 Goog

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

2011-04-07 Thread umpirsky
Hi. I have a problem with doctrine2 in symfony2 app with postgres database. I get error: SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema "main" does not exist Problem is that my schema is Main not main. When I rename it, similar thing happends for table relation: SQLSTATE[42P01]:

[symfony-users] Re: "String" does not exist

2011-04-07 Thread Conrad
I struggeld with the Boolean type yesterday evening with no success and gave up for yesterday... this morning - everything worked fine... I can register, login, logout, change everything the FOS user bundle provides.. maybe that Boolean thing was really something in the cache that I corrected w

[symfony-users] Re: "String" does not exist

2011-04-07 Thread Conrad
No I dont have that Class - the setProfileImageUrl method I was posting was auto-generated by doctrine using the old documentation /** @Field(type="String") */ I had.. Maybe that's why Doctrine thought of it as it would be a root-namespaced Class.. -- If you want to report a vulnerability issu

[symfony-users] How to get the database password and login in symfony 1.4 ?

2011-04-07 Thread Manu
Hi all, I want to execute the command mysqldump, which requires the login and password of the database. How do I get those values in an action ? -- 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 ar

Re: [symfony-users] ajax chellanging question

2011-04-07 Thread Gareth McCumskey
Using the ajax function inside JQuery. Your question is like asking "How do I use PHP?". There is a lot you need to know and can't be described in a single message on the message lists. Read the site and learn how JQuery works and then learn how to use the ajax functions within JQuery. On Thu, Ap

Re: [symfony-users] ajax in symfony [error:javascript.php not found]

2011-04-07 Thread Gareth McCumskey
You should use Javascript yourself in the good old fashioned way, including all your own js files. You can use Javascript libraries as well like Jquery which makes things a lot simpler. On Wed, Apr 6, 2011 at 1:16 PM, Jehan wrote: > Dear all > > I want to use ajax functionality but getting error

Re: [symfony-users] ajax chellanging question

2011-04-07 Thread Jehan
I know it can be done by jquery but how. On Thu, Apr 7, 2011 at 11:59 AM, Gareth McCumskey wrote: > http://jquery.com/ > > On Wed, Apr 6, 2011 at 9:59 PM, Jehan wrote: > >> >> Dear All >> >> I am using symfony 1.4. >> I want to show data in table format, with each record show a hyperlink. >>

Re: [symfony-users] Re: How to do something after user is authorized

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 08:40, Azat a écrit : I need to update field lastLoginTime when user is logged in. How can I do this? Without redirect of course, is User model in Security Bundle support this? This can be done using the interactive_login event. Look at https://github.com/FriendsOfSymfony/UserBun