[symfony-users] SfGuardAuth - Signin Component.

2011-01-22 Thread lmwood
Hi All, I've included sfGuardAuth's signin form in my layout using a component but if you get your username or password wrong it will redirect to the signing action thus having two signin forms on one page. How can I make sure it uses the component to display login errors and does not redirect

[symfony-users] Re: Output escaper in template

2011-01-22 Thread Vikos
it's simple: get the unescaped object/variable first... and call your function... ver a.: $sf_user-getRawValue()-getTopics(); ver b.: sfOutputEscaper::unescape($sf_user)-getTopics(); be careful: the symfony doesn't escape nulls and integers... so the getRawValue cause undefined function

[symfony-users] Re: Using adoDB with symfony

2011-01-22 Thread Vikos
with oracle better to use oci8 - much stable than PDO_OCI Doctrine work's well with oci8! I don't have any experience with oracel and propel... PDO_OCI doesn't support well the large objects... On Jan 21, 6:37 pm, Manuel Alejandro Gómez Nicasio alejandro.go...@alejandrogomez.org wrote:

[symfony-users] [sf2] Symfony2 generic routes - automaticaly resolved controller

2011-01-22 Thread Wojciech Sznapka
Hi, how can I write routes to achieve something like generic route, which redirects to dynamically resolved controller? generic: pattern: /{_controller}/{_action} defaults: {_bundle: ExpencesBundle} I want this route to be kind of generic catch-all. So it will do following routings;

Re: [symfony-users] [sf2] Symfony2 generic routes - automaticaly resolved controller

2011-01-22 Thread Christophe COEVOET
Le 22/01/2011 16:14, Wojciech Sznapka a écrit : Hi, how can I write routes to achieve something like generic route, which redirects to dynamically resolved controller? generic: pattern: /{_controller}/{_action} defaults: {_bundle: ExpencesBundle} I want this route to be kind of generic

Re: [symfony-users] [symfony2] User authentication and session persistence problem

2011-01-22 Thread taidehuone
Hi, That sounds logical, all the login configuration is now listed under the main firewall and there are no other firewalls. I also created an access map rule for anonymous users for the login page as both you and the master docs suggest. It did not solve or change the situation and the weird php

Re: [symfony-users] [symfony2] User authentication and session persistence problem

2011-01-22 Thread taidehuone
I have successfully fixed the PHP notice error, but the persistence problem still exists. I had a private id field in one of the associated entities. PHP's sleep functionality does not work on private properties and this resulted in a notice even though the associated entity was replaced with a

[symfony-users] Re: Grails to Symfony2 Benchmark

2011-01-22 Thread maxarbos
I was talking to our network administrator for our grails project and he was saying that the machines we have that run our grails projects get faster with higher load. Something to do with the architecture of the machines and being optimized for Java apps. Maybe this has something to do with it as

[symfony-users] Help with form validators

2011-01-22 Thread Eric B.
Hi, This is probably a basic question, and yet I can't seem to figure out the best way to do this. I have a registration form that has several fields, including 2 dependent ones: - Country - State. If Country == Canada, then I want the state field to have a drop down of all provinces If Country

Re: [symfony-users] [symfony2] User authentication and session persistence problem

2011-01-22 Thread taidehuone
It is worth mentioning that the user object IS stored into sessions by symfony2 itself and the session IS persisted over page loads, but the session data is not used to authenticate the user after login_check, and I am authenticated as anon again. What part of symfony2 determines what data to use

[symfony-users] Re: symfony cache doubt

2011-01-22 Thread Richtermeister
I believe you can make the cache key whatever you want... so in your case just module/action and whatever neccessary parameter, but not user id. I've used this in reverse, where I had the same url for everybody, but depending on the login status and session id I'd generate a unique cache key,

[symfony-users] Re: Using adoDB with symfony

2011-01-22 Thread Manuel Alejandro Gómez Nicasio
I have never heard about oci8. It's seems it could be helpful. How do you configure doctrine to work with oci8? is oci8 a good replacement for pdo_oci? someone has used oci8 with propel? thanks a lot, vikos. On Saturday, January 22, 2011 7:36:08 AM UTC-6, Vikos wrote: with oracle better to