You are not logged in.
- Topics: Active | Unanswered
#76 2008-07-25 11:52:49
- Cacatoes
- Member
- Registered: 2008-07-14
- Posts: 3
Re: FluxBB Wiki
Hello,
I try to make Dokuwiki's authentification working with FluxBB (1.3 beta 2).
- I copied fluxbb.class.php (pasted the code from the first page of this topic)
- I edited dokuwiki's conf/local.php adding :
$conf['authtype']='fluxbb';
define('FORUM_ROOT','/data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/forum/');Authentification works !
but I get loads of messages when displaying the page.
Notice: Undefined index: id in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 21
Notice: Undefined index: rev in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 24
Notice: Undefined index: do in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 25
Notice: Undefined index: idx in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 26
Notice: Undefined index: date in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 27
Notice: Undefined index: lines in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 28
Notice: Undefined index: s in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 29
Notice: Undefined index: query in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/inc/common.php on line 997
Notice: Undefined variable: q in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/inc/common.php on line 1007
Notice: Undefined index: wikitext in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 32
Notice: Undefined index: prefix in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 33
Notice: Undefined index: suffix in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 34
Notice: Undefined index: summary in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/doku.php on line 35
Notice: Undefined index: REMOTE_USER in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/inc/common.php on line 110
Notice: Undefined offset: 1 in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/inc/parserutils.php on line 251
Notice: Undefined index: ismanager in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/inc/infoutils.php on line 21
Notice: Undefined index: userinfo in /data/web/59/0e/7c/openarena.tuxfamily.org/htdocs/wiki/lib/plugins/indexmenu/action.php on line 60
Sorry for seeking support here rather than with Dokuwiki, but do you have ideas of what should I do ?
Edit: I forgot to mention, I use PostgreSQL, and php5 ( http://openarena.tuxfamily.org/phpinfo.php )
Thanks.
Last edited by Cacatoes (2008-07-25 11:57:14)
Offline
#77 2008-07-25 12:00:54
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
That's because FluxBB, when in development, uses E_ALL error reporting. DokuWiki is using variables without ensuring that they are initialized first, which is triggering these notices. I assume Dokuwiki normally suppresses them.
Try adding the following to the bottom of the auth class as a temporary workaround (this won't be an issue once we're out of the testing phase, since we also suppress notices for just this reason):
error_reporting(E_ALL ^ E_NOTICE);Offline
#78 2008-07-25 12:54:00
- Cacatoes
- Member
- Registered: 2008-07-14
- Posts: 3
Re: FluxBB Wiki
That does the trick, thanks for the quick answer ![]()
Offline
#79 2008-08-07 14:16:09
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
soory, but what does mean
Try adding the following to the bottom of the auth class as a temporary workaround
.
I have the same problem than cacatoes and i putted
error_reporting(E_ALL ^ E_NOTICE);
in the end of the auth conf, but just a few messages have desapeared.
Offline
#80 2008-08-07 20:02:02
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
You put it in the auth file that you created, right?
Offline
#81 2008-08-07 22:02:16
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
... no .... i've putted it in the bottom of a file called : acl.auth.php
did i make a mystake?
Offline
#82 2008-08-07 22:13:40
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
Yes. I suggested putting it at the end of the FluxBB authentication layer file.
Offline
#83 2008-08-08 08:16:55
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
so, i did it but it doesn't work.
look at here : http://vinhduc.free.fr/dokuwiki/doku.php
Offline
#84 2008-08-08 10:34:19
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
Then you didn't put it in the right place. Show me the contents of your file.
Offline
#85 2008-08-08 11:27:05
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
which file? auth conf?
# acl.auth.php
# <?php exit()?>
# Don't modify the lines above
#
# Access Control Lists
#
# Auto-generated by install script
# Date: Thu, 07 Aug 2008 16:01:29 +0200
* @ALL 1
* @user 8
error_reporting(E_ALL ^ E_NOTICE);
Offline
#86 2008-08-08 11:41:29
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
... no .... i've putted it in the bottom of a file called : acl.auth.php
did i make a mystake?
Yes. I suggested putting it at the end of the FluxBB authentication layer file.
Like I said, that's the wrong file.
Offline
#87 2008-08-08 11:53:59
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
i'm sorry, but in what file have i got to put this code? i don't know what is a auth class
( i'm french...)
Offline
#88 2008-08-08 11:58:16
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: FluxBB Wiki
http://fluxbb.org/forums/post/367/#p367
The code from here that you copy/pasted.
Offline
#89 2008-08-08 15:06:19
- vinhduc
- Member
- Registered: 2008-08-06
- Posts: 17
Re: FluxBB Wiki
It seems to work now !!! thank you smartys and sorry for my bad comprehension in english ![]()
Offline
#90 2008-09-22 01:44:55
- orlandu63
- Member
- From: New Jersey, USA
- Registered: 2008-05-17
- Posts: 187
- Website
Re: FluxBB Wiki
Adam wrote:Trac has a built-in wiki. Why not use that?
Because integration is a huge hassle.
Now that Trac has been intergrated with Flux, are we still keeping dokuwiki or are we porting everything to Trac?
Offline
#91 2008-09-22 01:51:24
- Connor
- Former Developer
- Registered: 2008-04-27
- Posts: 1,127
Re: FluxBB Wiki
I think we'll keep dokuwiki, I see no reason not to, and I don't know if theres any support for internationalisation with trac.
Offline
