Hi,

Ok thank you very much for this SO FAST answer :)

Greets
 Reto

On Jan 18, 2008 12:45 PM, Thomas Weidner <[EMAIL PROTECTED]> wrote:
> Wait some days until 1.0.4 is out, or update to the latest svn release.
> This problem occurs because your host/server does not provide a locale
> setting and has already been fixed several weeks ago.
>
> Greetings
> Thomas
> I18N Team Leader
>
>
> ----- Original Message -----
> From: "retoreto" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, January 18, 2008 12:15 PM
> Subject: [fw-general] Zend_Locale_Exception when wget-ing
>
>
> >
> > Hi everyone,
> >
> > I'm relatively new to Zend_Framework and now got this strange error I
> > don't
> > know how to get rid of..
> > My website has the following code in the beginning:
> > $locale = new Zend_Locale('de');
> >
> > If I open the page in my webbrower this works without a problem, even if I
> > dont' explicitly define a locale (new Zend_Locale()).
> > When I try to get the page with "wget" however I get a
> > Zend_Locale_Exception:
> > wget www.mysite.com
> > Results in:
> > ERROR: Autodetection of Locale has been failed!<br />
> > Fatal error:  Uncaught exception 'Zend_Locale_Exception' with message
> > 'Autodetection of Locale has been failed!' in
> > /usr/share/ZendFramework/Zend/Locale.php:122
> >
> > But if I send the Language-Accept header with wget the whole thing works
> > great again:
> > wget --header='Accept-Language: de' www.lernvz.com
> > Results in correct execution..
> >
> > Now the thing I don't understand is, why it says it cannot autodetect a
> > locale, even if I define one explicitly ("de")..
> >
> > My system is apache2 on debian4 with php5 and Zend Framework 1.0.3.
> >
> > Any help is appreciated :)
> >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Zend_Locale_Exception-when-wget-ing-tp14948086s16154p14948086.html
> > Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to