Hy Liao,

the basic problem is that php's setlocale() does eighter not return a locale or returns only "C" as locale which means "systemdefault". You should upgrade from 1.0.3 to 1.0.4 or 1.5 where this problem has been fixed.

Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com

----- Original Message ----- From: "Kexiao Liao" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 01, 2008 5:55 PM
Subject: [fw-general] Autodetection of Locale has been failed!



Can anyone know what cause the following problem, it seems happening when
user access the web page through the remote access. We are not sure what
cause the problem.

exception 'Zend_Locale_Exception' with message 'Autodetection of Locale has
been failed!' in /var/www/ZendFramework-1.0.3/library/Zend/Locale.php:122
Stack trace:
#0 /var/www/ZendFramework-1.0.3/library/Zend/Locale.php(906):
Zend_Locale->__construct()
#1 /var/www/ZendFramework-1.0.3/library/Zend/Date.php(4444):
Zend_Locale::isLocale(NULL, true)
#2 /var/www/ZendFramework-1.0.3/library/Zend/Date.php(172):
Zend_Date->setLocale(NULL)
#3
/var/ctresearch/htdocs/DataEntry/rvMitralDisease/controllers/MainController.php(129):
Zend_Date->__construct()
#4 /var/www/ZendFramework-1.0.3/library/Zend/Controller/Action.php(499):
MainController->editAction()
#5
/var/www/ZendFramework-1.0.3/library/Zend/Controller/Dispatcher/Standard.php(242):
Zend_Controller_Action->dispatch('editAction')
#6 /var/www/ZendFramework-1.0.3/library/Zend/Controller/Front.php(929):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http))
#7 /var/ctresearch/htdocs/DataEntry/rvMitralDisease/index.php(85):
Zend_Controller_Front->dispatch()
#8 {main}

--
View this message in context: http://www.nabble.com/Autodetection-of-Locale-has-been-failed%21-tp16418700p16418700.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to