[symfony-users] Re: My attempt of a security/form strategy

2010-08-05 Thread mlu...@gmail.com
Don't you really have an opinion about this? I'm sure you have ;-) On 4 Aug., 16:44, "mlu...@gmail.com" wrote: > Hi! > > I want to show you my attempt of a security/form strategy and want to > know what you are thinking about it. > > *The problem:* > If I read the source correct the CSRF_token is

[symfony-users] Symfony Installation in Godaddy hosting

2010-08-05 Thread Md Mostafizur Rahman milon
dear Symfony user i am new in Symfony framework. i have a hosting account in Godaddy Linux Hosting in PHP 5 . but when i was login in SSH its show PHP version 4.4.9 . have any option to install Symfony in Godaddy Hosting? if have any options plz discribe Step by step ... -- If you want to

[symfony-users] Re: Problem With Jobeet: Day 5

2010-08-05 Thread David Savage
Hmm, that seems to work if you only want to slug one column in the table. What if I wanted to slug title and category name? Also, I noticed it said you can change the function used to create the slug using the builder option...where can you find a list of the available functions for this? Although,

[symfony-users] [SYMFONY 1.4] Dealing with application / business transactions and concurrency issues. Ideas?

2010-08-05 Thread Gustavo Adrian
Hi, I guess this is topic was touched a lot of times but It would be great to see your thoughts and experiences about this. I started to develop an application that really needs to take care about concurrency issues. So I was thinking about creating a Doctrine behaviour for this that puts a coupl

RE: [symfony-users] Re: issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
Hi, I found the main issue by debugging the form generator. While moving my models to the plugin I did change the name of the class ('Brand->PluginBrand') but did not declare the model classes as abstract. This caused the form generator to treat both 'Brand' and 'PluginBrand' as being both differen

[symfony-users] $this->getUser()->hasAccessTo($module,$action)

2010-08-05 Thread f1gm3nt
I was curious if there is anything out there like this. I looked through all the in the user classes and could not find anything like this. What I need is a function that takes $module and $action and returns true (user has access to module/action) or false (user does not have access to module/act

[symfony-users] Re: generating project error

2010-08-05 Thread yzhastik
Z:\home\symfony\www>php lib\vendor\symfony\data\bin\symfony generate:project jobeet Symfony answer: A symfony project already exists in this directory (Z:\home\symfony \www\lib\ve ndor\symfony\data\bin). X-Powered-By: PHP/5.2.4 Content-type: text/html Server powered by Denwer On 5 авг, 18:41,

Re: [symfony-users] Re: Session timeout problem

2010-08-05 Thread Gustavo Adrian
Yes, pghoratiu, it seems that the gc_maxlifetime was the problem. Thanks for your help! On Thu, Aug 5, 2010 at 12:37 AM, pghoratiu wrote: > Check out also the session variables that can be set up in > session.ini: > session.gc_maxlifetime > Depending on the OS you use there may be other things

Re: [symfony-users] Re: issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
The Brand is defined in the plugin's schema.yml as follow. Nothing fancy at all. PluginBrandForm extends BaseBrandForm. Brand: columns: id: type: integer(4) primary: true notnull: true autoincrement: true name: type: string(150) url: type: string

[symfony-users] Re: issues after moving form code to a plugin

2010-08-05 Thread Johannes
What's the underlying inheritance structure? Is the BrandForm model represented by a Doctrine behavior plugin? The schema would be useful. Kind regards, Johannes On 5 Aug., 09:38, "Daniel Kucharski" wrote: > Hi, > > Thanks for taking time to look into the issue.  I tried what you did and > moved

Re: [symfony-users] generating project error

2010-08-05 Thread Gustavo Adrian
Could you show us the exact command you are using for generating a project? include the real arguments too. On Thu, Aug 5, 2010 at 2:57 AM, yzhastik wrote: > I am trying to generate new project (as in jobeet tutorial), but > symfony says me that project already created in directory with symfony

Re: [symfony-users] slot component - sidebar form

2010-08-05 Thread Gustavo Adrian
You can't access from the outside to anything except an action. You have to check the validity of the form on the action and, optionally, pass the result to the component. Cheers. On Thu, Aug 5, 2010 at 3:58 AM, Christian Fazzini < christian.fazz...@gmail.com> wrote: > I've got a sidebar on my

[symfony-users] Re: Problem with filters

2010-08-05 Thread Tom Ptacnik
One problem might be in that you are changing the 'nom' from text to list Then you have to build query with another method. So you need to overwrite the getFields() method: public function getFields() { $fields = parent::getFields(); $fields['nom'] = 'ForeignKey'; return $fields; }

Re: [symfony-users] issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
Hi, Thanks for taking time to look into the issue. I tried what you did and moved the plugin out of the project, rebuild the doctrine classes with a dummy model and moved the plugin back in. However I am still facing the same issue. Any other clues? I am using Symfony 1.4.6 by the way. > So

[symfony-users] generating project error

2010-08-05 Thread yzhastik
I am trying to generate new project (as in jobeet tutorial), but symfony says me that project already created in directory with symfony cli file. I did it from many different directories but symfony always say me same. What i do wrong? System: Win XP SP3, symfony installed from archive Sorry for

Re: [symfony-users] Re: Symfony 1.4 and PayPal

2010-08-05 Thread Alessandro Ferrucci
HINT HINT patches are always a welcomed gift in the OS community ;) Thank you, Alessandro Ferrucci On Wed, Aug 4, 2010 at 12:43 PM, Diego Bello wrote: > > > On Wed, Aug 4, 2010 at 10:01 AM, Massimiliano Arione > wrote: > >> On 3 Ago, 03:11, Diego Bello wrote: >> > I'm building an e-commerce s

[symfony-users] Re: How to validate values from $GLOBALS["HTTP_RAW_POST_DATA"]

2010-08-05 Thread Svetoslav Shterev
A better way would be to read from php://input(not using $GLOBALS). I don't see a reason why you can't do it - but they really should learn how to post multiform, instead of just dumping raw On Aug 4, 2:47 pm, Grzegorz Śliwiński wrote: > Thanks Gareth, > I'll have to play it. > I wanted to v