Setup first install of horde
Harold Worby
h.worby at kinsey.com
Sat Nov 17 22:34:50 PST 2001
I'm trying to get imp/horde up and running for the first time.
I have Apache1.3/PHP4.06 working with a number of other PHP applications.
I have installed the horde tarball, set link to /horde, copied
/config/*.dist to /config/*.
When I attemp to browse http://server/horde/inxed.php my browser displays:
Fatal error: Call to undefined function: _() in
/usr/local/apache/htdocs/dev/horde-2.0-RC1/config/registry.php on line 27
registry.php contains several code blocks of the form:
$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'
);
the line:
'name' => _("Horde"),
is the one in question.
1. The (weak) PHP4.0 documentation makes no mention of the '=>' opperator.
Can I assume it is a sort of 'point to' or 'address of' opperator?
LHS Storage Referance
RHS Value pointed to?
where the above block of code defines an array with 'fileroot',
'webroot',... as subcripts and 'irname(__FILE__)/..','/horde',... are the
values?
such that:
$x = $this->applications['horde']['webroot']
yeilds
$x = '/horde'
2. ??? _("Horde") ??? what's this?
Is _() intended to be a function referance, or what.
3. How can this be fixed?
More information about the horde
mailing list