Extension talk:Farmer

Error with $wgFarmerSettings
$wgFarmerSettings['wikiIdentifierFunction'] = array('MediaWikiFarmer', '_matchByURLHostname'); This delivers on startup of default wiki
 * I prefer Localsettings.php with

Warning: Missing argument 1 for MediaWikiFarmer::_matchByURLHostname in \extensions\Farmer\MediaWikiFarmer.php on line 281

$wgFarmerSettings['wikiIdentifierFunction'] = array('MediaWikiFarmer', '_matchByServerName'); This delivers on creating new wiki
 * I tested Localsettings.php with

Warning: Invalid argument supplied for foreach in \extensions\Farmer\MediaWikiFarmer.php on line 434


 * Can you help me to get one of both to work?

Environment and Setting

 * OS: Win 2000
 * 1) MediaWiki: 1.11alpha (r22753)
 * 2) PHP: 5.1.1 (apache2handler)
 * 3) MySQL: 5.0.18

--Wissenslogistiker 14:18, 7 June 2007 (UTC)

Non-shared user and user_groups
does Farmer support non-shared user and user_groups databases yet ?
 * Seems not for now.--FR6 20:20, 14 May 2007 (UTC)

Updating wiki source
What happens when you update the wiki source code? Will all necessary configurations of all the wiki installs be updated? Or will this still have to be done manually? --Denise 11:41, 3 April 2007 (UTC)

I don't understand What they mean
I am a Chinese. I don't understand what the followed mean:
 * 1) "MediaWiki trunk", which mentioned in the section "mysql_errno.28.29_fix" is what? Can I find the explain(s) of it in somewhere?
 * 2) The section tall me "You need to change this to read: if ( $this->lastErrno ) {", I'v checked the Database.php but I still don't know how do I follow the instruction ?

Please tall me, Thanks!

Environment and Setting
--Roc michael 04:32, 13 May 2007 (UTC)
 * OS: Win XP
 * 1) Mediawiki Version 1.9.2
 * 2) Apache Web Server Version 2.2.3
 * 3) PHP Script Language Version 5.1.6
 * 4) MySQL Database Version 5.0.24a

How to use the patch?
What is the description "Farmer currently requires my patch to work correctly" mean in the section "Shared_Tables"? I've check the link my patch. In the other end of the link is a file which I don't know what the type of the file is. It isn't a ".php" file. Does it can be executive on Win XP or by firefox? How do I use it?

Please tall me, Thanks!

Environment and Setting
--Roc michael 04:32, 13 May 2007 (UTC)
 * OS: Win XP
 * 1) Mediawiki Version 1.9.2
 * 2) Apache Web Server Version 2.2.3
 * 3) PHP Script Language Version 5.1.6
 * 4) MySQL Database Version 5.0.24a


 * See Subversion. I suggest that you use TortoiseSVN for aplying a patch from Windows. --FR6 20:26, 14 May 2007 (UTC)

Error on creating new wiki
I get the following error when I try to create a new wiki under farmer.

Anyone have any ideas on how to fix this problem?

Also once I try to create the wiki again it says that it already exists. Where is is getting that information. I tried looking in to the config directory but did not see it.

Update
Looking at the sql code and error messages it looks like the error is in the daughterwiki.sql file. The column that is requested in here is not actually created by the sql file.

To fix this I added

When I fixed this I tried to create another wiki it showed that two more table were not even created. The two tables that were not created where redirect and page_restrictions

Once I added these two tables to the sql code I was able to create a working wiki. Not sure if I am going to run in to other problems later. If I find anything else I will post it here