Re: [Hampshire] [OT] Can anyone help me with some PHP?

Top Page

Reply to this message
Author: Kevin Haynes
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] [OT] Can anyone help me with some PHP?
On Saturday 21 April 2007, Vic wrote:
> > Maybe you could post some extra lines (for context), someone might be
> > able to figure it out.
>
> OK...
>
> I'm trying to get Enterprise Groupware System (
> http://www.enterprisegroupwaresystem.org/ ) going.
>
> It starts with index.php, which (almost immediately) does a

Vic

Have you installed the gettext package?
http://www.gnu.org/software/gettext/gettext.html

Instructions are at http://uk2.php.net/gettext

Kevin
>
> require_once ('./conf/config.php');
>
> ./conf/config.php does a few DEFINEs, then hits the line where it all goes
> horribly wrong.
>
> $employees[0] = _('None');
>
> There really isn't much context to it. It does appear to be a gettext
> thang, but the stuff I've found since originally posting (
> http://www.php.net/gettext ) tells me stuff that clearly isn't the case
> here. And I've no idea whether or not it should be, on the grounds that
> I'm a C programmer, not a PHP bod.
>
> Vic.