[symfony-users] Re: lastminute.visualdna.com Symfony 1.1 + Doctrine post-mortem

2008-11-19 Thread Eus
Hi Ho! --- On Wed, 11/19/08, Lee Bolding <[EMAIL PROTECTED]> wrote: > I don't understand what you mean by validation tags :-/ > > Do you mean will it create a validation.yml from your > validation rules in the schema? Is there a magic file named `validation.yml'? ;-) If you mean `apps/*/modules

[symfony-users] Re: sfGuard User Profile and adding new user

2008-11-19 Thread Flancer
Oh I forgot to mention I am using Symfony 1.2 beta2 On Nov 20, 9:53 am, Flancer <[EMAIL PROTECTED]> wrote: > I have noted something strange about sfGuard 3.1.1. > > I have created a table for sfGuardUserProfile for a project. > > I would get an error 500 everytime someone logins with a user that

[symfony-users] How would you.. Combine URLs from the database and the routing system?

2008-11-19 Thread Christian Schaefer
Hi all, I am seeking for advice here. I have nice little symfony project with lots of features and therefor a lot of routes. One feature though is a small custom built CMS that allows its users to do two things: 1. building a site structure that has no limits in terms of depth or naming convent

[symfony-users] Re: I18N for Fields title - How to ?

2008-11-19 Thread Philibert de Mercey
Bonjour Necho, If you mastered i18n with the 1.2 generator, I'd be really glad if you could help me: I'm trying to get a hand on the i18n fields from within the form section of the generator.yml, but fail to do so: schema.yml: post: id: ~ author_id: ~ post_i18n: title: { typ

[symfony-users] sfGuard User Profile and adding new user

2008-11-19 Thread Flancer
I have noted something strange about sfGuard 3.1.1. I have created a table for sfGuardUserProfile for a project. I would get an error 500 everytime someone logins with a user that was created directly from sfGuardUser's admin pages. However this doesn't happen with users who self-register thems

[symfony-users] Re: Re : [symfony-users] Re: File upload deletes previous file if field is empty

2008-11-19 Thread Daniel Staver
Thanks to everyone who helped me on this! I finally managed to get this to work, including a checkbox for deleting a previous image. I ended up with the following code: http://pastebin.com/f784bd80f I unset the real filename field and created a new file upload field with a different name. I the

[symfony-users] Re: $request->setError on Symfony 1.1?

2008-11-19 Thread Lee Bolding
Yes, but flash attributes don't have a namespace... You can't for instance easily have multiple errors, of different types, on the same page... If ($request->hasErrors()) { foreach($request->getErrorNames() as $error) { echo "" . $request->getError($error) . ""; } } (where error na

[symfony-users] Re: $request->setError on Symfony 1.1?

2008-11-19 Thread olivierb
I've just run into the same problem. I think I'm going to try Flash attributes. http://www.symfony-project.org/book/1_1/06-Inside-the-Controller-Layer#Flash Attributes Good luck. Olivier > Hi all, > > Just reading the Symfony 1.1 docs, and it says that this functionality   > only works with COM

[symfony-users] Re: Reorganizing plugin repositories

2008-11-19 Thread Kris Wallsmith
Hello again, I have completed this reorganization. The code for these plugins has all been moved into a trunk directory. You can now update your svn:externals definitions like so: DbFinderPlugin http://svn.symfony-project.com/plugins/DbFinderPlugin/trunk Thanks, Kris -- Kris Wallsmith | Co

[symfony-users] Re: I18N for Fields title - How to ?

2008-11-19 Thread Necho
Salut fréderic! Peux tu me donner ton fichier generator.yml?? J'ai réussi à bien maitriser l'internationalisation On 19 nov, 17:51, fredlab <[EMAIL PROTECTED]> wrote: > Hey, > > Continuing my tests on the new admin generator, I decided to try to > translate field names. > > For example, in my au

[symfony-users] I18N for Fields title - How to ?

2008-11-19 Thread fredlab
Hey, Continuing my tests on the new admin generator, I decided to try to translate field names. For example, in my author table, I have : Id Name birthdate If I use the 1.2 admin generator, the form display the table titles. I found how to change them for the current language but how do you cr

[symfony-users] Re: Out of memory error

2008-11-19 Thread Eno
I did some reading and it seems libmysql allocates memory for all retrieved rows unless you use mysql_unbuffered_query. So, Im guessing using straight PHP without buffered queries might help. -- --~--~-~--~~~---~--~~ You received this message because you are su

[symfony-users] Re: Handling session timeout...

2008-11-19 Thread Eno
On Nov 17, 7:17 am, Sumedh <[EMAIL PROTECTED]> wrote: > How can I handle automated session timeout, so that the user is taken > to a login page, or shown a message like, "You have been logged out > because of timeout"...? > > Is there some callback mechanism in Symfony 1.0 for this? No - you hav

[symfony-users] Re: Logging configuration confusion

2008-11-19 Thread Lee Bolding
is "err" a valid option? shouldn't it be either an integer or one of the predefined PHP constants for error handling? (E_ERROR, E_ALL)? http://uk2.php.net/manual/en/errorfunc.constants.php On 19 Nov 2008, at 13:40, Mtr wrote: > > I'm having the same problem. Did you found the solution? >

[symfony-users] Re: sfBreadcrumbs plugin

2008-11-19 Thread Nicolas Perriault
On Wed, Nov 19, 2008 at 2:15 PM, mahesh <[EMAIL PROTECTED]> wrote: > Hi > how to display the breadcrmbs on my laout. Hi Sorry -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~

[symfony-users] Re: Logging configuration confusion

2008-11-19 Thread Mtr
I'm having the same problem. Did you found the solution? Thanks, Miguel On 25 sep, 13:03, "Rytis Daugirdas" <[EMAIL PROTECTED]> wrote: > Yeah, cache is cleared... > > Anyone else could check the same? I would feel better if I knew I'm not > alone with this problem :). > > On Thu, Sep 25, 2008 at

[symfony-users] sfBreadcrumbs plugin

2008-11-19 Thread mahesh
Hi how to display the breadcrmbs on my laout. --~--~-~--~~~---~--~~ 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 unsubscribe from this group

[symfony-users] Re: Admin generator sf1.2 - show action doesn't exist

2008-11-19 Thread cinxgler m.m.
On Nov 18, 8:46 pm, "Cinxgler Mariaca Minda" <[EMAIL PROTECTED]> wrote: >  'Action "sfEzcWorkflowExecutionAdmin/show" does not exist.', > everything else works properly except the show action. Any clue about > this? > Ouch, silly question, I just realized the 'show' action is just available on sf

[symfony-users] Re: Multiple databases using multiple schema files

2008-11-19 Thread Thomas Rabaix
The name of the file does not tell doctrine which connection to use. In your schema use the connection parameter for each model. On Wed, Nov 19, 2008 at 10:43 AM, Sebastian <[EMAIL PROTECTED]>wrote: > > Hi. > > I added two database connections to databases.yml like this: > > dev: > db01: >cl

[symfony-users] Multiple databases using multiple schema files

2008-11-19 Thread Sebastian
Hi. I added two database connections to databases.yml like this: dev: db01: class: sfDoctrineDatabase ... ... dev: db02: class: sfDoctrineDatabase ... ... Now I created two schema files called db01.schema.yml and db02.schema.yml. They look like this: AModel: colu