Cannot sync users to DokuWiki

Moderator: fanno

Forum rules
Please post all the bugs you encounter on our issue tracker.

Re: Cannot sync users to DokuWiki

Postby sascha73 on Tue Jan 12, 2010 2:01 pm

fanno wrote:wops and $conf['lockdir'] aswell


Sorry.. But should this be in dokuwiki.php or local.php ? Can't find lockdir or dperm in either files.

/var/www/wiki.3rail.nl/html/data/locks is writable for all. Guess this is the lockdir?
Kind regards,
Sascha Bakx, founder 3railforum, the Dutch modeltrain site
User avatar
sascha73
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Mon Nov 16, 2009 8:16 am
Location: Netherlands

Re: Cannot sync users to DokuWiki

Postby sascha73 on Tue Jan 12, 2010 2:17 pm

function lock($file) {
$share = Dokuwiki::getInstance();
$conf = $share->getConf();
// no locking if safemode hack
if ($conf['safemodehack']) return;
$lockDir = $conf['lockdir'] . '/' . md5($file);
@ignore_user_abort(1);
$timeStart = time();
do {
//waited longer than 3 seconds? -> stale lock
if ((time() - $timeStart) > 3) break;


This already explains why safemode hack solves some problems.. Where should/can I find the configuration file which defines the lock-dir ?
Kind regards,
Sascha Bakx, founder 3railforum, the Dutch modeltrain site
User avatar
sascha73
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Mon Nov 16, 2009 8:16 am
Location: Netherlands

Re: Cannot sync users to DokuWiki

Postby fanno on Tue Jan 12, 2010 3:14 pm

its in the dokuwiki config
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Cannot sync users to DokuWiki

Postby sascha73 on Fri Jan 15, 2010 8:39 am

Hi Fanno,

It isn't in there..

But I considering to change to MediaWiki back again, I just read that this will be supported.. I only used dokuwiki, because that was supported by Jfusion.. I'd rather use mediawiki. When will the media support vor jfusion be available?

Thanks for your help anyway!
Kind regards,
Sascha Bakx, founder 3railforum, the Dutch modeltrain site
User avatar
sascha73
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Mon Nov 16, 2009 8:16 am
Location: Netherlands

Re: Cannot sync users to DokuWiki

Postby fanno on Fri Jan 15, 2010 1:37 pm

Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Cannot sync users to DokuWiki

Postby xeomueller on Sun Jan 24, 2010 12:45 pm

I have the same problem. I cant sync any user from joomla (Master) to DokuWiki (Slave).

I also get no errors. The sync scripts count from 9 to 1 and after 1 again 9 to 1 :?:
User avatar
xeomueller
JFusion Newbie
JFusion Newbie
 
Posts: 3
Joined: Fri Oct 09, 2009 2:28 pm

Re: Cannot sync users to DokuWiki

Postby fanno on Sun Jan 24, 2010 4:19 pm

xeomueller wrote:I have the same problem. I cant sync any user from joomla (Master) to DokuWiki (Slave).

I also get no errors. The sync scripts count from 9 to 1 and after 1 again 9 to 1 :?:

and how many users do you have it set to sync at one time ? and are you using ftp mode ? and so on ?
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Cannot sync users to DokuWiki

Postby xeomueller on Wed Jan 27, 2010 2:20 pm

I have 18 joomla users and I used the default setting (500). Now I tested with 10 and it works...

:D
User avatar
xeomueller
JFusion Newbie
JFusion Newbie
 
Posts: 3
Joined: Fri Oct 09, 2009 2:28 pm

Previous

Return to DokuWiki

Who is online

Users browsing this forum: No registered users and 1 guest