You cannot post messages because this group is only available as an archive.
|
Date field displays error of other field. Maybe bug?
|
| |
I have two fields in my form, integer and date. Entering letters instead numbers in first field causes error message to be displayed on both fields. Is this bug in Symfony or I am doing something wrong?
Here are steps to reproduce it:
Controller:
[code]
public function indexAction(Request $request)... more »
|
|
Clearing Cache - Fatal Error
|
| |
When I run php app/console clear:cache env=prod (or env=dev), I get a Fatal Error: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /Users/nate/Sites/jobeet.local /vendor/twig/lib/Twig/Node/For .php on line 98 I'm running MAMP - and when I modify the php.ini file to adjust the memory to something like 256M, it still throws the error.... more »
|
|
Symfony 2.0.15 and dependency management with composer
|
| |
Hello, is there a way to enable the dependency management with composer which is in Symphony 2.1 on a Symfony 2.0 project please ? we are starting a new big project in Symfony2 and we would like to start immediately with composer rather than waiting for the 2.1 Thanks in advance for your answer. Best regards,... more »
|
|
Domain context
|
| |
Hi, I'm developing an application where each user can create his own page with it's own domain. My question is: how is the best way to get the user informations by site domain (url)? I've thought of working with contextualized factories, injecting the URI instance in the factory (DI), returning a user instance by domain (url), but I don't know if it is a good pratice. If the user is disabled, how do I redirect the user without repeat code in all controllers? In the factory certainly isn't the best place to do it.... more »
|
|
How can i cancel PostValidator ?
|
| |
I set post validator in embedded form: class myEmbeddedForm extends BaseForm { function configure() { ... $this->validatorSchema->setPos tValidator(new sfValidatorCallback(array( 'callback' => array($this, 'embeddedPostValidator') ))); } function embeddedPostValidator($validat or, $values) {... more »
|
|
|