when I use old 1.0 method to generate backend admin, it works fine. So how
to add language?

On Tue, Mar 17, 2009 at 3:01 AM, Fási Gábor <[email protected]> wrote:

>
> It seems like the site is trying to use the user's culture info, but
> it doesn't have any. Add one language, and try again.
>
> On Tue, Mar 17, 2009 at 02:57, xhe <[email protected]> wrote:
> >
> > I just followed the jobeet to create a backend admin for my site, but
> > I met this error when trying to visit. Based on the error info, it is
> > cauased by the missing of langauges. But How can I fix it?
> >
> >
> > 500 | Internal Server Error | InvalidArgumentException
> > The following languages do not exist: .
> > stack trace
> >
> >    * at ()
> >      in SF_ROOT_DIR\lib\vendor\symfony\lib\i18n
> > \sfCultureInfo.class.php line 794 ...
> >             791.     {
> >             792.       if ($problems = array_diff($languages,
> > array_keys($allLanguages)))
> >             793.       {
> >             794.         throw new InvalidArgumentException(sprintf
> > ('The following languages do not exist: %s.', implode(', ',
> > $problems)));
> >             795.       }
> >             796.
> >             797.       $allLanguages = array_intersect_key
> > ($allLanguages, array_flip($languages));
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to