[horde] Warning: unserialize() failed at offset 0 of 36 bytes in /var/www /html/horde/lib/Auth.php on line 227

Joaquim Machado joaquim.machado at ine.pt
Fri Dec 21 03:40:05 PST 2001


<?php
// $Horde: horde/config/registry.php.dist,v 1.52.2.2 2001/12/03 16:08:13
chuck Exp $

// Uncomment the auth/login/logout lines if you want to let either
// IMP or Gollem handle the authentication for Horde. This avoids the
// "double login" while accessing IMP.

$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';
// $this->registry['auth']['login'] = 'gollem';
// $this->registry['auth']['logout'] = 'gollem';
$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';
$this->registry['contacts']['search'] = 'turba';
$this->registry['contacts']['add'] = 'turba';
$this->registry['contacts']['sources'] = 'turba';
$this->registry['contacts']['fields'] = 'turba';
$this->registry['net']['finger'] = 'nic';
$this->registry['tasks']['search'] = 'nag';
$this->registry['tasks']['list'] = 'nag';
$this->registry['tasks']['show'] = 'nag';
$this->registry['tasks']['add'] = 'nag';

// Default to assuming that the module directories live inside the horde
// directory.
$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/login.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'show' => true,
    'templates' => dirname(__FILE__) . '/../templates',
    'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'cookie_path' => '/horde',
    'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
);

$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
    'webroot' => '/horde/imp',
    'icon' => '/horde/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => true,
    'show' => true
);

$this->applications['turba'] = array(
    'fileroot' => dirname(__FILE__) . '/../turba',
    'webroot' => '/horde/turba',
    'icon' => '/horde/turba/graphics/turba.gif',
    'name' => _("Addressbook"),
    'allow_guests' => false,
    'show' => true
);

$this->applications['gollem'] = array(
    'fileroot' => dirname(__FILE__) . '/../gollem',
    'webroot' => '/horde/gollem',
    'icon' => '/horde/gollem/graphics/gollem.gif',
    'name' => _("FTP"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['nic'] = array(
    'fileroot' => dirname(__FILE__) . '/../nic',
    'webroot' => '/horde/nic',
    'icon' => '/horde/nic/graphics/nic.gif',
    'name' => _("Network"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => '/horde/kronolith',
    'icon' => '/horde/kronolith/graphics/kronolith.gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'show' => true
);

$this->applications['jonah'] = array(
    'fileroot' => dirname(__FILE__) . '/../jonah',
    'webroot' => '/horde/jonah',
    'icon' => '/horde/jonah/graphics/jonah.gif',
    'name' => _("Headlines"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['troll'] = array(
    'fileroot' => dirname(__FILE__) . '/../troll',
    'webroot' => '/horde/troll',
    'icon' => '/horde/troll/graphics/troll.gif',
    'name' => _("News"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['chora'] = array(
    'fileroot' => dirname(__FILE__) . '/../chora',
    'webroot' => '/horde/chora',
    'icon' => '/horde/chora/graphics/chora.gif',
    'name' => _("CVS"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['whups'] = array(
    'fileroot' => dirname(__FILE__) . '/../whups',
    'webroot' => '/horde/whups',
    'icon' => '/horde/whups/graphics/whups.gif',
    'name' => _("Bugs"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['nag'] = array(
    'fileroot' => dirname(__FILE__) . '/../nag',
    'webroot' => '/horde/nag',
    'icon' => '/horde/nag/graphics/nag.gif',
    'name' => _("Tasks"),
    'allow_guests' => true,
    'show' => false
);

$this->applications['orator'] = array(
    'fileroot' => dirname(__FILE__) . '/../orator',
    'webroot' => '/horde/orator',
    'name' => _("Presentations"),
    'allow_guests' => true,
    'show' => false
);

$this->services['gollem']['auth']['login'] = array(
    'link' => "%application%/login.php?redirect_url=|url|"
);
$this->services['gollem']['auth']['logout'] = array(
    'link' => "%application%/login.php?reason=logout&redirect_url=|url|"
);

$this->services['imp']['auth']['login'] = array(
    'link' => "%application%/login.php?redirect_url=|url|"
);
$this->services['imp']['auth']['logout'] = array(
    'link' => "%application%/login.php?reason=logout&redirect_url=|url|"
);
$this->services['imp']['mail']['compose'] = array(
    'link' =>
"javascript:open_compose_win('popup=1&to=|to|&cc=|cc|&bcc=|bcc|&msg=|msg|&su
bject=|subject||extra|');",
    'includeFile' =>
'%application%/templates/javascript/open_compose_win.js',
);
$this->services['imp']['mail']['composePopup'] = array(
    'file' => '%application%/lib/api.php',
    'includeFile' =>
'%application%/templates/javascript/open_compose_win.js',
    'function' => 'impComposePopup',
    'args' => array()
);
$this->services['imp']['horde']['summary'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'impSummary',
    'args' => array(),
    'type' => 'string'
);

$this->services['kronolith']['horde']['summary'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'kronolithSummary',
    'args' => array(),
    'type' => 'string'
);

$this->services['nag']['tasks']['list'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'nagListTasks',
    'args' => array('sortby', 'sortdir'),
    'type' => 'array'
);
$this->services['nag']['tasks']['search'] = array(
    'link' => "%application%/search.php"
);
$this->services['nag']['tasks']['show'] = array(
    'link' => "%application%/view.php?task=|task|"
);
$this->services['nag']['tasks']['add'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'nagAddTask',
    'args' => array('name', 'description', 'due'),
    'type' => 'integer'
);
$this->services['nag']['horde']['summary'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'nagSummary',
    'args' => array(),
    'type' => 'string'
);

$this->services['nic']['net']['finger'] = array(
    'link' => "%application%/finger.php?address=|address|"
);

$this->services['turba']['contacts']['search'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaExpandAddresses',
    'args' => array('addresses', 'addressbooks', 'fields'),
    'type' => 'array'
);
$this->services['turba']['contacts']['add'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaAddAddress',
    'args' => array('name', 'address', 'addressbook'),
    'type' => 'boolean'
);
$this->services['turba']['contacts']['sources'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetSources',
    'args' => array('writeable'),
    'type' => 'array'
);
$this->services['turba']['contacts']['fields'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetFields',
    'args' => array('addressbook'),
    'type' => 'array'
);

$this->services['whups']['horde']['summary'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'whupsSummary',
    'args' => array(),
    'type' => 'string'
);

$this->services['default']['mail']['compose'] = array(
    'link' => "mailto:%to%"
);

?>

-----Original Message-----
From: Jan Schneider [mailto:jan at horde.org] 
Sent: sexta-feira, 21 de Dezembro de 2001 10:59
To: horde at lists.horde.org
Subject: RE: [horde] Warning: unserialize() failed at offset 0 of 36 bytes
in /var/www /html/horde/lib/Auth.php on line 227


In which paths on the server does horde and imp reside, do you have any 
aliases? How does the 'horde' part of registry.php look like?

Jan.

Zitat von Joaquim Machado <joaquim.machado at ine.pt>:

> It occurs in IE 6.0.2600, but not all the time.
> When i try to use Mozilla 0.9.6, it doesn't show anything.
> 
> With either them, i insist, insist, insist... And then it let's me in.
> 
> I don't know what is going on.
> 
> In Horde i'm using IMP as my login screen.
> 
> <?php
> // $Horde: horde/config/registry.php.dist,v 1.52.2.2 2001/12/03 
> 16:08:13 chuck Exp $
> 
> // Uncomment the auth/login/logout lines if you want to let either // 
> IMP or Gollem handle the authentication for Horde. This avoids the // 
> "double login" while accessing IMP.
> 
> $this->registry['auth']['login'] = 'imp'; 
> $this->registry['auth']['logout'] = 'imp';
> 
> And for the IMAP/MS Exchange (horde/imp/config/servers.php)
> 
> $servers['DSII'] = array(
>     'name' => 'DSII',
>     'server' => 'sipobw01.ine.pt',
>     'protocol' => 'imap',
>     'port' => 143,
>     'folders' => '',
>     'namespace' => 'Inbox',
>     'maildomain' => 'ine.pt',
>     'smtphost' => 'sipobw01.ine.pt',
>     'realm' => 'ine.pt',
>     'preferred' => ''
> );
> 
> TIA
> Joaquim Machado
> 
> -----Original Message-----
> From: Brent J. Nordquist [mailto:bjn at horde.org]
> Sent: quinta-feira, 20 de Dezembro de 2001 16:37
> To: Joaquim Machado
> Subject: Re: [horde] Warning: unserialize() failed at offset 0 of 36
> bytes
> in /var/www /html/horde/lib/Auth.php on line 227
> 
> 
> On Tue, 18 Dec 2001, Joaquim Machado <joaquim.machado at ine.pt> wrote:
> 
> > Warning: unserialize() failed at offset 0 of 36 bytes in
> > /var/www/html/horde/lib/Auth.php on line 227
> 
> Sorry, I meant to respond to this yesterday.  What browser are you 
> using?
> 
> This problem has been reported with Netscape 4.7x/Solaris and Opera
> 5/Linux but no one's had a chance to look at it yet.  You might try a 
> different browser for now.
> 
> -- 
> Brent J. Nordquist <bjn at horde.org> N0BJN       / OPN: #horde
> Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942
> 
> --
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 


Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20 http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::

-- 
Horde mailing list: http://horde.org/horde/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org




More information about the horde mailing list