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.

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.

I am not able to open setup wiki page, getting the following error
Getting PHP 5.2.1 installed Could not find a suitable database driver! Issue while Installing Mediawiki.


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12
 * MySQL version: MySQL Server 5.1
 * OS: FreeBSD 8
 * URL: http://localhost/wiki

I am not able to open setup wiki page, getting the following error:

MediaWiki 1.15.1 Installation

* 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.12 installed

Installation problem Mediawiki
--- XAMPP version: 1.7.4-beta (when I used 1.7.3, I got a message that it does not work with wiki 1.15.3 - or something like this)
 * MediaWiki version: 1.15.3
 * PHP version:
 * MySQL version:
 * URL:

After installing the XAMPP 1.7.4-beta and starting all 3 servers from the XAMPP Control, I followed the instructions at: http://techjournal.318.com/web-development/installing-mediawiki-on-mac-os-x/

I repeated the process meticulously, and when I reached the wiki setup, after feeding all the required parameters I clicked on the "Install Mediawiki" but I keep getting the message:

Something's not quite right yet; make sure everything below is filled out correctly

Here is the whole page pasted: - MediaWiki 1.15.3 Installation

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.3.2 installed Found database drivers for: MySQL PostgreSQL SQLite PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/Applications/XAMPP/xamppfiles/temp/) appears to be valid. PHP's memory_limit is 128M. 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: /Applications/XAMPP/xamppfiles/htdocs/mediawiki Script URI path: /mediawiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as adyuser1...failed due to authentication errors. Check passwords. Something's not quite right yet; make sure everything below is filled out correctly.

Site config

Wiki name: Preferably a short word without punctuation, i.e. "Wikipedia". Will appear as the namespace name for "meta" pages, and throughout the interface.

Contact e-mail: Displayed to users in some error messages, used as the return address for password reminders, and used as the default sender address of e-mail notifications.

Language: Select the language for your wiki's interface. Some localizations aren't fully complete. Unicode (UTF-8) is used for all localizations.

Copyright/license: No license metadata Public Domain GNU Free Documentation License 1.2 (Wikipedia-compatible) GNU Free Documentation License 1.3 A Creative Commons license - choose A notice, icon, and machine-readable copyright metadata will be displayed for the license you pick.

Admin username: Password: Password confirm: An admin can lock/delete pages, block users from editing, and do other maintenance tasks. A new account will be added only when creating a new wiki database.

The password cannot be the same as the username.

Object caching: No caching DBA (not recommended) Memcached Memcached servers: An object caching system such as memcached will provide a significant performance boost, but needs to be installed. Provide the server addresses and ports in a comma-separated list.

MediaWiki can also detect and support eAccelerator, Turck MMCache, APC, and XCache, but these should not be used if the wiki will be running on multiple application servers.

DBA (Berkeley-style DB) is generally slower than using no cache at all, and is only recommended for testing.

E-mail, e-mail notification and authentication setup

E-mail features (global): Enabled Disabled Use this to disable all e-mail functions (password reminders, user-to-user e-mail, and e-mail notifications) if sending mail doesn't work on your server.

User-to-user e-mail: Enabled Disabled The user-to-user e-mail feature (Special:Emailuser) lets the wiki act as a relay to allow users to exchange e-mail without publicly advertising their e-mail address.

E-mail notification about changes: Disabled Enabled for changes to user discussion pages only Enabled for changes to user discussion pages, and to pages on watchlists (not recommended for large wikis) For this feature to work, an e-mail address must be present for the user account, and the notification options in the user's preferences must be enabled. Also note the authentication option below. When testing the feature, keep in mind that your own changes will never trigger notifications to be sent to yourself. There are additional options for fine tuning in /includes/DefaultSettings.php; copy these to your LocalSettings.php and edit them there to change them. E-mail address authentication: Disabled Enabled If this option is enabled, users have to confirm their e-mail address using a magic link sent to them whenever they set or change it, and only authenticated e-mail addresses can receive mails from other users and/or change notification mails. Setting this option is recommended for public wikis because of potential abuse of the e-mail features above. Database config

Database type: MySQL PostgreSQL SQLite Database host: If your database server isn't on your web server, enter the name or IP address here.

Database name: DB username:Check username DB password:and password DB password confirm: If you only have a single user account and database available, enter those here. If you have database root access (see below) you can specify new accounts/databases to be created. This account will not be created if it pre-exists. If this is the case, ensure that it has SELECT, INSERT, UPDATE, and DELETE permissions on the MediaWiki database.

Superuser account: Use superuser account Superuser name: Superuser password: If the database user specified above does not exist, or does not have access to create the database (if needed) or tables within it, please check the box and provide details of a superuser account,	such as root, which does.

MySQL specific options Database table prefix: If you need to share one database between multiple wikis, or between MediaWiki and another web application, you may choose to add a prefix to all the table names to avoid conflicts. Avoid exotic characters; something like mw_ is good. Storage Engine Select one: InnoDB MyISAM InnoDB is best for public web installations, since it has good concurrency support. MyISAM may be faster in single-user installations. MyISAM databases tend to get corrupted more often than InnoDB databases.

Database character set Select one: MySQL 4.1/5.0 binary MySQL 4.1/5.0 UTF-8 MySQL 4.0 backwards-compatible UTF-8 This option is ignored on upgrade, the same character set will be kept.

WARNING: If you use backwards-compatible UTF-8 on MySQL 4.1+, and subsequently back up the database with mysqldump, it may destroy all non-ASCII characters, irreversibly corrupting your backups!.

In binary mode, MediaWiki stores UTF-8 text to the database in binary fields. This is more efficient than MySQL's UTF-8 mode, and allows you to use the full range of Unicode characters. In UTF-8 mode, MySQL will know what character set your data is in, and can present and convert it appropriately, but it won't let you store characters above the Basic Multilingual Plane.

--

—84.228.123.93 19:20, 14 April 2010 (UTC)

Installation Problems - Something's not quite right yet; make sure everything below is filled out correctly

 * MediaWiki version: MediaWiki 1.15.3
 * XAMPP version: 1.7.4-beta1 (I also tried 1.7.3 but received a message that this version doesn't work with the latest Mediawiki - or something like that
 * PHP version:
 * MySQL version:
 * URL:

After installing XAMPP and starting the 3 servers, I extracted the files from the Mediawiki .tar file (mediawiki-1.15.3), placed them into a folder I named "Mediawiki" and moved the folder in the htdocs folder. Then I changed the attributes of the config folder in the Mediawiki folder with 'chmod' to allow everything (chmod a+w config). I defined a new database and allowed all the privileges to it. - All these procedures I performed according to the instructions at the site: http://techjournal.318.com/web-development/installing-mediawiki-on-mac-os-x/ When browsing to the http://localhost/mediawiki/config/index.php, I fed all the parameters required but still received the message: "Something's not quite right yet; make sure everything below is filled out correctly"

Here is the paste of the screen as you instruct on this wiki page: -- MediaWiki 1.15.3 Installation

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.3.2 installed Found database drivers for: MySQL PostgreSQL SQLite PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/Applications/XAMPP/xamppfiles/temp/) appears to be valid. PHP's memory_limit is 128M. 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: /Applications/XAMPP/xamppfiles/htdocs/mediawiki Script URI path: /mediawiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as adyuser1...failed due to authentication errors. Check passwords. Something's not quite right yet; make sure everything below is filled out correctly.

Site config

Wiki name: Preferably a short word without punctuation, i.e. "Wikipedia". Will appear as the namespace name for "meta" pages, and throughout the interface.

Contact e-mail: Displayed to users in some error messages, used as the return address for password reminders, and used as the default sender address of e-mail notifications.

Language: Select the language for your wiki's interface. Some localizations aren't fully complete. Unicode (UTF-8) is used for all localizations.

Copyright/license: No license metadata Public Domain GNU Free Documentation License 1.2 (Wikipedia-compatible) GNU Free Documentation License 1.3 A Creative Commons license - choose A notice, icon, and machine-readable copyright metadata will be displayed for the license you pick.

Admin username: Password: Password confirm: An admin can lock/delete pages, block users from editing, and do other maintenance tasks. A new account will be added only when creating a new wiki database.

The password cannot be the same as the username.

Object caching: No caching DBA (not recommended) Memcached Memcached servers: An object caching system such as memcached will provide a significant performance boost, but needs to be installed. Provide the server addresses and ports in a comma-separated list.

MediaWiki can also detect and support eAccelerator, Turck MMCache, APC, and XCache, but these should not be used if the wiki will be running on multiple application servers.

DBA (Berkeley-style DB) is generally slower than using no cache at all, and is only recommended for testing.

E-mail, e-mail notification and authentication setup

E-mail features (global): Enabled Disabled Use this to disable all e-mail functions (password reminders, user-to-user e-mail, and e-mail notifications) if sending mail doesn't work on your server.

User-to-user e-mail: Enabled Disabled The user-to-user e-mail feature (Special:Emailuser) lets the wiki act as a relay to allow users to exchange e-mail without publicly advertising their e-mail address.

E-mail notification about changes: Disabled Enabled for changes to user discussion pages only Enabled for changes to user discussion pages, and to pages on watchlists (not recommended for large wikis) For this feature to work, an e-mail address must be present for the user account, and the notification options in the user's preferences must be enabled. Also note the authentication option below. When testing the feature, keep in mind that your own changes will never trigger notifications to be sent to yourself. There are additional options for fine tuning in /includes/DefaultSettings.php; copy these to your LocalSettings.php and edit them there to change them. E-mail address authentication: Disabled Enabled If this option is enabled, users have to confirm their e-mail address using a magic link sent to them whenever they set or change it, and only authenticated e-mail addresses can receive mails from other users and/or change notification mails. Setting this option is recommended for public wikis because of potential abuse of the e-mail features above. Database config

Database type: MySQL PostgreSQL SQLite Database host: If your database server isn't on your web server, enter the name or IP address here.

Database name: DB username:Check username DB password:and password DB password confirm: If you only have a single user account and database available, enter those here. If you have database root access (see below) you can specify new accounts/databases to be created. This account will not be created if it pre-exists. If this is the case, ensure that it has SELECT, INSERT, UPDATE, and DELETE permissions on the MediaWiki database.

Superuser account: Use superuser account Superuser name: Superuser password: If the database user specified above does not exist, or does not have access to create the database (if needed) or tables within it, please check the box and provide details of a superuser account,	such as root, which does.

MySQL specific options Database table prefix: If you need to share one database between multiple wikis, or between MediaWiki and another web application, you may choose to add a prefix to all the table names to avoid conflicts. Avoid exotic characters; something like mw_ is good. Storage Engine Select one: InnoDB MyISAM InnoDB is best for public web installations, since it has good concurrency support. MyISAM may be faster in single-user installations. MyISAM databases tend to get corrupted more often than InnoDB databases.

Database character set Select one: MySQL 4.1/5.0 binary MySQL 4.1/5.0 UTF-8 MySQL 4.0 backwards-compatible UTF-8 This option is ignored on upgrade, the same character set will be kept.

WARNING: If you use backwards-compatible UTF-8 on MySQL 4.1+, and subsequently back up the database with mysqldump, it may destroy all non-ASCII characters, irreversibly corrupting your backups!.

In binary mode, MediaWiki stores UTF-8 text to the database in binary fields. This is more efficient than MySQL's UTF-8 mode, and allows you to use the full range of Unicode characters. In UTF-8 mode, MySQL will know what character set your data is in, and can present and convert it appropriately, but it won't let you store characters above the Basic Multilingual Plane. --

—Robertfischer 20:56, 14 April 2010 (UTC)

Installation Problems

 * MediaWiki version:
 * PHP version: 5.2.4
 * MySQL version: 5.1
 * URL: Internal

—Joshg 15:18, 19 April 2010 (UTC)


 * MediaWiki version: 1.15.3
 * PHP version: 5.1.1
 * MySQL version: 5.0.45
 * URL: localhost

Found database drivers for: MySQL Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. 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 is configured with no memory_limit. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: C:\www_apache2\wiki Script URI path: Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually.

Hello, I have two version MySQL, older 4.1.7 and 5.0.45 at port 3307 (wiki is connected at this one). Wiki is very slow, when i click at login or some other links at index site, after 1 minute apears blank page. I tryed add this code to LocalSettings.php error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); but nothing happend. Iam desperate :( I apologize for my English...

—195.113.207.234 13:22, 28 April 2010 (UTC)

Can't access Wiki throuugh firewall although firewall is set to allow acess
I have my Wiki setup on the private side of my firewall. The firewall is set to send packets to port 80 on the internal adress. the public adress is different. I can get to my base url on the web server from the public side of the firewall but when I try to get to my Wiki the link times out. Again on the Private side things work just fine. In my Localsettings.php I have the base URL as /JASWiki and to get to it (on the private side) I would do this:
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6 (apache)
 * MySQL version: 5.0.45
 * URL: Internal Site myinternaldomain/JASWiki

http://172.xx.x.xxx/JASWiki

On the public side I would do this

http://172.31.xx.y.xxx/JASWiki

My firewall takes packets destined to port 80 at 172.xx.x.xxx and redirects them to 172.xx.y.xxx.

Any pointers on doing this? Or is best to keep this in front of Firewalls

John Boris Jboris 17:16, 30 April 2010 (UTC)