ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Language\Setup\LanguageDataNotSavedException Class Reference

The module array just written to lng_modules could not be read back - almost always a wrong collation of lng_data/lng_modules (see mantis #20046 and #19140). More...

+ Inheritance diagram for ILIAS\Language\Setup\LanguageDataNotSavedException:
+ Collaboration diagram for ILIAS\Language\Setup\LanguageDataNotSavedException:

Public Member Functions

 __construct (string $module, string $lang_key)
 

Detailed Description

The module array just written to lng_modules could not be read back - almost always a wrong collation of lng_data/lng_modules (see mantis #20046 and #19140).

The message embeds only the module and language key: as 409 the activity error rendering shows it (escaped), like the legacy message.

Definition at line 28 of file LanguageDataNotSavedException.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Language\Setup\LanguageDataNotSavedException::__construct ( string  $module,
string  $lang_key 
)

Definition at line 30 of file LanguageDataNotSavedException.php.

31 {
32 parent::__construct(sprintf(
33 "Data for module '%s' of language '%s' is not correctly saved. "
34 . "Please check the collation of your database tables lng_data and lng_modules. It must be utf8_unicode_ci.",
35 $module,
36 $lang_key
37 ), 409);
38 }
if(!isset($arguments[0])) if(count( $arguments) > 3) if(! $remove_from_lang &&isset($arguments[2]) &&!is_dir($arguments[2])) $module
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $module, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: