#271 - Conflict with php internationalization extension

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.

Activity

Jack closed as Fixed 13 years and 2 months ago

Status

Fixed
-
Normal

Details

Defect
3.0
Core
3.0
Normal

Tracking

Mark Serellis
13 years and 3 months ago
11 years and 11 months ago
0
-
-