Hi Gordon,

An additional note, though you solved your connection problem already:

Please run

$ symfony init-batch default import backend dev

to see how its working.

The default batch does  the same thing, which you did here manually  
by copying the batch data by hand.

- Frank


Am 16.04.2007 um 12:11 schrieb Franke Gordon:

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to