When I set failure_forward to true in my firewall configuration, I get
a "Call to a member function get() on a non-object" in my controller.
This is because the call to $this->get('request')->getSession()
returns null. Is this a bug in Symfony or is the FOSUserBundle the
cause here?
This is my fir
There is a similar discussion here:
http://groups.google.com/group/symfony-users/browse_thread/thread/5859dd2e41c8262d/22da2bc0047d523d?lnk=gst&q=state+city#22da2bc0047d523d
As for myself, I've been using an EventSubscriber and listing to the
`postBind` event of one of the entities to gather the
Le 26/05/2011 21:49, thesaint a écrit :
I'm having a hard time understanding how the new form system really
*works*. I understand the examples from the book and have no problem
customizing the form templates. But how the different classes relate
to each other, what class creates what effect, I ha
I'm having a hard time understanding how the new form system really
*works*. I understand the examples from the book and have no problem
customizing the form templates. But how the different classes relate
to each other, what class creates what effect, I have no idea. It
would be cool to have some
In my application I have users and every user has one or more customer
entities. Users and customers both have a mandatory email field. When
a new user signs up, I embed the customer form in the user form, but
only want to present one email field to the user. How can I send the
value from the field
I'm doing it bypassing the entity from the form (obviously) to the entity's
repository;
the repo has a persistEntity(Entity entity) method, which encode the
password
and persist it with an entity_manager instance available in the repo
context.
This clears the controller from doing all that nasty
Thank you very much!
With those tips I fixed it !!!
2011/5/26 Matt Robinson
> On 26 May 2011, at 06:37, oscar balladares wrote:
>
> I'm having troubles getting Symfony2 to work on a Shared Hosting
> enviroment.
>
> […]
>
> My .htaccess file reads as follow:
>
>
> RewriteEngine On
> R
I have an setting loaded from my config and depending on this entry I
want the link in my menu to point to something different.
my_conf:
item: item_name
I have a service that runs to pull out the entity with the name
item_name and then I am able to access that entitys id property. In
the contr
Hi,
I have a problem with a design for a form... hope someone can give me
some inspiration:
I have this table:
Location:
id
location_name:
Config:
id
config_name
LocationConfig:
location_id
config_id
value
now, i dont really see how i can set this form up, the plan way to
have a
You should create the modules sfGuardAuth, sfGuardUser,
sfGuardPermission, sfGuardGroup, etc (only the ones you need changed)
and override the files you need customized.
Symfony will automatically assume the new files as default.
Regards,
Paulo
On May 26, 12:04 am, hayden wrote:
> Can anybody
Latest checkpoint, security.yml:
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
providers:
in_memory:
users:
sas: { password:
bb87a29949f3a1ee0559f8a57357487151281386, roles: 'ROLE_USER' }
admin: { pas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
bumping this up as i got no reply...
any input?
Am 11.05.2011 11:24, schrieb David Buchmann:
> hi,
>
> i have binary content that i have to deliver to the client. what is the
> right way to do it? i found two solutions, but neither seems really good.
Hi,
Well, the best would be not to modify the original tcpdf library but the
plugin itself.
Send me a contribution request if you have a patch so you can commit.
See you. COil
2011/5/25 r...@donax.ch
> Hi,
>
> I recently experienced problems when creating pdf files from html
> content using t
I can't run CLI sismo on Windows7 (because it uses posix commands i
mean). On linux i did'nt try it for now.
Btw thanks guys!
p.s. I'm worked on git pre-commit hook with php sniffer for windows.
Anybody interested i it?
On May 26, 3:19 pm, Christophe COEVOET wrote:
> Le 26/05/2011 13:16, Dmitry
Now I'm getting
'LogicException' with message 'No authentication listener registered
for pattern "^/".
and it looks like I'm not alone
http://forum.symfony-project.org/viewtopic.php?f=23&t=35423
On May 26, 11:58 am, umpirsky wrote:
> I managed to implement my own factory class UrlLoginFactory
Le 26/05/2011 13:16, Dmitry Bykadorov a écrit :
ci.symfony.com uses sismo? or something else?
It uses Jenkins. Sismo is not a full featured CI system.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receive
ci.symfony.com uses sismo? or something else?
On May 26, 3:01 pm, Christophe COEVOET wrote:
> Le 26/05/2011 12:48, Dmitry Bykadorov a crit :> Hi there!
>
> > I'm looking for Symfony / Symfony2 coding standards configurations for
> > PhpStorm and PHP Code sniffer. Tell me, such a configuration e
Listo,
me falataba eliminar el cache y los archivos yml con la notación de la
beta1, pero gracias de todas formas.
Saludos,
Zacarías
On 26 mayo, 13:11, Zacarías wrote:
> Hola Javier,
>
> estoy siguiendo el hilo de esta entrada porque me encuentro con el
> mismo problema que tu, "[ErrorExceptio
Jumped to beta 2 and I'm still unable to create utf8 tables.
A look in vendor/doctrine-dbal/lib/Doctrine/DBAL/Platforms/
MySqlPlatform.php at line 383 clearly indicate that we can pass some
options like comment, charset, collate and so.
That means that we can configure this in Symfony without twea
Doctrine. It's the default ORM since 1.3, and it's easier for a beginner.
--mrl
On Thu, May 26, 2011 at 11:34, jlassi zied wrote:
> Hi ,
>
> I'am newer in symfony and I want to know with wich ORM to develop ?
> doctine or propel ?
>
> Thanks .
>
> --
> If you want to report a vulnerability issue
Hola Javier,
estoy siguiendo el hilo de esta entrada porque me encuentro con el
mismo problema que tu, "[ErrorException] .../Driver/
AbstractFileDriver.php line 121"
He intentado dearrollar los pasos que Pierre te indica y que a ti te
funcionana pero no hay manera, me sigue apareciendo el mismo e
Le 25/05/2011 18:37, xaben a écrit :
Hello all,
i want to replace the 'my-blog-post' part with a variable in Twig. And
i am not sure how to do it.
From:
Read this blog post.
to something like:
Read this blog post.
Can anyone please help?
Thank you.
the code you suggested works. It is
Le 26/05/2011 12:48, Dmitry Bykadorov a écrit :
Hi there!
I'm looking for Symfony / Symfony2 coding standards configurations for
PhpStorm and PHP Code sniffer. Tell me, such a configuration exists at
all? Ang give me please a link, if exists...
A configuration is available here:
https://github
On 26 May 2011, at 06:37, oscar balladares wrote:
> I'm having troubles getting Symfony2 to work on a Shared Hosting enviroment.
[…]
> My .htaccess file reads as follow:
>
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ application/index.php [QSA,L]
Hello all,
i want to replace the 'my-blog-post' part with a variable in Twig. And
i am not sure how to do it.
From:
Read this blog post.
to something like:
Read this blog post.
Can anyone please help?
Thank you.
--
If you want to report a vulnerability issue on symfony, please send it
Hoping to find some talent to join our team:
Web Applications Development Lead
We are looking for a Web Applications Developer to work in a small
team to develop custom
applications using the web as a scalable deployment platform for
complex
vertical solutions. Expert-level proficiency required i
Hi,
I just finished reading the security chapter of documentation and I
have a doubt. Under the section "Encoding the User's Password", it
suggests to encode the password in the controller:
$factory = $this->get('security.encoder_factory');
$user = new Acme\UserBundle\Entity\User();
$encoder = $
Can anybody point me in the right direction for being able to
customize all the sfGuard pages, specifically the markup as Symfony by
default uses tables for EVERYTHING dealing with forms, even the login
page.
--
If you want to report a vulnerability issue on symfony, please send it to
security a
Seems like something is usling port 8080. Swap port tö something else.
On May 25, 2011 7:55 AM, "Chinthaka Rukshan Weerakkody" <
chinthakaruks...@gmail.com> wrote:
> Hi,
>
> I followed that tutorial and configured the httpd.conf file as follows. My
> installation directories are as follows.
>
> sym
Hi,
I'm new to symfony and started digging.
I require to show set of check boxes instead of selects in symfony
admin
generator filter. This can be done in form by,
$this->widgetSchema['options_list']->setOption('expanded', true);
But when it comes to filter, how can that be done. Label text can
Hi ,
I'am newer in symfony and I want to know with wich ORM to develop ?
doctine or propel ?
Thanks .
--
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
Changed route to:
url: /bla/:slug/:param1/:param2/
options: { regex: "/bla/(?[^/]+)/bla-(?\d+)/bla-(?
\d+)/" }
Found a way to build url. Passing param1 and 2 with "bla-"
concatenated.
But still cannot parse url.
No ideas at all?
On May 25, 8:33 pm, coviex wrote:
> Hi,
>
> Here is my rout
Hi there!
I'm looking for Symfony / Symfony2 coding standards configurations for
PhpStorm and PHP Code sniffer. Tell me, such a configuration exists at
all? Ang give me please a link, if exists...
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-p
Hi,
I'm trying to validate a Datetime coming from a form Input. While
Debuggin I fall over the DateTimeToLocalizedStringTransformer on line
121 the IntlDateFormatter is requested in the method the
IntlDateFormatter is instanciated with \Locale::getDefault().
On my System this returns en_US_POSIX
Le 26/05/2011 12:08, Alvaro Touzon a écrit :
Hi Christophe can you xplain more it, or give me an url to do it.
Thanks
See the Readme of the Monolog library which describes the available
handlers: https://github.com/Seldaek/monolog
To use a RotatingFileHandler in your Sf2 project, configure th
Hi Christophe can you xplain more it, or give me an url to do it.
Thanks
2011/5/26 Christophe COEVOET
> Le 26/05/2011 11:46, kassel a écrit :
>
>> Hi, how i can stored logs by date, every day write a new log-date.log,
>> becose it could be easly to mantain.
>> Thanks
>>
>> --
>> Best Regards
>>
Le 26/05/2011 11:46, kassel a écrit :
Hi, how i can stored logs by date, every day write a new log-date.log,
becose it could be easly to mantain.
Thanks
--
Best Regards
Which version of Symfony are you using ? 1 or 2 ?
For Symfony2, Monolog provide a RotatingFileHandler doing this (use it
in
I managed to implement my own factory class UrlLoginFactory extends
AbstractFactory defined in my security_factories.xml and tell Symfony
to use it. I also know that I should implement my
AbstractAuthenticationListener, but I don't see the way to tell
Symfony to use my listener.
Config just let yo
Amazing thanks!
I will test it because this code :
*
$result = $repository->findBy($criteria);
if (count($result) > 0 && $result[0] !== $entity)
seems weird to me. What if $entity->email is not modified since its db
retrieval, but $entity->age is? The $result[0] entity still has the old value
Hi, how i can stored logs by date, every day write a new log-date.log,
becose it could be easly to mantain.
Thanks
--
Best Regards
--
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 t
Le 26/05/2011 07:37, oscar balladares a écrit :
Hi Symfony family.
I'm having troubles getting Symfony2 to work on a Shared Hosting
enviroment.
I would appreciate if you can point me how to set up a S2 application
to be deployed on a shared hosting.
If this helps in any way, this is what
Le 26/05/2011 08:25, winzou a écrit :
I was looking for an equivalent of sfValidatorDoctrineUnique, but it
seems it doesnt exist yet.
Actually it should be quite easy because validation constraints are
defined directly on the Entity. That's why I would be surprised if it
really doesnt exist.
Thanks Merk,
In fact I think it's because I don't test too much that I didn't notice this
point...
--
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 us
It is bad practice. You would have to mock the container in tests and
thats a big job.
In short: dont do it :-)
t
On Thu, May 26, 2011 at 18:45, Kaipi Yann wrote:
> Hi,
>
> As you probably know, when declaring a service in your app you can pass all
> needed services as parameter in the XML fil
Hi,
As you probably know, when declaring a service in your app you can pass all
needed services as parameter in the XML file so they will be use to
instatiate the new service...
I wonder what is the impact of passing directly the container, so I pass
only one parameter to my service and I can a
Thanks that worked!
On May 25, 11:09 pm, Pierre wrote:
> I bet the following will result in a "could not guess where to put the
> classes in" error:
>
> php app/console doctrine:generate:entities Jander\\CalendarBundle
>
> But this should work right now:
>
> php app/console doctrine:gener
@user123: check out the form theming:
http://symfony.com/doc/current/book/forms.html#form-theming
--
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 user
yes- thats it- thanks, works again!
On May 25, 5:37 pm, Christophe COEVOET wrote:
> Le 25/05/2011 17:18, Stephan Petzl a crit :> By the way: after upgrading to
> BETA2 yesterday, authentication does
> > not work anymore. I think there is some issue with the oAuth
> > conversion of the facebook A
48 matches
Mail list logo