#271 - Conflict with php internationalization extension
Type Defect
Status Fixed
Milestone 3.0
Version 3.0
Component Core
Priority Normal
Severity Normal
Assigned to -
Reported 12 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

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

Jack closed as Fixed 12 years and 2 months ago