Hi,
I dont know if there is any for the specific topic:
But you can use this to setup the event:
http://symfony.com/doc/current/book/internals/event_dispatcher.html
And then just save the entity.. that should be pretty straight
forward, do you have any specific problems then please write them
2011/6/10 Fabien Potencier fabien.potenc...@symfony-project.com
On 6/9/11 10:17 PM, Chris Sedlmayr wrote:
Hi all,
I don't think we are against the idea of creating a Symfony2 specific
group, but we must ensure that finding help in the right place is the
main priority.
I'm against
Hi,
I have started to build a search function on my website..
My idea was to have a filter form class, give it an object which i
then will serialize and then save it in a session.. and it works just
perfect if i have no relationships in the object..
But when i want to make a relation to an
Hello, I have a problem when I try to get a attribute after user click on
logout:
This is my code:
I have two listener, one to listen core.controller
class CheckControllerListener
{
public function onCoreController(FilterControllerEvent $event)
{
if
Le 09/06/2011 23:38, theinterned a écrit :
Hi,
I am trying to provided login at localized urls: /en/login, /fr/login
etc.
The locale seems to work okay for the login form, but the firewall
seems to have issues.
I am getting the following error:
You must configure the check path to be handled
Le 09/06/2011 17:57, djpate a écrit :
Hello,
I'm trying to display a form with a question and a list of answers and
I would like to display all the answers as a list of checkboxes while
checking the answers that are marked valid in the database.
I've been looking into the EntityChoice type but
I'd like to update my project now to the latest beta4 (from beta1) and
careful as I am, I'd like to do it step-by-step, which means as described in
the UPDATE.md file, from one version to another.
Does anyknow know the commit Id's of the FOS UserBundle that are intended to
be 'stable' for each
In fact, that was easy :-)
$builder-add('socialLinks', new SocialLinksType());
SocialLinksType :
$builder
-add('linkedIn', 'text')
-add('viadeo', 'text')
-add('twitter', 'text');
Works like a charm !
Benjamin.
--
If you want to report a vulnerability issue on symfony, please
Le 10/06/2011 12:27, con a écrit :
I'd like to update my project now to the latest beta4 (from beta1) and
careful as I am, I'd like to do it step-by-step, which means as
described in the UPDATE.md file, from one version to another.
Does anyknow know the commit Id's of the FOS UserBundle that
Thanks Stof, then I try to go directly to beta4 and hope that everything
works out well
--
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
Hi,
I'm gettin this error:
Cannot import resource 'UserBundle/Resources/config/routing/
registration.xml' from '/home/me/Symfony/app/config/routing.yml'.
This is my
user_registration:
resource: UserBundle/Resources/config/routing/registration.xml
prefix: /register
I've extracted the
Hi,
I think you are missing an @ before you resource.. does it help?
Best regards,
Michael Holm
On Fri, Jun 10, 2011 at 1:17 PM, Javier Garcia tirengar...@gmail.com wrote:
Hi,
I'm gettin this error:
Cannot import resource 'UserBundle/Resources/config/routing/
registration.xml' from
Le 10/06/2011 13:18, Michael Holm a écrit :
Hi,
I think you are missing an @ before you resource.. does it help?
Best regards,
Michael Holm
On Fri, Jun 10, 2011 at 1:17 PM, Javier Garciatirengar...@gmail.com wrote:
Hi,
I'm gettin this error:
Cannot import resource
Thanks, but the error is the same.
On Jun 10, 1:18 pm, Michael Holm ho...@hollo.dk wrote:
Hi,
I think you are missing an @ before you resource.. does it help?
Best regards,
Michael Holm
On Fri, Jun 10, 2011 at 1:17 PM, Javier Garcia tirengar...@gmail.com wrote:
Hi,
I'm gettin
Thanks Cristophe, that worked! Don't you think you should correct the
documentation (index.rst)?
--
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
Well, it's not bad documented: the line you mention it is written also
in index.rst, but before this paragraph
The login form and all the routes used to create a user and reset the
password
have to be available to unauthenticated users but using the same
firewall as
the pages you want to securize
Le 10/06/2011 13:39, Javier Garcia a écrit :
Well, it's not bad documented: the line you mention it is written also
in index.rst, but before this paragraph
The login form and all the routes used to create a user and reset the
password
have to be available to unauthenticated users but using the
Hello,
I am not yet using sf2.
I am quite frustrated with the mailing list ATM.
I used to read the mailing list along to help people when I knew
something, learned a few tricks from answers by others, and had a place
to get quick answers.
Now on most mails I don't even understand the subject,
Hi,
Sorry to insist on this, but I don't really understand why the empty
values are appearing on the page. Maybe the reason is that I don't use the
fallback properly !? This is what I have in my config.yml file:
framework:
secret: %secret%
charset: UTF-8
Hi symfonian,
I have extended the sfWebRequest class.
I was trying to get sfUser object in extended class (see below).
class myWebRequest extends sfWebRequest
{
public function test()
{
echo $this-getUser();
}
}
But it is throwing errors.
Is it possible to get sfUser object
Awesome ... updating now! thanks!
On Jun 10, 6:22 am, Christophe COEVOET s...@notk.org wrote:
Le 09/06/2011 23:38, theinterned a crit :
Hi,
I am trying to provided login at localized urls: /en/login, /fr/login
etc.
The locale seems to work okay for the login form, but the
On Thu, Jun 9, 2011 at 4:20 PM, Chris Sedlmayr ch...@sedlmayr.co.uk wrote:
I can't say that i've ever found groups to be an easy way to find
information, and generally the posts I moderate seem to re-appear.
People are struggling to find what they are looking for and I don't
necessarily think
After (or while) updating my project to Beta4 I received a strange error:
http://pastie.org/2048146
http://pastie.org/2048146then I hooked into the stacktrace and found on #8
ClassMetadataFactory::getAllMetadata() after making a print_r on
$this-driver-getAllClassNames() that the classes of
Hi,
I am wondering how you all are managing permissions on your symfony 2
projects.
I seem to be constantly wrestling with permissions as I generate files
in app/cache form the command line (as my user) and from the apache
web server (as the apache user). Both of these users are generating
files
hmmm
I ran ./bin/venders.php and I see this:
Installing/Updating UserBundle
HEAD is now at 122c7d5 Merge pull request #198 from oyerli/patch-1
Checking github, I see that indeed master is indeed at
122c7d582b22fd162ebcadf03c0baca8fecee52b
But I am still getting the You must configure the
Le 10/06/2011 18:46, theinterned a écrit :
hmmm
I ran ./bin/venders.php and I see this:
Installing/Updating UserBundle
HEAD is now at 122c7d5 Merge pull request #198 from oyerli/patch-1
Checking github, I see that indeed master is indeed at
122c7d582b22fd162ebcadf03c0baca8fecee52b
But I am
I'm developing several bundles under a common top-level namespace (right
now, Problematic). Is there any way to group them together in my config.yml,
so that instead of:
problematic_foo:
# some configuration
problematic_bar:
# some configuration
I can do something like:
problematic:
You can have the user you log in as and the apache user be in the
same group.
On Jun 10, 11:22 am, theinterned ned...@gmail.com wrote:
Hi,
I am wondering how you all are managing permissions on your symfony 2
projects.
I seem to be constantly wrestling with permissions as I generate files
Ah great! Thanks so much.
This looks like the commit here:
https://github.com/symfony/symfony/commit/882a8e3f09c602a6f0ed3b5bd20e8d4688331500
I'm going to merge that into my project.
On Jun 10, 1:28 pm, Christophe COEVOET s...@notk.org wrote:
Le 10/06/2011 18:46, theinterned a crit :
I'm struggling a bit to get my linux file permissions setup in a
manner where I can both use the CLI (app/console) and avoid issues
with apache not being able to access files.
The most often occuring problem is (ofcourse) the cache directory;
If I do `app/console cache:clear` WITHOUTH
On Friday, June 10, 2011 4:22:35 PM UTC, theinterned wrote:
Hi,
I am wondering how you all are managing permissions on your symfony 2
projects.
I seem to be constantly wrestling with permissions as I generate files
in app/cache form the command line (as my user) and from the apache
Hi,
As you may know, in order to pass user's information(signed_request)
to your app, Facebook access canvas(ie: iframe) applications by
sending them a POST request. This mechanism is explained here:
http://developers.facebook.com/docs/guides/canvas/#auth
In order to keep ReSTful, what would the
Hi,
with update to Beta 4 I get this Exception - only in prod environment (with
debug set to true on creating AppKernel). Without debug=true the server
returns an empty page.
Scope Widening Injection detected: The definition assetic.helper.static
references the service
Yes, please submit a pull request to fix this.
Thanks,
Kris
On Friday, June 10, 2011 at 12:40 PM, pzwosta wrote:
Hi,
with update to Beta 4 I get this Exception - only in prod environment (with
debug set to true on creating AppKernel). Without debug=true the server
returns an empty page.
It is not possible due to doctrine's proxies workflow.
I had a discusion like about 30 responses within this mailing list looking
for the same answer, without a practical success.
Doctrine's official docs tells you can't serialize entities (when they are
proxies).
What I implemented is a
Also, the To Be Stored entity must implements Serializable interface, and
its methods: serialize, unserialize.
If you are unfamiliar to it, this is an example:
class Producto implements \Serializable
{
$id;
$nombre;
$descripcion;
$cantidad;
$categoria;
This is a common scenario in my case.
The only advice I give you is to avoid working with other user than your
regular user (don't work with the root account)
if not, this will lead such file/dir permission issues.
This is the thing.
When you request a web url, i.e your app one, apache will
I change the umask.
# add your user to www-data and vise versa
sudo usermod -a -G www-data myusername
sudo usermod -a -G myusername www-data
# override umask in ~/.bashrc and /etc/init.d/apache2
umask 002
#restart
sudo /etc/init.d/apache2 restart
--
If you want to report a vulnerability
El sábado 11 de junio de 2011 05:14:37 UTC, Matador escribió:
Hi.
This is for sure not the best answer, but it should work less painful than
yours,
Instead of:
rm -rf app/cache
mkdir app/cache
chmod -R +w app/cache
You can:
rm -rf app/cache/*
This will avoid app/cache from
39 matches
Mail list logo