2

After deploying my Symfony 2.4 web application, I have a page where it calls to a FormType with a field type country.

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

However, it crashes and I get this error:

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

I tried to add the file en_US_POSIX.res but it still not working.

I have the following setup.

  • PHP Version 5.3.3
  • Intl version 1.1.0
  • ICU version 3.6

Any help will be appreciated.

4

1 回答 1

0

你应该有一个intl> 4.0的版本。

看到这个答案它可以帮助你国际和ICU配置

于 2014-03-17T12:09:05.010 回答