Hello all,
I'm trying to understand how to configure config.yml(or xml)
for receive an email when the log priority is over the threshold..
I should add a Writer to the service zend.logger with a particular
value for the filter.
Following the documentation
Hey,
If your web app is going to have some pretty serious usage you might consider
get rid of apache (for the long polling part specifically) and take a look to
nginx+http_push_module :-)
On 09/02/2011, at 22:32, Gareth McCumskey gmccums...@gmail.com wrote:
I figured it was something server
I can't get @PrePersist to work.
Here's my entity
namespace Sensio\HelloBundle\Entity;
/**
*
@orm:Entity(repositoryClass=Sensio\HelloBundle\Entity\Repository\CustomerRepository)
*/
class Customer
{
/**
* @orm:id
* @orm:Column(type=integer)
* @orm:GeneratedValue(strategy=AUTO)
*
On Wed, 9 Feb 2011 23:25:44 -0800 (PST), jdewit
jorisdewitblackbe...@gmail.com wrote:
I can't get @PrePersist to work.
Also, how come I have to set nullable=true for each field to prevent
the
error? I've used Doctrine2 before and never had to. Is there a better
way?
As for all other
I got it to work with the following code :
public function executeAdd(sfWebRequest $request)
{
$this-form = new ImageForm();
if ($request-isMethod('post'))
{
$this-form-bind(
$request-getParameter($this-form-getName()),
Works. Thank you!
--
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 symfony-users@googlegroups.com
To
I use a custom validator to keep the filename during the upload :
class mySfValidatorFile extends sfValidatorFile
{
protected function configure($options = array(), $messages =
array())
{
parent::configure();
$this-addOption('validated_file_class', 'mysfValidatedFile');
http://www.google.co.za/search?sourceid=chromeie=UTF-8q=php+file+exists
http://www.google.co.za/search?sourceid=chromeie=UTF-8q=php+file+existsGoogle
is your friend.
On Thu, Feb 10, 2011 at 12:35 PM, Manu emmanuel.parf...@gmail.com wrote:
I use a custom validator to keep the filename during
I know about file exists (!), but in my form the users chose the
folder they upload to, so I don't have that info in my validator ...
--
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
Nevermind I'll do it in the action before -save()
--
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
First make sure have the Bundle enabled in your AppKernel. So add this
line:
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
Then here's an example of my working config. The stuff that is
commented out is what you're looking to implement. However I've set it
up for multiple users with
Thats the only place you can do it ..
On Thu, Feb 10, 2011 at 1:18 PM, Manu emmanuel.parf...@gmail.com wrote:
Nevermind I'll do it in the action before -save()
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
I created my own SysLogger (together with some other changes, since I
need to keep privacy in mind as well) and configured this in my
factory.yml
I posted the code at http://snippets.symfony-project.org/snippet/459
On 9 feb, 13:55, Manfred Dohmen manfred.doh...@gmail.com wrote:
Hello,
is
On Wed, 9 Feb 2011 20:26:29 -0800 (PST), Klaas Naaijkens
klaas.naaijk...@gmail.com wrote:
Hi, I am struggling with the security system in symfony2 for about a
day now.
I have this in my config_dev.yml (running with the latest version of
symfony2 github)
-
security.config:
Thank you Christophe and Jochen. You pointed me down the right path
and I want to share the solution. It turns out that my hosting
environment uses suhosin hardened PHP which is likely the cause of the
problem. Adding suhosin into my solution search, I found this in
oldforums.symfony-project.org:
Hi all,
i need to reach a payment service on another server and url than the
application one,
in post,not get.
how can i achieve this from an action?
i cannot find anything similar ...
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
Is it possible to gain access to container from entity repository or
entity manager?
I have several settings in config.yml (defining for example use of APC
cache) which I want to use in entity repository methods.
Because entity manager service is created using factory it is kinda
hard to do
what's the point of that message ?
--
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
postive affirmation.
On Thu, Feb 10, 2011 at 12:34, Manu emmanuel.parf...@gmail.com wrote:
what's the point of that message ?
--
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
Hi,
I'm using Symfony 2 sandbox PR6. In my layout.html.php I use:
?php $view['javascripts']-add(
I know this worked in one of the previous sandboxes but now I get The
helper javascripts is not defined. That's true, javascripts is not
part of the helpers-collection.
Is the javascripts
Yeah this is kind of a mess. It's been taken out because it did not
work as intended. Originally I was using
https://github.com/Adenclassifieds/AssetOptimizerBundle
as a substitute that Fabien was recommending. Apparently recently
they've abandoned the project as they say:
Warning This Bundle is
Many thanks with $view['assets']-getUrl(... I got it to work.
regards Peter
On 10 Feb., 21:32, Justin Fortier justfort...@gmail.com wrote:
Yeah this is kind of a mess. It's been taken out because it did not
work as intended. Originally I was
Hi,
I would make it using a task which uses sfBrowser on the ajax urls,
eventually using DB queries to generate them. If you use html cache it
should do the job. The only thing is to run the task with the good env
argument so it generates cache for 'prod'.
Now if you use sfViewCacheManager, it
23 matches
Mail list logo