change your app/config.yml file
--- before
framework:
charset: UTF-8
error_handler: null
csrf_protection:
enabled: true
secret: xx
--- after
framework:
charset: UTF-8
error_handler: null
secret: xx
Thanks *Carlos*. It works.But there is some warning shows.
Notice: Undefined index: secret in
/home/sfprojects/symfony-standard/vendor/bundles/Symfony/Bundle/WebConfiguratorBundle/Step/SecretStep.php
on line 31
--
If you want to report a vulnerability issue on symfony, please send it to
You could set them up as seperate websites or you link to
http://www.yoursite.com/backend.php to get to the backend or use
rewrite rules in your apache config or .htaccess file to map /backend
to backend.php.
If your frontend app is served by default you just link to / from
your backend
Hi,
Sorry if this message is not appropiate to this list, I've installed a
couple of days ago sf2 PR12 and I've been working with it on a new
project.
Once a day I use the bin/vendors.sh script to update the code to the
latest changes, and today I'm getting this error right after
change your app/config.yml file
--- before
framework:
charset: UTF-8
error_handler: null
csrf_protection:
enabled: true
secret: xx
--- after
framework:
charset: UTF-8
error_handler: null
secret: xx
What's the point in the parameters.ini? why not just stick to
config.yml?
--
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 users group.
To post to this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 29.04.2011 12:09, schrieb robjensen82:
What's the point in the parameters.ini? why not just stick to
config.yml?
the idea is that config.yml is under version control, while
parameters.ini contains confidential data like database password and
I want basic theming support in my Symfony2 project, so I wanted to
have separated static files (css, js, img) for each theme.
I have tried to add
assetic:
read_from: %kernel.root_dir%/../web/themes/mytheme
but this took no effect, my {{ asset('css/style.css') }} are still
referencing
Thanks for the reply David. I would have thought config_prod.yml would
have been useful for exactly the situation you're describing. O well
I've managed to chop it out.
Rob
On Apr 29, 11:20 am, David Buchmann david.buchm...@liip.ch wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am
Thank you Skaldrom.
Everything works now.
--
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 users group.
To post to this group, send email to
I was just trying to update my project from pr12 to beta and found out that
the DoctrineMongoDBBundle is missing... did it move somewhere else? Where
can I get it?
Thanks,
Conrad
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
nevermind, I got it from here:
https://github.com/symfony/DoctrineMongoDBBundle
git submodule add git://github.com/symfony/DoctrineMongoDBBundle.git
Symfony/vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle
--
If you want to report a vulnerability issue on symfony, please send it to
nevermind, I got it from here:
https://github.com/symfony/DoctrineMongoDBBundle
git submodule add git://github.com/symfony/DoctrineMongoDBBundle.git
Symfony/vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle
--
If you want to report a vulnerability issue on symfony, please send it to
On 4/29/11 4:31 PM, Conrad wrote:
I was just trying to update my project from pr12 to beta and found out
that the DoctrineMongoDBBundle is missing... did it move somewhere else?
Where can I get it?
As the release timeline for the MongoDB bundle is different from
Symfony2, it has been moved
Thanks Fabien, since I started my project a couple of weeks ago, I always
used the latest doctrine-common instead with the one symfony comes with and
never had bigger problems with annotations (except creating indexes and
sometimes validation) - do you think there is going to be bigger trouble?
Hi, could anyone tell me how can I get the last insert id with doctrine2?
Thanks in advance
Enviado desde mi dispositivo BlackBerry®
--
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
ok Thanks,
then I need to roll back to pr12 and wait for it to be avaiable
--
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 users group.
To post to
hi since doctrine does everything in a transaction, there is no such thing
as last inserted id.
you should simply provide a getId() getter in your domain object.
and use:
$entity = new Something;
$entity-setWhatever('whatever');
$em-persist($entity);
$em-flush();
// after flush all persisted
On 4/29/11 4:57 PM, Conrad wrote:
ok Thanks,
then I need to roll back to pr12 and wait for it to be avaiable
No need to rollback to PR12. It won't change anything. The MongoDB
bundle is not compatible with Symfony 2.0 and won't be until Doctrine
2.1 is released.
Fabien
--
If you want to
Alright, thanks for cheering me up :)
I guess it needs some guts anyway to do it all the bleeding edge way ;)
Thanks for the nice work and have a good weekend!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
Thanks a lot.
I musn't think in flat Mysql
Enviado desde mi dispositivo BlackBerry®
-Original Message-
From: Gediminas Morkevicius gediminas.morkevic...@gmail.com
Sender: symfony-users@googlegroups.com
Date: Fri, 29 Apr 2011 17:02:02
To: symfony-users@googlegroups.com
Reply-To:
Hello,
i try to install the EWZRecaptchaBundle in my sf2 project (latest version),
i followed the readme, but i have this error :
Fatal error: Call to undefined method
Symfony\Component\Form\Form::setScriptURLs() in
C:\www\fscv2\src\FSC\AccountBundle\Controller\UserController.php on line *
Hi,
The documentation actually needs updating. The section about calling
setScriptURLs() is no longer valid. Those values are now set automatically.
You shouldn't need to put anything in your controller anymore. All you
should need to do is add a 'recaptcha' field in your buildForm() function
Hello,
a great thanks for the replay :)
in form class : i add :
$builder-add('recaptcha', 'recaptcha');
in my controller : $form = $this-get('form.factory')-create(new
RegisterType(), $user);
and i added in template :
{% form_theme form.recaptcha 'EWZRecaptchaBundle:Form:
i know what is the problem, i had configured a virtual host in apache to use
mydomaine.com as (localhost), i must change the keys or delete the virtual
host ;)
thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
Regarding doctrine:generate:entities... I wonder why it don't generate the
setId() method in the entities files?
Enviado desde mi dispositivo BlackBerry®
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
26 matches
Mail list logo