Conflict with php internationalization extension

271
Defect
-
3.0
3.0
Core
Fixed
Normal
Normal
5 years ago
3 years ago
0

Description

What did you do to cause this? Straight after installing, navigating to the base url.

What page were you on? Any for main app

What PHP and MySQL versions do you run? PHP Version 5.3.10-1ubuntu3.2 MySQL Version 5.5.24-0ubuntu0.12.04.1

Describe the defect: Because I have the Internationalization extension installed (http://php.net/manual/en/book.intl.php) the Class Locale is already defined therefore an error is thrown:

Fatal error: Cannot redeclare class Locale in /var/www/traq/system/libraries/locale.php on line 31 Stack trace: 1. {main}() /var/www/traq/index.php:0 2. require() /var/www/traq/index.php:24 3. require() /var/www/traq/system/bootstrap.php:30

I renamed the class to TraqLocale and changed references accordingly and that fixed the error.

Ticket History

5 years and 2 months ago by Jack

  • Closed ticket as Fixed