Hello,

The described solution works, but I found out, it causes the following PHP Warning (in case the sctipt is being executed by cron, not from Admin):

PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/lib64/php:/usr/share/pear') in /.../admin/includes/init_includes/init_languages.php on line 38
Here is the appropriate part of init_languages.php (strings 34...39):

Code:
// include the language translations
  require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
  $current_page = basename($PHP_SELF);
  if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
    include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
  }
I have found out, the $SERVER['PHP_SELF'] is an empty string (in case the script is being executed by cron!), thus $current_page is also empty.

How such issue can be fixed?

Thank you in advance and best regards,

AR