[symfony-users] sfManagerPlugin teaser: build a CMS on top of your symfony application

2008-12-19 Thread Bernhard Schussek
Hi fellow symfonians, I want to speak a little bit about a plugin that I currently work on and get some feedback about it from you. I was always rather unhappy with prebuilt CMS, as customization or the integration of modules with lots of business logic is mostly rather hard. Additionally, man

[symfony-users] Re: Help symfony newbie

2008-12-19 Thread Calvin
Bernhard, I am using Ubuntu as you might have noticed and the version I'm using has PHP 5.2.3 as the latest package. Frankly, I don't know how to update PHP manually and I can estimate the effects on the system. If you tell me how to do it, I might upgrade it so I can use symfony 1.2. Kal: dis

[symfony-users] Re: Doctrine_Validator_Exception

2008-12-19 Thread juro
Hi Jon, I can do, Symfony or Doctrine? Actually, after looking at the stack trace, it is even more weird. It is not that line that throws the error but Access->save() which surprises me, as there is no relationship between Access and PaymentType. Which information do you want in the ticket?

[symfony-users] Re: Doctrine_Validator_Exception

2008-12-19 Thread Jonathan Wage
Can you create a ticket for this? Thanks, Jon On Fri, Dec 19, 2008 at 6:12 PM, juro wrote: > > Hi, > I am migrating from 1.0/1.1 to 1.2 and have a problem with Doctrine's > validation errors. This is part of my schema: > > Invoice: > actAs: [Timestampable, Usertraceable] > columns: >id: >

[symfony-users] Doctrine_Validator_Exception

2008-12-19 Thread juro
Hi, I am migrating from 1.0/1.1 to 1.2 and have a problem with Doctrine's validation errors. This is part of my schema: Invoice: actAs: [Timestampable, Usertraceable] columns: id: type: integer(4) primary: true autoincrement: true number: type: string(20)

[symfony-users] Unable to propel:build-all on new project Symfony 1.2.1

2008-12-19 Thread James
I created a new project. Ran the command symfony configure:database "mysql://login:pas...@localhost/blog" changing the login and passwd and dbname to the appropriate items. Checked the database.yml and propel.ini files and saw that the passwd was not put in, but the rest of the data was. I add

[symfony-users] Re: generator.yml dynamic credentials

2008-12-19 Thread Garakkio
On 19 Dic, 12:00, Sid Ferreira wrote: > can't be used php in yml? > so, something like > > config: >   list: >     object_actions: >       _edit: { credential: item_ } >       _delete: { credential: item_ } > > might work...must investigate to locate the variable.. share it if you > do... I don'

[symfony-users] Re: Help symfony newbie

2008-12-19 Thread Eno
On Dec 18, 11:30 pm, Calvin wrote: > It seems if I want to see a page, I need to clear cache. Help will be > appreciated. You should be using a dev controller with caching switched off. Also check your Apache error log too. -- --~--~-~--~~~---~--~~ You recei

[symfony-users] Re: Using Propel on shared hosting

2008-12-19 Thread Ward Loockx
Can you be more specific ? Anybody experienced with this ? I'm new to symfony and propel etc so more info should help :) Thanks! Ward Pablo Godel schreef: > You could probably write an action to run this locally. > > Pablo > > On Tue, Dec 16, 2008 at 5:00 AM, Ward Loockx wrote: > >> Isn't th

[symfony-users] Re: Using Propel on shared hosting

2008-12-19 Thread Pablo Godel
You could probably write an action to run this locally. Pablo On Tue, Dec 16, 2008 at 5:00 AM, Ward Loockx wrote: > > Isn't there any way to do this ? > > Ward Loockx schreef: >> Lee Bolding schreef: >> >>> Why are you building your models on your server? >>> >>> Build them locally, then upload

[symfony-users] Re: Task "generate-admin" is not defined.

2008-12-19 Thread Kai Brändle
Hi paras, " mentioned in the website". Can you post a link? Perhaps: On Linux you shoud use ./symfony propel:generate.admin instead of php symfony p 2008/12/19 paras > > when I run this command in terminal [Fedora 7] > "php symfony propel:generate-admin backend answer" > i got following e

[symfony-users] Re: Help symfony newbie

2008-12-19 Thread Kai Brändle
Can you post your control_dev.php ? Because normaly you should get an exception-page when an error occours in a dev envoirnment. And why isn't it frontend-dev.php like the tutorial ones? 2008/12/19 Calvin > > Hi, > > I just started to use Symfony 1.1 under linux box. > I have been following My

[symfony-users] How to save a extra field to many-to-may table in doctrine

2008-12-19 Thread Kai Brändle
Hello Symfonians, using doctrine i like to sort many-to-many relation. Example: Article has many Actor Actor has many Article But the "Best" actor should display first when reading the article. (When you read an article about James Bond "Goldfinger" than Sean Connery should be named bevor Shirl

[symfony-users] Re: Help symfony newbie

2008-12-19 Thread Bernhard Schussek
Hi Calvin, I think I heard something about the 1.1 version of the first-project tutorial being broken, but I could be wrong. What about doing the brand-new Jobeet tutorial for symfony 1.2? Bernhard --~--~-~--~~~---~--~~ You received this message because you are s

[symfony-users] Task "generate-admin" is not defined.

2008-12-19 Thread paras
when I run this command in terminal [Fedora 7] "php symfony propel:generate-admin backend answer" i got following error Task "generate-admin" is not defined. I was just doing as it is mentioned in the website but with a different database { "answer" is a table in my database} --~--~-~-

[symfony-users] Help symfony newbie

2008-12-19 Thread Calvin
Hi, I just started to use Symfony 1.1 under linux box. I have been following My First Project tutorial [1] and I am stuck in the middle of it. First of all, .htaccess were giving out errors, so I renamed it temporarily. but it wasn't a major problem. Creating tables from yaml, creating models f

[symfony-users] Re: generator.yml dynamic credentials

2008-12-19 Thread Sid Ferreira
can't be used php in yml? so, something like config: list: object_actions: _edit: { credential: item_ } _delete: { credential: item_ } might work...must investigate to locate the variable.. share it if you do... On Dec 19, 8:19 am, Garakkio wrote: > On 19 Dic, 10:41, "Bernhar

[symfony-users] Re: Exceptions in production environment

2008-12-19 Thread Dan Leech
yeah, its a symfony 1.2 project, upgraded from 1.0 the config_handlers.yml.php tries to instantiate a custom config handler we use. When I include this config_handler manually in ProjectConfiguration.class.php things work as expected. 2008/12/19 Lee Bolding : > > Autoloading again? > > Is this s

[symfony-users] Re: generator.yml dynamic credentials

2008-12-19 Thread Garakkio
On 19 Dic, 10:41, "Bernhard Schussek" wrote: > You cannot dynamically specify in the generator.yml. There is another > trick though: > The sfAction class has a method called getCredential(), which returns > the credentials required for a specific method. You can override this > method in your act

[symfony-users] Re: generator.yml dynamic credentials

2008-12-19 Thread Bernhard Schussek
Hi, You cannot dynamically specify in the generator.yml. There is another trick though: The sfAction class has a method called getCredential(), which returns the credentials required for a specific method. You can override this method in your actions class and add/remove credentials to/from the

[symfony-users] Re: Best path for upgrading a doctrine-based symfony 1.1 admin console to 1.2?

2008-12-19 Thread Jonathan Wage
On Fri, Dec 19, 2008 at 2:19 AM, David Brewer wrote: > > I am going through the process of upgrading some projects from 1.0 to > 1.2 (with a brief stop at 1.1 in between). It's been going relatively > smoothly, but now I've hit my rough spot. > > The problem is that one of my project includes an

[symfony-users] Best path for upgrading a doctrine-based symfony 1.1 admin console to 1.2?

2008-12-19 Thread David Brewer
I am going through the process of upgrading some projects from 1.0 to 1.2 (with a brief stop at 1.1 in between). It's been going relatively smoothly, but now I've hit my rough spot. The problem is that one of my project includes an extensively customized admin console created using the sfDoctrin

[symfony-users] Re: Exceptions in production environment

2008-12-19 Thread Lee Bolding
Autoloading again? Is this symfony 1.2? On 18 Dec 2008, at 17:11, Lee Bolding wrote: > > it should be... > >> getApplicationConfiguration('ourapp', 'prod', false); > > The last arg is to enable/disable debugging > > On 18 Dec 2008, at 17:03, Dan Leech wrote: > >> >> Hi all >> >> We are rec