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);

[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,

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.

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 basil.huss...@experience-engine.co.uk wrote: I have a couple of forms

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

[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:

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

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: ?php echo shell_exec (php /domains/47006/symfony project:permissions); ? ?php echo shell_exec (php /domains/47006/symfony cc); ? Run script http://www.yourdomain.com/comman.php On Sun, Mar 6, 2011 at 5:28 PM, Gareth

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

2011-03-06 Thread Michał Piotrowski
2011/3/6 Thor thorste...@gmail.com: 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

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 nathandrews...@gmail.com wrote: Reproduce Problem http://184.73.247.117/backend.php

[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

[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] 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 rytis.daugir...@gmail.com wrote: Hello, I'm looking for an example of defining single table inheritance

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 thorste...@gmail.com: 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

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 francis.bes...@gmail.comwrote: Hi all, I created

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

[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

[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

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 alex.pi...@gmail.com wrote: I had a similar problem when the login success url was the homepage and the login page was presented when viewing the homepage.