Re: [symfony-users] Re: sfGuardPlugin Redirect Problem

2011-03-06 Thread Drew Sire
Ya, it seems like the other modules aren't recognizing the cookie/session as authenticated. On Sun, Mar 6, 2011 at 9:16 AM, Alex Pilon wrote: > I had a similar problem when the login success url was the homepage and the > login page was presented when viewing the homepage. > > Any possibility th

[symfony-users] Web debug toolbar javascript request goes to http:///_wdt/ domain

2011-03-06 Thread Ville Mattila
Hi there, I encountered some strange behaviour while evaluating latest Symfony2 version (from git). Everything works well, except when enabling Profiler & Web Debug Toolbar, when I see that toolbar is tried to load from an url without URL: xhr.open('GET', 'http:///_wdt/4d7363edc4688', false); I

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Vikos
I think better to use symfony 2. An ERP system is not so small ( very very huge ): - so when it will be finished the symfony 2 will have finished also ( will have been absolutely stable and tested ) - sf2 better support more than one developer... ( eg.: own routing / bundle... less SVN merge ne

Re: [symfony-users] [Symfony2] SecurityBundle - FailureHandler service

2011-03-06 Thread Francis Besset
Thanks Johannes for the response. I thought to give the configuration in the event : // Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener - Line 184 if (null !== $this->failureHandler) { $event->set('config', $this->options); return $this->failureHan

Re: [symfony-users] [Symfony2] SecurityBundle - FailureHandler service

2011-03-06 Thread Johannes Schmitt
There is an open PR for that, see https://github.com/symfony/symfony/pull/98 I'm not sure if ornicar has time, but if you like to take this on, that would be appreciated. Kind regards, Johannes On Fri, Mar 4, 2011 at 10:55 PM, Francis Besset wrote: > Hi all, > I created my failure_handler serv

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Michał Piotrowski
Ok, so he was talking about current development process not about breaking compatibility after release. 2011/3/6 Thor : > he was talking about updates in symfony 2.0.0 , since it's not yet > released. > They also told that the last backward-compatibility break has been > made 15 days ago. > For wh

[symfony-users] Re: Propel single table inheritance definition

2011-03-06 Thread Rytis Daugirdas
False alarm, it works fine. What confused me was the fact that Base[ChildClass].php files were missing. However, it turns out those files are not needed. On Mar 6, 12:05 pm, Rytis Daugirdas wrote: > Hello, > > I'm looking for an example of defining single table inheritance using > the alternativ

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Thor
he was talking about updates in symfony 2.0.0 , since it's not yet released. They also told that the last backward-compatibility break has been made 15 days ago. For what i understood, the problem is that since it's not either a release candidate yet, so you could download a so called "distribution

[symfony-users] mergeForm vs embedForm

2011-03-06 Thread Alex Pilon
Anyone know of a resource that outlines the difference between these two functions? -- Alex Pilon (613) 608-1480 -- 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 Grou

Re: [symfony-users] Re: sfGuardPlugin Redirect Problem

2011-03-06 Thread Alex Pilon
I had a similar problem when the login success url was the homepage and the login page was presented when viewing the homepage. Any possibility that might be part of the issue? On Mar 6, 2011 5:09 AM, "Drew Sire" wrote: Reproduce Problem http://184.73.247.117/backend.php username = d...@buzzybe

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Michał Piotrowski
2011/3/6 Thor : > what fabien himself said is that it's really possible that further > updates on the sf2 distributions could break backward compatibility. About what updates he was talking? Did he meant 2.0.x updates or 2.x updates? When it comes to the first, I would rather advocate to delay Sym

Re: [symfony-users] [Symfony 1.4] Deploying on Windows

2011-03-06 Thread cosmos monster
Hi. command.php page upload to yourself server. command page content: Run script http://www.yourdomain.com/comman.php On Sun, Mar 6, 2011 at 5:28 PM, Gareth McCumskey wrote: > On your server in your project root run "symfony project:permissions" which > will automatically set the right permi

Re: [symfony-users] Re: sfGuardPlugin Redirect Problem

2011-03-06 Thread Drew Sire
Reproduce Problem http://184.73.247.117/backend.php username = d...@buzzybeemarketing.com password = testing File /var/www/html/ palcheck-1.0.com/plugins/sfGuardPlugin/modules/sfGuardAuth/actions/ Here is the code causing the problem. When originally set to @homepage, it creates an infinite redir

[symfony-users] Propel single table inheritance definition

2011-03-06 Thread Rytis Daugirdas
Hello, I'm looking for an example of defining single table inheritance using the alternative schema syntax. The following does not work (no child classes are generated): ParentClass: ... columns: type: { type: varchar, size: 50, required: true } ... inheritance: co

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Justen Doherty
I would always lean towards having a solid, well used release of software - the problem with relatively beta versions is that when you hit a brickwall the chance of finding a solution will be a lot harder (and you might sometimes have to get your hands dirty finding a solution) rather than a mature

Re: [symfony-users] How to change default sfValidatorString max length message?

2011-03-06 Thread Gábor Fási
Just a tip, but won't `sfValidatorBase::setDefaultMessage("max_length", "whatever")` work? This is how I set default required and invalid messages in my project configuration class. On Tue, Jan 18, 2011 at 18:47, Basil Hussain wrote: > I have a couple of forms with many sfValidatorString validato

Re: [symfony-users] [Symfony 1.4] Deploying on Windows

2011-03-06 Thread Gareth McCumskey
On your server in your project root run "symfony project:permissions" which will automatically set the right permissions. The permissions issue is the same even if you use other deployment methods (like svn for example). Just be aware of it and each time you update run that symfony command. 2011/

[symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Thor
what fabien himself said is that it's really possible that further updates on the sf2 distributions could break backward compatibility. So if you're going to plan a big system, the lifespan of the system becomes a very important variable: i guess it has to live more than a couple of years, so, star

Re: [symfony-users] How to change default sfValidatorString max length message?

2011-03-06 Thread Gareth McCumskey
Overwrite the constructor of the sfValidatorString class to force your own message on all sfValidatorString objects: class mySfValidatorString extends sfValidatorString { public function _construct ($options, $messages) { $messages = array("max_length"=>"Your message here"); parent::_c

[symfony-users] Re: How to change default sfValidatorString max length message?

2011-03-06 Thread Thor
or you could create the validator with the array of the messages already compiled: ... new sfValidatorString(array(),array('max_lenght'=>"NOOO",'min_lenght'=>'nooo')) On 4 Mar, 18:06, Ben wrote: > inside your form's configure method, you need to set the error message > for each error on each val