FOSFacebookBundle icon indicating copy to clipboard operation
FOSFacebookBundle copied to clipboard

Fatal error: Class 'ResourceBundle' not found

Open Raulken opened this issue 12 years ago • 8 comments

i have this error when try to edit my profile... this error i have after install fosfacebookbundle... i read in web that i need to intl extension in my webserver....but i not have installed :( exists another solution? for example edit htaccess?

thx

Raulken avatar Oct 10 '12 14:10 Raulken

Editing a .htaccess dosn't help ;)

You must write your own DataTransformers. But i would suggest, you should install the intl extension.

$ sudo apt-get install php5-intl

Baachi avatar Oct 12 '12 06:10 Baachi

yes in locale i have intl extension....but in webserver i haven't :((((( i can't re.buy another server....

Raulken avatar Oct 12 '12 14:10 Raulken

Can you paste your autoload.php? Symfony should fallback to the Locale component if intl is not available.

Baachi avatar Oct 12 '12 15:10 Baachi

add("Application", **DIR**); // intl if (!function_exists('intl_get_error_code')) { require_once **DIR**.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php'; ``` $loader->add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs'); ``` } AnnotationRegistry::registerLoader(array($loader, 'loadClass')); return $loader;

Raulken avatar Oct 12 '12 16:10 Raulken

@Raulken The ResourceBundle class does not have a stub implementation yet

stof avatar Oct 12 '12 17:10 stof

sorry stof i not understand.....i'm italian and also with google translate i not understand can u repeat with other words please?

Raulken avatar Oct 12 '12 17:10 Raulken

@stof i must have intl installed? not exists another solution?

Raulken avatar Oct 12 '12 17:10 Raulken

Install php5-intl.

If you're using ubuntu or so, "sudo apt-get install php5-intl" Or just uncomment the intl extension in you php.ini if your're using windows.

Joey92 avatar Dec 09 '12 12:12 Joey92