This behavior has been changed in the HEAD revision.
Kind regards,
Johannes
On Jan 28, 4:51 pm, DisTurBinG wrote:
> I agree, I just ran into this problem as well and noticed the same
> thing. Thanks to your post!
>
> I don't understand why it was designed to authenticate with
> __toString() isn
In this case, you can implement your own AuthenticationSuccessHandler,
and AuthenticationFailureHandler. You find the interfaces in Component/
Security/Http/Authentication/.
When you have wired these handlers with the DIC, you can set them in
the configuration as follows:
security.config:
fir
I have set up the Symfony 2 sandbox and am having a bit of trouble
retrieving records from MongoDB.
I created a basic User object with firstName, lastName, and email. I
can insert records just fine, but when I run:
$dm = $this->get('doctrine.odm.mongodb.document_manager');
$dm->getRepository('Sit
Hi Bernhard,
Thanks for clarifications. But as far as I understand explicit change
tracking policy or detaching invalid entity from entity manager will
workaround this problem?
Vladimir
///
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-proje
Out of my experience I can't think of any real reason why that wouldn't
work. The entity file itself looks like any other entity file I've written
so the problem shouldn't be there. Have you triple checked the namespaces so
that it doesn't say MyBundle in your config.yml and AffiliateStoreBundle in
I did not notice that IntegerField versus TextField, I glanced over
all of the field the night before I started it in the morning.
I will have to keep an eye on those field types next time ;).
Thanks for your replies and information, hopefully more prominent
questions will be coming out of me in
I agree, I just ran into this problem as well and noticed the same
thing. Thanks to your post!
I don't understand why it was designed to authenticate with
__toString() isntead of getUsername()
I believe that getUsername should be the standard for the
authentication as an obvious. To String was
Problem is, after clicking feed link for each group, server, after
managing showSuccess.atom.php and _list.atom.php tries to access
layer.atom.php and dosent open a feed page for me. Since there is no
layer.atom.php, server returns error code 500.
What could be solution for this problem?
What reas
Hi
anyone use textmate and have or knows about a bundle for colorize twig sintax :)
thanks for your helping
--
Julian Reyes Escrigas
Desarrollador PHP/MySQL
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this mess
Le 29/01/2011 21:13, Michael a écrit :
Is there a way to directly use the security feature to login in the
PHP code?
In my project (Latest Symfony2.0), I submit the login/registration
using ajax when processing the data. On failure I return a string with
the error and on success I login the user
Is there a way to directly use the security feature to login in the
PHP code?
In my project (Latest Symfony2.0), I submit the login/registration
using ajax when processing the data. On failure I return a string with
the error and on success I login the user and return "true" which call
a redirect
Finally after some hours of debugging I found out. As easy as could
be. Just add the pdo options parameter PDO::MYSQL_ATTR_INIT_COMMAND
(=1002) with value SET NAMES utf8 in app/config/config.yml.
## Doctrine Configuration
doctrine.dbal:
driver: PDOMySql
dbname: mydb
user:
I think your problem is one of namespaces (assuming you have cut-and-
pasted correctly).
You said:
"I have created an entity class Application\MyBundle\Entity
\Product.php"
and yet in that entity class file, the namespace is:
"namespace Application\AffiliateStoreBundle\Entity;"
Hope this helps.
foreach ($hotels as $hotel) {
if ($hotel*->getRawValue()* instanceof BookingComHotelsPromoteCountry)
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Sat, Jan 29, 2011 at 5:08 PM, Sela wrote:
> I use the s
I use the symofny and iterating object i have this problem when
running the following code
foreach ($hotels as $hotel) {
if ($hotel instanceof BookingComHotelsPromoteCountry)
$hotel itself is wrapped by symfony so only inside the value is
actually the BookingComHotelsPromoteCountry, what is
Hello Felix,
Try url_for('@redirect', arry("url",'.urlencode('http://symfony-project.org
')))
2011/1/29 Felix E. Klee
> I set up a redirect-page for a Symfony 1.x project.
>
> Rule:
>
> redirect:
>url: /:sf_culture/redirect/:url
>param: { module: main, action: redirect }
>
> Then, to c
I set up a redirect-page for a Symfony 1.x project.
Rule:
redirect:
url: /:sf_culture/redirect/:url
param: { module: main, action: redirect }
Then, to create the URL of the redirect page, I tried something like:
url_for('@redirect?url='.urlencode('http://symfony-project.org'))
This
17 matches
Mail list logo