|
From: Brian N. <no...@no...> - 2004-04-06 15:23:29
|
I am wondering if somehow you have a wrong index.php...
is this an upgrade or a fresh install?
Chris Privitere said:
> Sorry, this is on RedHat linux 9. Php version 4.2.2 and Mysql version
> 3.23.58.
>
> --Chris
>
> -----Original Message-----
> From: Brian Nelson [mailto:no...@no...]
> Sent: Monday, April 05, 2004 10:28 PM
> To: Chris Privitere
> Cc: Brian Nelson; bug...@li...
> Subject: RE: [Bugin-users] lang.en.php file not included
>
> strange; what OS? I will take a look and see if I can find a way in
> which this would happen. :)
>
>
> Chris Privitere said:
>> 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.
>>
>> After downloading it, I untarred it to the /bugin directory in my
>> apache's html directory.
>>
>> 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:
>>
>> $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.
>>
>> 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...]
>> 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?
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Brian J Nelson http://notgod.com/
>> --------------------------------------------
>> Never send a message to not...@no....
>>
>>
>>
>>
>>
>>
>
>
> --
> Brian J Nelson http://notgod.com/
> --------------------------------------------
> Never send a message to not...@no....
>
>
> !DSPAM:4072bcea34261072040177!
>
>
>
--=20
Brian J Nelson http://notgod.com/
--------------------------------------------
Never send a message to not...@no....
|