Seems like. I would double check if the yaml is valid and does not
have any tabs, etc. Also try putting the source with lowecase "mysql".
Everything else seems correct. If it still does not work, please
report it to http://trac.symfony-project.com

Kiril

On Mon, Nov 3, 2008 at 11:37 PM, Dmitry Nesteruk <[EMAIL PROTECTED]> wrote:
> I have problem with extracting strings from php files.
>
> I have added to factories.yml following configuration
>
>   i18n:
>     class: sfI18N
>     param:
>       source: MySQL
>       database: mysql://[EMAIL PROTECTED]/sfshop
>       debug:                off
>       untranslated_prefix:  "[T]"
>       untranslated_suffix:  "[/T]"
>       cache:
>         class: sfFileCache
>         param:
>           automatic_cleaning_factor: 0
>           cache_dir:                 %SF_I18N_CACHE_DIR%
>           lifetime:                  86400
>           prefix:                    %SF_APP_DIR%
>
> and added tables catalogue and trans_unit to my schema
>
> After it I trying to execute command from command line
>
> ./symfony i18n:extract frontend en
>
> But an error occurred
>
> "Error in connecting to Array."
>
> Also displayed warnings
>
> PHP Warning:  array_map(): An error occurred while invoking the map callback
> in /www/sfshop/htdocs/lib/symfony/lib/i18n/sfI18N.class.php on line 136
> Warning: array_map(): An error occurred while invoking the map callback in
> /www/sfshop/htdocs/lib/symfony/lib/i18n/sfI18N.class.php on line 136
>
> Is it bug in the symfony?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to