I found a snippet: http://www.symfony-project.com/snippets/snippet/6
I think it would be usefull to put an info to the book? greeting Gordon -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von Franke Gordon Gesendet: Montag, 16. April 2007 12:12 An: [email protected] Betreff: [symfony-devs] batch script Hallo, i have a problem with the batch function. So i follow the introduction from: http://www.symfony-project.com/book/trunk/06-Inside-the-Controller-Layer #Batch%20Files i have 2 apps backend and frontend. To generate a skeleton i write: symfony init-batch backend dev import i get an exception ;( [Exception] The specified batch "backend" does not exist. Ok i copy the code from the book: define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..')); define('SF_APP', 'backend'); define('SF_ENVIRONMENT', 'dev'); define('SF_DEBUG', true); require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR. SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); Now i have the problem that i get a 'No connection params set for propel' ;( $root = new TblGeo(); ... $root->save(); Can anybody help me please? Thank you. greetings Gordon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
