|
From: Chris P. <cpr...@ep...> - 2004-04-05 23:02:28
|
I tried both retrieving 0.66 bugin from the CVS server via the
sourceforge anonymous cvs instructions, as well as the 0.65 release on
sourceforge itself. =20
After downloading it, I untarred it to the /bugin directory in my
apache's html directory. =20
I then followed the INSTALL directions, made the db and added a bugin
user, set up access, and imported the data and all that. Then made my
config.local.php file:
<?php
/*
* This is the local configuration file for bugin.
*/
// System information variables
$options['baseURL'] =3D "/bugin/";
$options['modEmail'] =3D "use...@my...";
// DB stuffs.
$dbUser =3D "bugin";
$dbPass =3D "XXXX";
$dbName =3D "bugin";
//call it what you like...
$options['ticketName'] =3D "Ticket";
# What status should be set on "take"
$takeStatusNum =3D 4;
// This is the size of the pop-up window for all info links.
$infoWindowWidth =3D 400;
$infoWindowHeight =3D 300;
// Regular Expressions for Signup things...
$options['unameMinLength'] =3D 3;
$options['phoneMinLen'] =3D 4;
// These are options for closed/fixed ticket numbers
$options['closedNum'] =3D "9,11,12";
$options['timeWarnStatusIgnore'] =3D array(9,11,12);
?>
When trying to use it after that I noticed that there were no options
showing up. Looking at an older version we had running on another
computer I tracked things down to the $verbage variable, which was now
no longer defined in the config.inc.php file, but in the lang.en.php
file. So looking for the lines that loaded that, I found this in the
config.inc.php file:=20
$language =3D
$bugDatabase->lists['lang'][$options['defaultLanguage']]['name'];
require_once("{$options['buginBase']}conf/lang/lang.{$language}.php");
No idea why that line isn't working, but I added this line to my
config.local.php file:
require_once("{$options['buginBase']}conf/lang/lang.en.php");
And now it's working fine. =20
Obviously, that's a hack to fudge it to working. Was there some step
along the way that I missed?
--Chris
-----Original Message-----
From: Brian Nelson [mailto:no...@no...]=20
Sent: Monday, April 05, 2004 5:52 PM
To: Chris Privitere
Cc: bug...@li...
Subject: Re: [Bugin-users] lang.en.php file not included
perhaps I can get some more information about your configuration ?
Chris Privitere said:
> Has anyone had the problem where the lang.en.php file is not getting
> included, thus resulting in there being no text descriptions anywhere?
>
>
> !DSPAM:4071dead921109320220340!
>
--=20
Brian J Nelson http://notgod.com/
--------------------------------------------
Never send a message to not...@no....
|