Re: [symfony-users] How to enable twig extensions included in symfony2 sandbox?

2011-02-02 Thread stof
On Tue, 1 Feb 2011 17:31:29 -0800 (PST), Oleg oleg.anash...@gmail.com wrote: Hello, I'm trying to use 'truncate' twig filter like this: {{ category|upper|truncate(20) }} But instead I get an error The filter truncate does not exist. I see that this filter is defined in twig.xml

[symfony-users] setFlash not working !!!

2011-02-02 Thread charanjeet
Hi all, setFlash is working prefectly fine on staging server but not on live though all the configuration is exactly same. use_flash is set to true. Please let me know what all are possible reasons... Thanks Charanajeet Kaur -- If you want to report a vulnerability issue on symfony, please

Re: [symfony-users] setFlash not working !!!

2011-02-02 Thread Gareth McCumskey
Did you clear cache? On Wed, Feb 2, 2011 at 11:18 AM, charanjeet charanjeet2...@gmail.comwrote: Hi all, setFlash is working prefectly fine on staging server but not on live though all the configuration is exactly same. use_flash is set to true. Please let me know what all are possible

Re: [symfony-users] setFlash not working !!!

2011-02-02 Thread charanjeet kaur
yes i did. still not working ! Regards Charanjeet Kaur -- On Wed, Feb 2, 2011 at 2:58 PM, Gareth McCumskey gmccums...@gmail.comwrote: Did you clear cache? On Wed, Feb 2, 2011 at 11:18 AM, charanjeet charanjeet2...@gmail.comwrote: Hi all, setFlash is working

[symfony-users] Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
Hi, I've got a problems hmm.. in fact, I do not know where :) Ok, on my machine everything works perfectly fine. Problems arise when I try to use PostgreSQL and memcached on test server. I do not have access to server configuration, so hard for me at this moment to tell anything about that -

[symfony-users] Re: [doctrine-user] Re: Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
2011/2/2 Miha Vrhovnik miha.vrhov...@gmail.com: In memcache it's typo in a config: post: 11213 should be port: 11213. Indeed. But, after fixing typo, the problem remained. It's all by the fact that I created problem - typo, I have not noticed this and I created workaround - patch for the

[symfony-users] Form widget value depends on user input

2011-02-02 Thread Apul Gupta
I would like to know if i can populate a dropdown value using another drop down value. Suppose there are 2 dropdowns, one for Author another for Books. I want to select author its related books should come to Books dropdown. I am currently doing this using ajax, On changing the author

[symfony-users] Re: setFlash not working !!!

2011-02-02 Thread Gabriel Petchesi
Other variables stored in the user session (not flash) work correctly? If not it's a problem with session saving on the server level. Also check if you do not do two or more redirects/requests thus eliminating the flash message from the session. gabriel -- If you want to report a

[symfony-users] Re: [doctrine-user] Re: Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
2011/2/2 Miha Vrhovnik miha.vrhov...@gmail.com: In memcache it's typo in a config: post: 11213 should be port: 11213. Regarding the postgres it's postgres misconfiguration. add folloving line into pg_hba.conf if not yet present host    all all 127.0.0.1/32 md5

[symfony-users] Plugin Install

2011-02-02 Thread Ravi Kotwani
Hello All, As i am a beginer in symfony. Can any one tell me the steps to use the csv import export plugin. Thankx. -- 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

[symfony-users] Re: setFlash not working !!!

2011-02-02 Thread Markus
I might have a similar problem! I use the UserBundle for Authentication/Authorisation; it works perfectly fine on my development machine (win 7) but it does not work at all at my server (ubuntu) even though i made sure that the configuration (especially the php session) is as close as possible.

[symfony-users] Re: Doctrine 2 custom mapping type in Symfony 2

2011-02-02 Thread Alexander Kachkaev
Christophe, thank you for the advice! But what about the console? As far as I understand I am not able to use all the benefits of the custom mapping type until I have generated the entities and the DB schema. And, of course, this requires the type to be registered as well. The must be a

[symfony-users] Re: Doctrine 2 custom mapping type in Symfony 2

2011-02-02 Thread Alexander Kachkaev
I guess there might be some global handler for all the resources. Thus the link to entity manager object could be extracted in autoload.php and everything would be fine. But I am not sure about this hypothesis. :) On Feb 1, 9:09 pm, Christophe COEVOET s...@notk.org wrote: Le 01/02/2011 20:04,

[symfony-users] Re: setFlash not working !!!

2011-02-02 Thread Markus
I might have a similar problem! I use the UserBundle for Authentication/Authorisation; it works perfectly fine on my development machine (win 7) but it does not work at all at my server (ubuntu) even though i made sure that the configuration (especially the php session) is as close as possible.

Re: [symfony-users] Re: trouble writing a dql query

2011-02-02 Thread Alan Bem
You can add that missing relation in config/doctrine/schema.yml 2011/1/31 Manu emmanuel.parf...@gmail.com Can I use SQL instead of DQL ? -- 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

[symfony-users] [SYMFONY 2] Session data is not saved

2011-02-02 Thread Markus
I'm tinkering around with an app that uses the UserBundle for authorisation/authentication. Everything works fine locally (Windows7 / XAMPP) but when i put it on the server the login doesn't work at all. According to the debug log the authentication is happening and successfull, but then i get

[symfony-users] Re: Check.php date.timezone how to change it

2011-02-02 Thread Stevewa
thank you. (i think?. I don't know if you were being helpful or making fun of my newbie-ness by saying check.php does not replace apache documentation. I was just trying to post a helpful remark to others who may have had the same problem. if you were being nice, then i apologize for not

[symfony-users] Re: Quick Tour Tutorial, wish to rename sandbox folder

2011-02-02 Thread Stevewa
the rename did not break it for me on ubuntu. in fact i just made an apache2 file to map the hostname to the proper folder, and everything just worked. exciting! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] [Symfony2] need sample use FileField to file upload

2011-02-02 Thread stfalcon
In my symfony2 sample project https://github.com/stfalcon/portfolio I need upload screenshots to projects. I try use FileField and debug him. But can't get it to work... I found no examples or docs of its use. Somebody used FileField in form to file upload? It's working? -- If you want to

Re: [symfony-users] Re: Doctrine 2 custom mapping type in Symfony 2

2011-02-02 Thread stof
On Tue, 1 Feb 2011 16:14:58 -0800 (PST), Alexander Kachkaev alex.kachk...@gmail.com wrote: I guess there might be some global handler for all the resources. Thus the link to entity manager object could be extracted in autoload.php and everything would be fine. But I am not sure about this

Re: [symfony-users] Re: Doctrine 2 custom mapping type in Symfony 2

2011-02-02 Thread stof
On Tue, 1 Feb 2011 14:56:40 -0800 (PST), Alexander Kachkaev alex.kachk...@gmail.com wrote: Christophe, thank you for the advice! But what about the console? As far as I understand I am not able to use all the benefits of the custom mapping type until I have generated the entities and the DB

[symfony-users] Re: Encoder error after login

2011-02-02 Thread Justin Fortier
Thanks Doug that worked for me! On Jan 13, 12:45 pm, Douglas dgreenshie...@gmail.com wrote: Hi there Instead of:   encoder:     Symfony\Component\Security\User\User: plaintext try:   encoder:     class: Symfony\Component\Security\User\User     algorithm: plaintext Douglas On Jan

Re: [symfony-users] [Symfony2] need sample use FileField to file upload

2011-02-02 Thread Gábor Fási
Your form is missing the enctype attribute. On Wed, Feb 2, 2011 at 16:04, stfalcon stepan.tanasiyc...@gmail.com wrote: In my symfony2 sample project https://github.com/stfalcon/portfolio I need upload screenshots to projects. I try use FileField and debug him. But can't get it to work... I

[symfony-users] Re: Session data is not saved

2011-02-02 Thread Markus
In the time it took for the posting to be published I realized that i was wrong - when i use the app without login there is some session data saved (default language, ...). But with login still nothing is saved. Here's an excerpt from the log. One can clearly see that it performs the

[symfony-users] Re: Symfony2 + Doctrine MongoDB : can't createQuery()

2011-02-02 Thread Adrien Mogenet
Using createBuilder() gave me a missing Hydrator class exception. I had to add this into my config.yml : doctrine_odm.mongodb: auto_generate_hydrator_classes: true On 1 fév, 21:47, Adrien Mogenet adrien.moge...@gmail.com wrote: Well, when I see it works, I should say it doesn't throw any

Re: [symfony-users] Re: Doctrine 2 custom mapping type in Symfony 2

2011-02-02 Thread Christophe COEVOET
Le 02/02/2011 17:52, stof a écrit : On Tue, 1 Feb 2011 16:14:58 -0800 (PST), Alexander Kachkaev alex.kachk...@gmail.com wrote: I guess there might be some global handler for all the resources. Thus the link to entity manager object could be extracted in autoload.php and everything would be

[symfony-users] Re: [Symfony2] need sample use FileField to file upload

2011-02-02 Thread stfalcon
I've not commited the code where I try to use the attribute because it doesn't really make any difference. Here is what I did: first I added enctype attribute to form in Project/ create.html.php and added the FileField element to Application \PortfolioBundle\Form\Project in the configure()

Re: [symfony-users] Plugin Install

2011-02-02 Thread Alex Pilon
http://www.symfony-project.org/plugins/sfCsvPlugin this? Click read me... On Wed, Feb 2, 2011 at 05:17, Ravi Kotwani ravikotwan...@gmail.com wrote: Hello All, As i am a beginer in symfony. Can any one tell me the steps to use the csv import export plugin. Thankx. -- If you want to

[symfony-users] Desactivate Twig auto escaping ?

2011-02-02 Thread Christophe Beyer
Hello, How can I desactivate the Twig auto escaping ? Thanks ! -- Christophe -- 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