[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Wired answer from XTR-install



On Wed, 2002-07-31 at 11:41, Jörg Jan Münter wrote:

> Warning: i18n_new did not return a handle in
/usr/sausalito/ui/libPhp/I18n.php on line 31
> Warning: 0 is not a valid i18n object index! in
/usr/sausalito/ui/libPhp/I18n.php on line 84
> Warning: Cannot add header information - headers already sent by
(output started at /usr/sausalito/ui/libPhp/I18n.php:31) in
> /usr/sausalito/ui/libPhp/ServerScriptHelper.php on line 102
> 
> does anybody know what that means? Anyway it installed the software
correctly.

Well...

The third warning is a result of the two first warnings, it will
disappear as soon as the real problem is solved.

My guess is, that the second warning is a result of the first warning.

I'm not sure about your line 31 (at your RaQ XTR), but at a RaQ550 I
find this from line 40 to line 48 in /usr/sausalito/ui/libPhp/I18n.php :

  function I18n($domain = "", $langs = "")
  {
    if($GLOBALS["_I18n_isDebug"]) print("I18n($domain, $langs)\n");
    if($GLOBALS["_I18n_isStub"]) return;
    if($langs == "" && getenv("LANG") == "") {
      $langs = "en";
    }
    $this->handle = i18n_new($domain, $langs);
  }

Obviously, the function 'i18n_new($domain, $langs)' does not return a
handle as it should. Next question is, are the two parameters $domain
and $langs valid ? 

Check it, then get back here...

--
Thomas Knudstrup [LIGA]