@roger
The ArrayCache will not store data from one request to another
request. It should, however, store data for a single request. Two
identical SQL requests that are cached should result in 1 query with
ArrayCache on.
@winzou
FOS/Userbundle is not symfony - it's an independently maintained
symfo
l having a hard time wrapping my head around getting good
performance out of the ACL system. I have not looked at the Tims work
on the comment bundle yet - will do that soon.
Marc
On May 2, 9:41 am, Gediminas Morkevicius
wrote:
> I think when user logs in, his ACL tree should be stored in his se
Btw I plan to use the comment bundle in one of my projects in the next
month so looking forward to what you come up with.
Regards,
Marc
On Apr 14, 6:19 pm, Tim Nagel wrote:
> I'm working on editing and deletion functionality for CommentBundle at the
> moment. I expect to have something
can edit or delete a post.
I feel like this is a typical use case, any guidance would be much
appreciated.
Thanks,
Marc
--
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 Goo
In your controller:
public function fooAction()
{
// Is this an ajax request?
if ($this->container->get('request')->isXmlHttpRequest())
{
// do stuff and return ajax content
}
// return normal response
}
On Apr 13, 5:16 am, symfonyM
Right now I believe only html and xml responses are parsed for ESI
tags:
In the Esi class:
public function __construct(array $contentTypes = array('text/html',
'text/xml', 'application/xml'))
{
$this->contentTypes = $contentTypes;
}
Why not JSON? Since JSON is automatically escaped I assume w
Can anyone shed some light on this? It's quite a problem for anyone
that wants to build an ajax application and use the Symfony2 caching
system (ESI). If it can't be done I need to re-assess how I build this
Symfony2 app.
Thanks
On Mar 25, 8:04 pm, Marc MacLeod wrote:
> Hi Guys,
&
e load, but do not work when I try to use the method
above to return parts of the page via JSON.
It simply returns the json structure with the tags
without replacing the ESI tags with their actual content.
Any thoughts on how to fix this or the best way to go about doing
this? If anyone needs any cl
Hi All,
I'm working on performance and have a few questions:
1. What is the best way to build caching into an application with
ESI?
For instance, imagine a page with a feed of news stories like Reddit.
I think one would want to include each news story item in the feed as
an ESI in order to cache
te sure how to do this and avoid the circular reference
error described above? I'm probably missing something here, and would
appreciate any help. Thanks!
Marc
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
Hi Federico,
just put:
error_reporting(E_ALL);
init_set('display_errors','on');
on top of app.php
When you find what's not working, just drop those lines again.
Luck,
Marc.
On Mon, Mar 14, 2011 at 6:44 PM, Federico Bernardin <
federico.bernar...@gmail.com> wro
: /member, role: IS_AUTHENTICATED_FULLY }
- { path: /user/edit.*, role: IS_AUTHENTICATED_FULLY }
- { path: /.*, role: IS_AUTHENTICATED_ANONYMOUSLY }
---
Why isn't it working properly? Any kind of help will be appreciated!
Regards,
Marc Cerrato
--
If you want to re
tyle. So i
wonder how i could get this in symfony. The system has to be able to
change the layout and the module templates by user authentication and
the different Styles should be easy to maintain. Just some ideas
would be great.
Thank you,
Marc Eilhard
--
If you want to report a vulnerabilit
2010/8/27 Gustavo Adrian
> You need to extend your memory_limit for PHP. Check your php.ini (for CLI)
> and put 128MB as memory_limit (or something like that).
>
It was it.
the doctrine:data-dump is now correct.
Thanks.
--
Marc Van Craesbeeck
http://www.amnestygr33.be
--
If yo
Thanks for your answer Michal!
I have been told similar things so we are going to use Symfony 1.4 but
the choice between Doctrine 1 and 2 is not made yet. We have got some
questions to be answered before we could make a decision.
Regards,
Jean-Marc
--
If you want to report a vulnerability
used Symfony nor Doctrine, is it worth making them
learn how to use Symfony 1 and Doctrine 1 when we know many things
will change with the next major versions?
What do you think about that?
Regards,
Jean-Marc
--
If you want to report a vulnerability issue on symfony, please send it to
security
www.test.com/cat1/ to the correct ones,
www.test.com/cat1/product or www.test.com/cat1 ?
If not, i will have to make it via .htaccess . Any clue on how to do that ?
Thanks in advance
Marc
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
book)
Happy hacking
On Wed, Mar 17, 2010 at 10:30 AM, Marc Weistroff
wrote:
> If you look at the code of sfConfig
> (http://trac.symfony-project.org/browser/branches/1.4/lib/config/sfConfig.class.php),
> there is no way to save the changed value to the yaml or elsewhere.
>
> Als
If you look at the code of sfConfig
(http://trac.symfony-project.org/browser/branches/1.4/lib/config/sfConfig.class.php),
there is no way to save the changed value to the yaml or elsewhere.
Also, if you change the app.yml config file in the prod env, you might
have to clear the cache each time you
It's because objects and variable are escaped before being passed to the view.
Are you echoing your content inside a slot (or partial?) that might be
automatically or manually escaped after that?
On Thu, Mar 11, 2010 at 4:52 PM, Romain Pouclet wrote:
> It does not change anything, I really don
I just checked in other projects and I figured that I override the
generated route with a custom one...
It's a bit messy but it works.
I got it to work in frontend using "normal" modules. Hope it works
with generated admin modules.
--
board:
class: sfDoctrineRouteCollection
I already gave a small answer on twitter but I repost here...
If I correctly understand the problem you have:
You can add custom parameters (ex: myParameter) to routes as long as
there is a method in your model named (in this case) getMyParameter().
Please tell me if it does fix your problem :
It's a common problem with PHP < 5.3.
Try to switch with 5.3 and it might magically solve your issues.
Marc
Le 7 août 09 à 10:43, Ken Golovin a écrit :
>
> Thomas,
>
> I know very well how to parse XML and load it into the DB
>
> However for this import I need a
Hello,
It seems that you have a conflict with your apache configuration &
your .htaccess file!
Maybe mod_rewrite isn't enable on your production server...
Have fun ;)
Marc
Le 28 juil. 09 à 10:49, Gre Taguran a écrit :
> Hi Guys,
>
> We're trying to deploy our projec
Hi!
I am trying to implement an authentication in my Symfony project over
a domain controller. I found a library called 'adLDAP' and I can
authenticate on the domain controller using a php script, but I can
not integrate it into my project with sfGuardPlugin.
I set the settings.yml file:
all:
You should take care of Martio's advice, but be more carefully writing your
dictionary file:
Required
Requis
^^^
it's not targer, it's target :-D (I guess you've it correct in your file and
it's a typo on this message but, take care of it!)
Good luck,
M
Hello people,
I have a problem with the jobeet tutorial - day 16.
I generated the backend for the affiliate as described. Everything seems
to work.
But I have one problem: for the different affiliate which I want to
activiate I only see two actions "edit" and "delete" and not "activate"
and
new sfValidatorRegex(array('pattern' => '/^[A-Za-z]+$/'))
HTH,
Marc
On Sat, Nov 29, 2008 at 4:47 PM, Samir van de Sand <[EMAIL PROTECTED]
> wrote:
> I tried to modify the validator according the regexp you posted, but it
> still doesn't work no
.
Try something like '^[A-Za-z]+$'
Remark that this pattern will not match first name containing spaces nor
dashes, so it won't match 'Jean-Claude' or 'Jean Claude'.
Cheers,
Marc
On Sat, Nov 29, 2008 at 3:34 PM, Samir van de Sand <[EMAIL PROTECTED]
> w
b/model/om/BaseBlogPost.php on line 279
Is that a bug or am I doing something wrong ?
I find it strange that no complains whatsoever happen about DateTime when
date are entered via the CRUD interface. DateTime seens to be found. But not
anymore using the
/forum/index.php/m/47197/?srch=sfActions#msg_47197
-
http://www.symfony-project.org/forum/index.php/m/46322/?srch=sfActions#msg_46322
Any clues?
Marc.
--
"I'm unique, just like everyone else". Read it out there
--~--~-~--~~~---~--~~
You received t
, not the symfony
installation one. So you've to create a
´generator/sfPropelAdmin/theme_name]/template/´ tree directory under
your 'data' project directory.
I guess this is for not delete your theme when updating symfony installation.
Cheers,
Marc.
--
"I'm unique, j
tible to symfony 1.0 !?
> For example there is no apps dir in the project..
>
> Regards,
> Matthias
There's a trac site for askeet: http://trac.askeet.com/browser/trunk, I
guess you could do a svn co from there.
Cheers,
Marc.
>
>
--
"I'm unique, just like ev
st way ?
I think it will be done with something like "content_getter" parameter
but without partial.. i hav no idea how ..?
Thanks,
Marc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users&q
inBar method?
Anyway, I agree with Dan, the default join is a inner join, so it's normal
that the Foo objects that don't have any Bar_ID set, are descarted. If you
want them, you've to do a LEFT JOIN explicitly. Moreover, this is not a
directly related symfony question, it's
Try adding this rule to your .htacces:
RewriteRule ^(.+)/$ $1
Cheers,
Marc.
2007/8/21, Mat <[EMAIL PROTECTED]>:
>
> Hey we are currently running a new symfony website and having just
> checked the logs, I noted that a fair few people are now linking to the site
> with
I think you should set to on the i18n in settings.yml:
all:
.settings:
i18n: on
Cheers,
Marc.
2007/8/15, Marco Catunda <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> In i18n file config I set default culture like this:
>
> all:
> default_
2007/8/9, Tchinkatchuk <[EMAIL PROTECTED]>:
>
>
> Yes, I thought it was that too because of the 5 time but I took a look
> and no forward are done to this action in any code.
> Thanks for your suggestion. I will take a look again this morning.
You should clear the log file, and then execute the
g/i18n.yml add:
all:
default_culture: es_ES < well, use yours ;-D
then you should see the dates in the correct format. Actually you've to
restart the user session (simply restart your web browser)
For more information abou i18n, you know, read the book's chapter.
Cheers,
I solve this using i18n and setting my default culture correctyl (it seems
symfony don't accept ca_ES which is perfectly valid, so I've to use es_ES)
2007/8/2, Jonathan Moreira Cardozo < [EMAIL PROTECTED]>:
>
>
> Guys,
>
> Hello, i'm having a problem with a input data tag at my admin, i set
> in g
2007/8/1, Alexander Deruwe <[EMAIL PROTECTED]>:
>
>
> On 01 Aug 2007, at 16:57, Marc Torres wrote:
> > I've just installed symfony from pear, and it installs version
> > 1.0.6, but when I run the symfony command I get:
> >
> > Parse error: parse
Hello all,
I've just installed symfony from pear, and it installs version 1.0.6, but
when I run the symfony command I get:
Parse error: parse error in /Applications/xampp/xamppfiles/bin/symfony on
line 34
is it something break? Anyone out there has tried the 1.0.6 version?
Cheers
--
"Beware o
Wouldn't be better to make use of validators [1]? This way you can assure
that all foreign key constrains are fulfilled
[1] http://www.symfony-project.com/book/trunk/10-Forms#Form%20Validation
Cheers,
Marc
2007/8/1, Michael Smith <[EMAIL PROTECTED]>:
>
>
> You have to
orm, under Win, tools -> preferences,
under Linux Edit -> preferences, under MacOS, Firefox -> preferences),
then open the advanced options, under general tab, click on the
Choose... button (on the bottom right). Then add all your languages,
and restart firefox. This firefox options are
Hi,
Maybe this is a simple question, but here it goes. I'm trying to view the
primary key in the edit mode and I'm doing (in generator.yml):
display: [num, titular_id, poblacio]
but when I try to create a new entry, the num field (primary key) isn't
there. I read the chapter 14 of the book (
2007/7/9, Steve Lianoglou <[EMAIL PROTECTED]>:
>
>
> Hi Marc,
>
> Although I don't think it'll cause a huge problem (since I doubt any
> part of the system really uses php), in general I'd say it's a bad
> idea to change anything in /usr/bin -- the
t (c) 1998-2007 Zend Technologies
$
Now symfony is 100% working on my box. Thanks!
Marc.
--
"Beware of bugs in the above code; I have only proved it correct, not
tried it." Donald Knuth
--~--~-~--~~~---~--~~
You received this message because you are subscr
Hello all,
I used to work with symfony under a linux box without any problem. Now
I've bought a mac and I get Apache+php+mysql running with XAMPP, and I
could install symfony with pear without problems (well, more or less
without any problem ;-D). I've tried a simple "hello world" with a
previuos
I'm trying to run a symfony project in a shared host that has php4 and
php5 support (php5 as cgi). It runs perfectly in my house using apache
php5-module.
The symfony aplication is this local directory:
/users/pangea/marc/alt-ong
and the web
/users/pangea/marc/alt-ong/web
And URL'
I think there are no more options for this validator in particular:
* From: [1]
# sfNumberValidator: sfNumberValidator verifies a parameter is a
number and allows you to apply size constraints.
From: [2]
Number Validator
sfNumberValidator verifies if a parameter is a number and allows
trange thing is that it reads the array but put variables in
strange format: one variable (app_langs_0, app_langs_1, app_langs_2) for
each array element instead of putting all inside an array.
Thanks for all.
> - Message d'origine
> De : TecLliure - Marc Monta��s <[EMAIL
ar. Ahora debes construir los cimientos debajo de
él." - George Bernard Shaw, escritor irlandés
Marc Montañés * mail/jabber: [EMAIL PROTECTED] * telf: 653182738
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&q
es
allí donde debería estar. Ahora debes construir los cimientos debajo de
él." - George Bernard Shaw, escritor irlandés
Marc Montañés * mail/jabber: [EMAIL PROTECTED] * telf: 653182738
--~--~-~--~~~---~--~~
You received this message because you are sub
53 matches
Mail list logo