Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

Page Linking Help Needed
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

Mediawiki Appliance Version 1.13.20 Problems
Downloaded rPath Mediawiki Appliance, Running it on VMwear PLayer but can't find the localsettings.php file to edit.

Can't find much documentation. Any help or documentation would be great!

Extension Licensing Guidelines
I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

What have I do?
I had to start new MediaWiki 1.15.0rc1 Installation but received:


 * Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.


 * Checking environment...

Please include all of the lines below when reporting installation problems.


 * PHP 5.2.6 installed
 * Found database drivers for: MySQL SQLite
 * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * Session save path (/var/lib/php/session) appears to be valid.
 * PHP's memory_limit is 32M.
 * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
 * Found GNU diff3: /usr/bin/diff3.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: /usr/local/www/name_of_site.com/www
 * Script URI path: Installing MediaWiki with php file extensions
 * Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

mySQL database username

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.1.33

I am configuring MediaWiki, except the one part I am having problems with is when it is asking me for a database username and password and confirm password. Below that is the superuser account, which is root.

>>>''Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'username'@'%' IDENTIFIED BY 'password' " failed with error code "Can't find file: 'user' (errno: 2) (localhost)".'' <<<<

But it will not let me continue the configuration unless I specify a user and password since it will not let me leave it blank.

I am installing on Windows XP, just need some help with this issue. I am not very familiar with databases, i know the root user account info, but it is asking for a username and password and confirm password.

Any help would be much appreciated.

homerm@rosedale.ca

What server variables are needed
My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

What server variables are needed
My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

Extension:FlashMP3
Hello!

Here is the wiki-version: http://www.keytonature.eu/wiki/Special:Version

My question: Is the Extension:FlashMP3 running on this version without problems? Doc Taxon 15:14, 12 December 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version: 5.1.2
 * MySQL version: 5.0.18
 * URL: http://liberale-hochschulgruppen.de/wiki and wiki.liberale-hochschulgruppen.de

Hello there,

i am trying to move my wiki from the directory in the given domain to the subdomain wiki.liberale-hochschulgruppen.de. I performed the following steps:

1. Copying the whole system into the / directory in the subdomain. 2. Adapting the wgscriptpath from "/wiki" to "" in the Local Settings 3. The Database is the same so no need to change something here

When i now try to access the Domain it will just show an empty page with the Link to wiki.liberale-hochschulgruppen.de/index.php/Hauptseite (for the main page). Do I need to change anything else for it to run properly?

Here ar my Local Settings:

<?php


 * 1) This file was automatically generated by the MediaWiki installer.
 * 2) If you make manual changes, please keep track in case you need to
 * 3) recreate them later.
 * 4) See includes/DefaultSettings.php for all configurable settings
 * 5) and their default values, but don't forget to make changes in _this_
 * 6) file, not there.
 * 1) file, not there.

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }
 * 1) If you customize your file layout, set $IP to the directory that contains
 * 2) the other MediaWiki files. It will be used as a base to locate files.

$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) );

require_once( "includes/DefaultSettings.php" );


 * 1) If PHP's memory limit is very low, some operations may fail.
 * 2) ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } elseif ( empty( $wgNoOutputBuffer ) ) { ## Compress output if the browser supports it	if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); }

$wgSitename        = "LHG Wiki";

$wgScriptPath	   = ""; $wgScript          = "$wgScriptPath/index.php"; $wgRedirectScript  = "$wgScriptPath/redirect.php";

$wgArticlePath     = "$wgScript/$1";
 * 1) For more information on customizing the URLs please see:
 * 2) http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
 * 3) If using PHP as a CGI module, the ?title= style usually must be used.
 * 1) $wgArticlePath      = "$wgScript?title=$1";

$wgStylePath       = "$wgScriptPath/skins"; $wgStyleDirectory  = "$IP/skins"; $wgLogo            = "$wgStylePath/common/images/LHG.jpg";

$wgUploadPath      = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";

$wgEnableEmail = true; $wgEnableUserEmail = true;

$wgEmergencyContact = "george@bundes-lhg.net"; $wgPasswordSender	= "george@bundes-lhg.net";

$wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;
 * 1) For a detailed description of the following switches see
 * 2) http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
 * 3) There are many more options for fine tuning available see
 * 4) /includes/DefaultSettings.php
 * 5) UPO means: this is also a user preference option

$wgDBserver        = "localhost"; $wgDBname          = "lhgwiki"; $wgDBuser          = "lhgwiki"; $wgDBpassword      = "tfz399"; $wgDBprefix        = ""; $wgDBtype          = "mysql";

$wgDBmysql5 = false;
 * 1) Experimental charset support for MySQL 4.1/5.0.

$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array;
 * 1) Shared memory settings

$wgEnableUploads		= false; $wgUseImageResize		= true;
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:
 * 1) $wgUseImageMagick = true;
 * 2) $wgImageMagickConvertCommand = "/usr/bin/convert";


 * 1) If you want to use image uploads under safe mode,
 * 2) create the directories images/archive, images/thumb and
 * 3) images/temp, and make them all writable. Then uncomment
 * 4) this, if it's not already uncommented:
 * 5) $wgHashedUploadDirectory = false;

$wgUseTeX	        = false; $wgMathPath        = "{$wgUploadPath}/math"; $wgMathDirectory   = "{$wgUploadDirectory}/math"; $wgTmpDirectory    = "{$wgUploadDirectory}/tmp";
 * 1) If you have the appropriate support software installed
 * 2) you can enable inline LaTeX equations:

$wgLocalInterwiki  = $wgSitename;

$wgLanguageCode = "de";

$wgProxyKey = "3ecbd1dd691647e2cda0a8c212b091b24e6f60970fa2d134ef7083126ee0a7d";

$wgDefaultSkin = 'monobook';
 * 1) Default skin: you can change the default skin. Use the internal symbolic
 * 2) names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':

$wgGroupPermissions['*']['createaccount'] = false;
 * 1) This snippet prevents new registrations from anonymous users
 * 2) (Sysops can still create user accounts)

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = "";
 * 1) For attaching licensing metadata to pages, and displaying an
 * 2) appropriate copyright notice / icon. GNU Free Documentation
 * 3) License and Creative Commons licenses are supported so far.
 * 4) $wgEnableCreativeCommonsRdf = true;
 * 1) $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";

$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate );
 * 1) When you make changes to this configuration file, this will make
 * 2) sure that cached pages are cleared.

$wgWhitelistRead = array( "Hauptseite", "Spezial:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false;
 * 1) Pages anonymous (not-logged-in) users may see

$wgGroupPermissions['*']['edit'] = false;
 * 1) This snippet prevents editing from anonymous users

Thanks everyone,

Daniel —84.63.122.140 17:00, 13 December 2009 (UTC)

Configuration page Demands SQLite

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6
 * MySQL version: 5.1.25 64bit
 * URL: Internal Use Only

I want to use mysql but the config/index.php does not allow me to deselect SQLite. The drivers are found for SQLite but no mention of mysql. I am using the coolstack apache2, php5, and mediawiki 1.15.1 on Solaris 10.

How do I install mediawiki and have it use mysql?

I see from config/index.php: * PHP 5.2.6 installed * Found database drivers for: SQLite * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP's memory_limit is 64M. * APC installed * GNU diff3 not found. * Couldn't find GD library or ImageMagick; image thumbnailing disabled. * Installation directory: /opt/coolstack/apache2/htdocs/mediawiki-1.15.1 * Script URI path: /mediawiki-1.15.1 * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki.

Thank you in advance. Jeff

—198.17.175.151 21:50, 15 December 2009 (UTC)

Problems installing

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: localhost

I´m installing Media Wiki on my localhost to test it, and I'm getting this message:

* PHP 5.2.8 installed Could not find a suitable database driver! o For MySQL, compile PHP using --with-mysql, or install the mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module o For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module

I'm checking and MySQL is working fine. What can I do? Thank you

—200.24.42.17 13:57, 16 December 2009 (UTC) Alexander Parrales Arango aparrales@e-olia.com

This happens to me as well, but it might be due to a change in the latest version. Use to work fine a few months ago.

Error Installing Media Wiki

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.0.85
 * URL: http://learning.e-olia.com/wiki

I'm getting this error message ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table

Notice: Trying to get property of non-object in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263

Warning: mysql_num_fields: supplied argument is not a valid MySQL result resource in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263

Fatal error: Call to a member function isMultipleKey on a non-object in /home/eoliaco/public_html/learning/wiki/maintenance/updaters.inc on line 279

—200.24.42.17 14:41, 16 December 2009 (UTC) Alexander Parrales Arango

Installing Mediawiki on DB2 on iSeries, v5r4

 * MediaWiki version: 1.16Alpha
 * PHP version: 5.2.6
 * MySQL version: NA
 * URL:

I'm trying to get MediaWiki installed on the iSeries DB2 database and I keep getting a 'Something's not quite right yet; make sure everything below is filled out correctly.' error. I'm not sure what to check and I'm also not sure how this WIKIDB file even gets created. Any help would be greatly appreciated. Thanks and Merry Christmas!

—24.111.9.50 21:54, 23 December 2009 (UTC)

Problems with MediaWiki 1.15.1 and ParserFunctions Extension
Hello, I just installed MediaWiki 1.15.1 on my server. Then I installed the ParserFunctions Extension following instruction at Extension:ParserFunctions (using the REL1_15_1 branch). Now the problem is that ParserFunctions is not working (the statements are printed and not interpreted) and Special:Version gives me 500 internal server error. What's the problem? What should I do? Thanks very much. --Dom De Felice 12:53, 24 December 2009 (UTC)

Forbidden Error when Trying to Install Media Wiki

 * MediaWiki version: 1.15.1
 * PHP version:
 * MySQL version: 5.0.51a-3ubuntu5.4
 * URL: not live yet.

—70.50.18.90 03:10, 27 December 2009 (UTC)

I'm trying to install MediaWiki. I have lighttpd installed and I'm running the mediawiki files under /var/www/mediawiki. Under /var/www/ I have index.html which I'm able to access fine via browser. But when I try to access http://localhost/mediawiki/index.php it gives me 403 - Forbidden error. I've changed the permissions for the entire mediawiki folder with 'chmod 777 mediawiki'.

What am I missing? Thanks for the help!

How to get an Infobox OS in a wiki page ???
I don't get working the template Infobox OS on my wiki http://sys-linux.yi.org/wiki/index.php/SYS error: template loop detected

This Infobox OS is on all wiki pages about Linux distros, p.ex on the wiki page of Slackware, Debian etc.

I had an article in the oficial wiki where was such an Infobox, too: http://en.wikipedia.org/wiki/SYS_(operating_system)

The article long time was good, Today however a troll / auto-denominated 'editor' messed up the article completely. I block now wikipedia / redirect it to softpedia in all browsers for the users of that distro, in /etc/host the new 'snapshot' install-DVD and future versions of the distro, and I setted up my own wiki about the distro..

However, I have that problem with the templat Infobox OS what don't work. Perhaps someone can fix this.

W.L.