Topic on Project:Support desk

Jump to navigation Jump to search

WikiFamily creation user problems

5
Summary by Fokebox

The problem resolved by adding this two lines of code:

$wgSharedTables[] = 'user';
$wgSharedTables[] = 'actor';
Fokebox (talkcontribs)

Hello dear Team.

I have a wikifamuly made just like wikipedia. I set up wiki with different localisations: ru.wikijournal - Russian wiki, en.wikijournal.org - english wiki etc.

After upgrading wiki to 1.35. I noticed that there is problems with user account creation. I mean that if you are creating user at ru.wikijournal.org, it does not create account in other localisations and vice versa creating for example at en.wikijournal.org it does not create account in other localisations. I have following set upo at Localsettings.php:

# MySQL specific settings
$wgDBprefix = "ru__";

# Single Sign On (one entry point for all wikis)
$wgSharedDB = "wikijournal_org"; 
$wgSharedPrefix = "ru__"; 
$wgCookieDomain = '.wikijournal.org';

# Shared tables
$wgSharedTables[] = 'interwiki';
$wgSharedTables[] = 'ipblocks';
$wgSharedTables[] = 'user_groups';

So, previously at wiki 1.30. all worked fine, but after upgrading something happened and I have creation user problems described above. Could someone help me to resolve the issue? What can I try?

Fokebox (talkcontribs)

The problem remains. What is interesting all users registered before upgrade can log in without problems, but new registered users can log in at localisation where they are registered. I believe the problem with $wgSharedTables[] = 'user_groups'; Anyway I appreciate if you help me to resolve the problem.

Bawolff (talkcontribs)

Maybe actor and user table has to be shared too (total guess. I dont know)

Fokebox (talkcontribs)

Added

$wgSharedTables[] = 'user';
$wgSharedTables[] = 'actor';

And resolved a problem

Fokebox (talkcontribs)

What do you mean by “actor and user table”. And how shall I fo it?

like this? $wgSharedTables[] = 'actor';