define('NOSESSION', true) somewhere in dokuwiki.php.
Anyway, I've written a new class for this purpose (ie. make DokuWiki use Vanilla authentication). The source is in the wiki at: vanilla:integration:dokuwiki
Works for me, I hope someone else will find it useful too.
Just to let you know, the reason you get all the errors is because Vanilla sets it's error reporting to all, but Dokuwiki uses a bad practice and doesn't check if the variables are set first. To put it simply, it's a Dokuwiki bug. To fix it, you can change the core of Dokuwiki, or you can add error_reporting(0); after the require_once lines in vanilla.class.php
However, I can't log in. I get the same problem as Tiggr, but I've definitely got it in there (local.php actually, since that's where your settings should go).
I follow the instruction of the wiki page for integration of dokuwiki.
I think i have done correctly the instruction. first I had the problem with magic-quotes-gpc. i created a file htaccess whith this line : SetEnv MAGIC_QUOTES 0. it's ok
Hi Tiggr,
Thanks for being willing to help. Could you maybe explain to me what you did exactly?
Did you do anything different from what the documentation here says:
http://lussumo.com/docs/doku.php?id=vanilla:integration:dokuwiki
I'd really like to get this working as soon as possible.
Thanks in advance
JB
$conf['defaultgroup']= 'user'; //Default groups new Users are added to $conf['superuser'] = '!!not set!!'; //The admin can be user or @group $conf['manager'] = '@Moderatoren'; //The manager can be user or @group
/* Optional */ define('VANILLA_ROOT', '/home/orgaohnenamen_de/www/forum/'); /* This is the default */ $conf['acl'] = 1; /* You probably have this set already */ $conf['disableactions'] = 'login,logout,profile,register,resendpwd'; /* Now handled by Vanilla */ $conf['passcrypt'] = 'md5'; /* Not really necessary, set automatically by the authentication backend */
And this is new inside the .htaccess, it's very rude, but I did it:
php_flag magic_quotes_gpc Off php_flag display_errors 0
It is not necessary to make any changes to conf/dokuwiki.php. That file contains all the default settings for a dokuwiki setup, anything you place in conf/local.php will override what is in the dokuwiki.php.
All default values are stored in a file called conf/dokuwiki.php. If you want to modify a setting you should do this in a file called conf/local.php – this makes sure your special configs are not overwritten by a later upgrade. The config manager will use this file as well. -- taken from http://wiki.splitbrain.org/wiki:config
Thanks Tiggr and sirlancelot for your help! I'm going to try again tonight, and hopefully I can get it working. If so, I'll try and document the process in detail for others.
Thanks again, and if anyone else has any tips for this I'd appreciate it.
Hmm, it seems as though it's not working anymore. Damn. I'm going to look into this and see if I can get it working again, as it's locked me out of my wiki :P
just installed and integrated DokuWiki and so far it seems to be succesfully integrated. Used documentation from Vanilla comunity wiki and it works fine.
I just wanted to mention that If you have spaces in role names you can use %20 as space in acl.auth.php For example if you have Role name e.g. "Allowed enough", you can use: * @Allowed%20enough 8 Also utf-8 characters in role names work, you just need utf-8 capable editor to add such role into acl.auth.php
I had to comment check for magic_quotes_gpc, because there is no way for me how to disable it by .htaccess (causes 500 ISE, I have to contact my provider). But anyway so far it works fine. Does anybody know what can happen if I have magic_quotes_gpc turned on?
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •define('NOSESSION', true)somewhere in dokuwiki.php.
Anyway, I've written a new class for this purpose (ie. make DokuWiki use Vanilla authentication). The source is in the wiki at: vanilla:integration:dokuwiki
Works for me, I hope someone else will find it useful too.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •To fix it, you can change the core of Dokuwiki, or you can add
error_reporting(0);after the require_once lines in vanilla.class.php
However, I can't log in. I get the same problem as Tiggr, but I've definitely got it in there (local.php actually, since that's where your settings should go).
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •(sorry my english is not very good)
I follow the instruction of the wiki page for integration of dokuwiki.
I think i have done correctly the instruction. first I had the problem with magic-quotes-gpc. i created a file htaccess whith this line : SetEnv MAGIC_QUOTES 0. it's ok
Now, I obtain these error
have you a idea about that ?
Thank
I use vanilla 1.1.3 and dokuwiki 2007-06-26b
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I add this line like rmccue :
error_reporting(0);
I don't have any mor error, but i don't believe the identification is working,
I'm coming back soon
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •All I have done is make the changes noted in the documentation file located here:
http://lussumo.com/docs/doku.php?id=vanilla:integration:dokuwiki
I've not been able to get it working. Right now, all I get is a blank screen when I try and go to the wiki.
Does anyone have more detailed steps... any order.. any things that need to be configured outside of those file changes... etc?
Thanks in advance
JB
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I took three tries, doing in my opinion always the same, but only the third try worked. :-(
But I don't know, what the difference made!
Tiggr
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •And I've added two lines to local.php
$conf['superuser'] = '@Administrator';$conf['disableactions'] = 'register,resendpwd,profile,login,logout';
And this is changed/new in conf/dokuwiki.php:
$conf['defaultgroup']= 'user'; //Default groups new Users are added to
$conf['superuser'] = '!!not set!!'; //The admin can be user or @group
$conf['manager'] = '@Moderatoren'; //The manager can be user or @group
/* Vanilla */
/* Mandatory */
define('NOSESSION', true);
$conf['authtype'] = 'vanilla';
/* Optional */
define('VANILLA_ROOT', '/home/orgaohnenamen_de/www/forum/'); /* This is the default */
$conf['acl'] = 1; /* You probably have this set already */
$conf['disableactions'] = 'login,logout,profile,register,resendpwd'; /* Now handled by Vanilla */
$conf['passcrypt'] = 'md5'; /* Not really necessary, set automatically by the authentication backend */
And this is new inside the .htaccess, it's very rude, but I did it:
php_flag magic_quotes_gpc Offphp_flag display_errors 0
That's all I remember.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks Tiggr!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I just wanted to mention that If you have spaces in role names you can use %20 as space in acl.auth.php
For example if you have Role name e.g. "Allowed enough", you can use:
* @Allowed%20enough 8Also utf-8 characters in role names work, you just need utf-8 capable editor to add such role into acl.auth.php
I had to comment check for magic_quotes_gpc, because there is no way for me how to disable it by .htaccess (causes 500 ISE, I have to contact my provider).
But anyway so far it works fine. Does anybody know what can happen if I have magic_quotes_gpc turned on?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •