[symfony-users] Stop a nuclear disaster

2010-03-18 Thread paonethestar
Hi ,Our government is churning out one hazardous bill after another. This time it is a bill called the Civil Liability for Nuclear Damage, and it's coming up for a vote in a couple of days. The bill lets U.S. corporations off the hook for any nuclear accidents they cause on Indian soil. They'd

Re: [symfony-users] Stop a nuclear disaster

2010-03-18 Thread DEEPAK BHATIA
Hi, It is not a good idea to use symfony google groups for which you can create a new google group. Apologies to all members of symfony google group. Deepak Bhatia Project Manager NEC HCL System Technologies India On Thu, Mar 18, 2010 at 2:09 PM, Gareth McCumskey gmccums...@gmail.comwrote:

[symfony-users] Re: Propel: Change generated classname

2010-03-18 Thread Massimiliano Arione
You can try with alternative schema syntax: http://www.symfony-project.org/cookbook/1_2/en/alternative_schema cheers Massimiliano On 17 Mar, 17:37, Brandon Turner btur...@bltweb.net wrote: I'm using Propel in Symfony 1.3.3.  If I have a database table named 'myDatabaseTable' and would like the

[symfony-users] Re: Sf 1.4 + Propel + Sqlite : unproper handling of bool criteria

2010-03-18 Thread Massimiliano Arione
Are those fields defined as boolean in your schema? Anyway, if you put your code in the correct model class, it's not overwritten at every generation. cheers Massimiliano On 17 Mar, 14:18, SlimShaggy filthy.m...@gmail.com wrote: Hello all, I am currently migrating an app from Symphony 1.2 to

Re: [symfony-users] Re: Sf 1.4 + Propel + Sqlite : unproper handling of bool criteria

2010-03-18 Thread Gareth McCumskey
Alter your schema to change the type to INTEGER, rebuild the model, do a symfony cc, then use the queries to check for 1 or 0 but with no quotes so: $c-add(ShowPeer::IS_PUBLISHED,1); instead of: $c-add(ShowPeer::IS_PUBLISHED,'1'); On Thu, Mar 18, 2010 at 3:15 PM, Massimiliano Arione

[symfony-users] Session Timeout

2010-03-18 Thread DEEPAK BHATIA
Hi, How do we check whether session handling between client and server is correct as per factories.yml setting ? Can we debug exactly when the session get expired ? Thanks in advance :-) Regards Deepak Bhatia -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Questio about the code of the backend

2010-03-18 Thread Javier Garcia
Hi, this is the index action and template generated at the backend for the model coche. public function executeIndex(sfWebRequest $request) { // sorting if ($request-getParameter('sort') $this-isValidSortColumn($request-getParameter('sort'))) {

[symfony-users] An action that serves images not working without frontend_dev.php!

2010-03-18 Thread Ahsanul
Hello all, I have an action which I use like this: img src=/image/72/72/name/ 5dc0758466c56840416868ef4c5be3a62a248ed3.jpg / which gives me the image after resizing it to 72x72 However the problem is, it's only working if I am using frontend_dev.php. If I use index.php the image is not shown

[symfony-users] Re: Symfony frontend sort by th

2010-03-18 Thread ziclo
I found the solution to this issue : I copied all actions found into the cache / backend folder. Then i debugged some errors (lib missing, etc..). So the solution is to use the admin filters, pager and sort actions. Now it works fine. Thank you all ! On 13 fév, 14:55, ziclo lauren...@gmail.com

Re: [symfony-users] Questio about the code of the backend

2010-03-18 Thread Daniel Lohse
They are set in the preExecute function. You'd have to search in the data/generator/sfDoctrineModule folder inside the symfony folder. Cheers, Daniel On 18.03.2010, at 15:01, Javier Garcia wrote: Hi, this is the index action and template generated at the backend for the model coche.

[symfony-users] relation between tables without onDelete

2010-03-18 Thread saki
hi guys! Please help me to solve my little problem. I have two tables. Users and Partners... in the schema.yml file you can see the relation.. rmPartner: ... relations: rmUser: { onDelete: CASCADE, local: contact, foreign: id } Unfortunately, when I delete a User, symfony deletes his

[symfony-users] Security: can't log in

2010-03-18 Thread kim
I'm getting this strange fault: I'm using sfDoctrineGuardPlugin (like described in the book) and I follow all steps. When i test it, then indeed my backend page is secured but when i press the Proceed to login link i come to the login page but i don't get to see it because to see that page i

[symfony-users] error installing sfDoctrineGuardPlugin

2010-03-18 Thread kim
Hello, When i want to install sfDoctrineGuardPlugin I get following output C:\Users\Kimsymfony plugin:install sfDoctrineGuardPlugin plugininstalling plugin sfDoctrineGuardPlugin PHP Deprecated: Assigning the return value of new by reference is deprecated in

[symfony-users] Unable to put sfGuardUser tables in a different database that the rest of the tables

2010-03-18 Thread Manel
I want the data of the sfGuardUser plugin in a database that is not the propel database. I want this because I will have several applications in diferent servers, but I want to unify the user credentials for all the applications. I've defined 2 databases in databases.yml: all: propel:

[symfony-users] Admin generator. Two modules from same schema or a module with two views ?

2010-03-18 Thread Race
# config/schema.yml propel: jobeet_job: id: ~ category_id: { type: integer, foreignTable: jobeet_category, foreignReference: id, required: true } type: { type: varchar(255) } company: { type: varchar(255), required: true } logo: { type: varchar(255) } url: { type: varchar(255) } position: {

[symfony-users] What about Dimensions plugin ?

2010-03-18 Thread Aurélien Fredouelle
Hi, I have been looking for some days how to do theme-ing in Symfony, and in many threads people advised to use the ysfDimensionsPlugin. However, the last version of this plugin is for symfony 1.1, with no further updates. Any ideas why ? Is there a new standard way to do what this plugin is for

Re: [symfony-users] What about Dimensions plugin ?

2010-03-18 Thread Thomas Rabaix
What you mean by theme-ing ? On Wed, Mar 17, 2010 at 9:36 AM, Aurélien Fredouelle aurelien.fredoue...@gmail.com wrote: Hi, I have been looking for some days how to do theme-ing in Symfony, and in many threads people advised to use the ysfDimensionsPlugin. However, the last version of this

[symfony-users] Re: Questio about the code of the backend

2010-03-18 Thread Javier Garcia
Hi Daniel, this below is the preExecute() function but there isn't anything about $this-filters and $this-configuration : class autoCocheActions extends sfActions { public function preExecute() { $this-configuration = new cocheGeneratorConfiguration(); if

[symfony-users] Re: What about Dimensions plugin ?

2010-03-18 Thread Aurélien Fredouelle
I want my project to have multiple themes : the user will be able to choose what the website look like. Think of the themes of the phpbb forum. In my case, this means changing not only the css, but also some templates. What I need is the following : depending on some user variables, the templates

[symfony-users] Re: convert to nested set

2010-03-18 Thread Richtermeister
If you're using propel, I can give you a class that does that. Daniel On Mar 17, 8:52 pm, Gatos ega...@gmail.com wrote: Hello, If there any code available for converting parent/child table to a nested set table? Thank you in advance -- If you want to report a vulnerability issue on

[symfony-users] Deploying: if i write the password in properties.ini, why i have to write it again?

2010-03-18 Thread Javier Garcia
Hi, this is my properties.ini. When i deploy my project (deploy --go) it asks me the password. [symfony] name=rs [production] host=208.43.66.44 port=65001 user=tirengar dir=public_html type=rsync pass=my_password --- Javi -- If you want to report a

Re: [symfony-users] Deploying: if i write the password in properties.ini, why i have to write it again?

2010-03-18 Thread Augusto Flavio
Hi Javier, try to create a ssh connection without password. You can do it using a ssh public key. Bye. Augusto Morais 2010/3/18 Javier Garcia tirengar...@gmail.com Hi, this is my properties.ini. When i deploy my project (deploy --go) it asks me the password. [symfony] name=rs

Re: [symfony-users] Re: Questio about the code of the backend

2010-03-18 Thread Daniel Lohse
Huh, am I blind? There is $this-configuration = new cocheGeneratorConfiguration(); in your post, so there's your $configuration variable coming from. As for the $filters variable, you're right, that's not there but it's in the indexAction – this calls $this-getPager() which in turn calls

Re: [symfony-users] relation between tables without onDelete

2010-03-18 Thread Lea Hänsenberger
hi, there's still a partner with a foreign key pointing to the user you want to delete. you should first unlink the user from the partner: $partner-unlink('rmUser',$user_id); Then you should be able to delete the user object. cheers, Lea On Mar 18, 2010, at 13:19 , saki wrote: hi guys!

[symfony-users] Re: Questio about the code of the backend

2010-03-18 Thread Javier Garcia
Thanks!, i think l was looking more for $this-filters than for $this- configuration.. Javi On Mar 18, 7:14 pm, Daniel Lohse annismcken...@googlemail.com wrote: Huh, am I blind? There is $this-configuration = new cocheGeneratorConfiguration(); in your post, so there's your $configuration

[symfony-users] Help with Symfony routing problem.

2010-03-18 Thread DarrenMr
Hi guys here is my route YAML: product: url: /product_:brand_:name param: { module: products, action: view } requirements: { brand: \d+, name: ([a-z0-9-])+ } However I get this error when I try to access the page: Unable to parse /product_:brand_:name route near :name. When my url is like:

Re: [symfony-users] Re: What about Dimensions plugin ?

2010-03-18 Thread Thomas Rabaix
The dimension must be set before symfony start, at the configuration level. To be clear you do not have access to : sfContext::getInstance() (sfSessionStorage, sfDatabase ...) Now, the plugin should work with sf1.4 as ysfDimension just change the configuration path ... For your specific need it

[symfony-users] Re: Admin generator. Two modules from same schema or a module with two views ?

2010-03-18 Thread Richtermeister
Hey There, yes, both solutions work: either create 2 distinct admin modules by specifying the module parameter during creation, or have one smart module that display info/forms differently. In the latter case you'll probably have to custom code more and rely less on the yml configuration. Daniel

[symfony-users] Info about how to rename an application

2010-03-18 Thread Gustavo Fonseca
Hi all, today i have needed to rename an application (sf 1.4) and the only information about it that i found was from a fabien's post [1]... but i think it is out of date. You can follow the steps of his post, but you will have to rename the file:

[symfony-users] Problems with many many relations

2010-03-18 Thread Julian Reyes
Hi i'm working in a many - many relation and symfony dont make this job automatic and the generator dont show me the relations, and in the tutorials in the projects web show how to symfony (version 1.4) makes it example schema use in Propel table1: id: ~ name: ~ table2: id: ~