Hi.

On Fri, Jun 15, 2012 at 06:15:59PM +0200, Olivier Berger wrote:
> On Wed, Jun 13, 2012 at 03:16:46PM +0200, Olivier Berger wrote:
> > 
> > Upon navigating to the mediawiki tab of one project, I get a blank page and 
> > apache2 error.log reports :
> > [Wed Jun 13 15:05:49 2012] [error] File does not exist: 
> > /usr/share/mediawiki/skins/fusionforge/wiki.png
> > [Wed Jun 13 15:06:11 2012] [error] PHP Notice:  Undefined index: 
> > GForgeDbname in /etc/gforge/local.inc on line 78
> > [Wed Jun 13 15:06:11 2012] [error] PHP Notice:  Undefined index: 
> > GForgeDbuser in /etc/gforge/local.inc on line 79
> > [Wed Jun 13 15:06:11 2012] [error] PHP Notice:  Undefined index: 
> > GForgeDbpasswd in /etc/gforge/local.inc on line 80
> > [Wed Jun 13 15:06:11 2012] [error] PHP Notice:  Undefined index: 
> > GForgeLdapPasswd in /etc/gforge/local.inc on line 81
> > [Wed Jun 13 15:06:11 2012] [error] PHP Notice:  Undefined index: 
> > GForgeJabberPasswd in /etc/gforge/local.inc on line 82
> > [Wed Jun 13 15:06:11 2012] [error] PHP Fatal error:  Class 'Group' not 
> > found in /usr/share/gforge/plugins/mediawiki/www/LocalSettings.php on line 
> > 34
> > 
> > Dunno what's wrong.
> > 
> 
> It seems that adding :
> <Location /plugins/mediawiki>
>   Include /etc/gforge/httpd.conf.d/secrets.inc
> </Location>
> 
> at the top of /etc/gforge/httpd.conf.d/plugin-mediawiki.inc solves the issue 
> (tested on 5.2~rc1-4 version).
> 
> Hope this helps.
> 

Another alternative is to make sure that 
/etc/gforge/httpd.conf.d/vhost-main.inc is set to use DocumentRoot = 
/usr/share/gforge/src/www and other subdirs accordingly.

For whatever reason, I ended up having /usr/share/gforge/www paths there, in 
which case, the bug occured... Maybe the result of an upgrade of some kind ?

Hope this helps.

Best regards,
-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to