【问题标题】:Could not load the resource bundle /en_US_POSIX.res"无法加载资源包 /en_US_POSIX.res"
【发布时间】:2014-04-15 10:26:33
【问题描述】:

部署我的 Symfony 2.4 Web 应用程序后,我有一个页面,它调用一个字段类型为 country 的 FormType。

$builder->add('pays', 'country');

但是,它崩溃了,我收到了这个错误:

Could not load the resource bundle "/var/www/vhosts/my_website.com/httpdocs/vendor/symfony/icu/Symfony/Component/Icu/Resources/data/region/en_US_POSIX.res

我尝试添加文件en_US_POSIX.res,但仍然无法正常工作。

我有以下设置。

  • PHP 版本 5.3.3
  • 国际版 1.1.0
  • ICU 3.6 版

任何帮助将不胜感激。

【问题讨论】:

    标签: symfony icu intl


    【解决方案1】:

    您应该拥有intl > 4.0 的版本。

    看到这个答案它可能会帮助你intl and icu configuration

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-26
      • 2019-07-13
      • 2017-05-02
      • 2017-12-11
      • 1970-01-01
      相关资源
      最近更新 更多