Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

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!

HUGE Troubles in mediawiki 1.14.0
my bureau/admin account can not access Restricted special pages WHY?????????

MW 1.14.0 PHP Version 5.2.9 MySQL Version 5.0.67-community


 * What error message is given? Wikademia

Untitled
Hello! My name is Pilar and I'm an extranet oficer suporting now our extranet development project.One of the things we are thinking to add media wiki to our extranet as BT did. Now I couldn't find any information about whether media wiki can be implemented with a password regulated site as an extranet. Another question is can we get an media wiki expert some where to support with instalation and training us on how to manage the site? All this information here is quite heavy and difficult to understand for not developers minds.
 * MediaWiki version: media wiki
 * PHP version:
 * MySQL version:
 * URL:
 * You can post an advertisement for a MediaWiki consultant at MWusers.com. Dr. Eme

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.

Unable to view the php created

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.5
 * MySQL version: -
 * URL:

I have installed PHP and also made the necessary changes to the IIS. Still I am unable to view the .php file I created in the C:\Inetpub\wwwroot folder. Everytime I try to view the file using the browse option I get an error saying I am unauthorised to view that page.

I do have administrative rights and installed it using the same.

Thanks in advance Maya

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

Problem with wiki installation (the php module throws exception during the installatio)

 * MediaWiki version: 1.14.0 / 1.15.0
 * PHP version: 5.2.10.10 (Windows XP SP2 Pro)
 * MySQL version: 5.1

I tried to install MediaWiki 1.15 on IIS with no success: The installtion just stops after it write some lines (Like Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. etc...) (as described here: http://meta.wikimedia.org/wiki/MediaWiki_FAQ#The_install_stops_with_no_messages_or_I_get_a_blank_page.21), furthermore, after the installation stops, i needed to restart the iis otherwise the php isapi wasn't working (it returns blank pages).

After a few tries I've decided to install it on Apache 2.2 (windows xp), When i clicked install - the installtion was started (like with IIS), and when it gets to this line: "Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually." it throws exception (windows opens the Visual Studio Just in time Debugger with the following message: An unhandeled win32 exception occured in httpd.exe.

After this tries, I've downloaded MediaWiki 1.14.0, and try to install it on Apache 2.2 - still the same problem. So i've started to "debug" the config/index.php file, and start to put "exit;" in the middle of the script, and i've noticed that the line that throws the exception is : "$wgDatabase = Database::newFromParams( $wgDBserver, $db_user, $db_pass, '', 1 );" (if i put exit before this line no exception is thrown).

What can be the problem? MySQL is running and the username / password is OK.

Thanks.

—217.132.146.111 09:44, 11 July 2009 (UTC)


 * I solved it. The problem was with the connection to my sql -> the driver (php_mysql.dll) wasn't compatible with my sql version, At first I've installed MySQL 5.1, and the dll version was 5.2.10.10 - which caused the webserver (iis / apache) to crash. After I've downloaded php_mysql version 5.2.9.9 - the problem was solved :) (I found the solution here: )

Installation successful but LocalSettings.php is not created

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.0-8+etch15
 * MySQL version: 5.0.32
 * URL: http://julian.mur.at/wiki

Hi there,

I tried to install MediaWiki on my own server. Everything went fine, until i got the following message: „To complete the installation, move config/LocalSettings.php to the parent directory.“

But there is no LocalSettings.php in the config-folder, only the files "index.php" and and "index.php5". I have been looking for a solution on the web for over two hours now, but couldn't find any.

Thank you very much in advance. Your help is really appreciated. Cheers, Julian

—217.16.125.244 08:50, 24 July 2009 (UTC)


 * Do you have the correct writing permissions set on the server? Make sure you are looking in the correct location, you don't have multiple versions of the software etc. -- Dr DBW  |  talk  04:01, 5 August 2009 (UTC)

(republicofkanto.exofire.net/wiki) HUGE problem with 1.15.1
MediaWiki version: 1.15.1 PHP version: 5.2.10 (cgi) MySQL version: 5.0.81-community URL: http://republicofkanto.exofire.net/wiki/Main_Page

I just upgraded to 1.15.1, and now trying to access anything (including the Main Page) gives a completely blank page with only the words "Override this function."

--CJMiller 14:50, 8 August 2009 (UTC)

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

WAMP, MediaWikie, Email

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9 (apache2handler)
 * MySQL version:  	5.1.32-community-log
 * URL: http://edrivetracking.com/w

I can't seem to connect to email no matter what i do. 90% of time i get following error.

'''Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\w\includes\UserMailer.php on line 119

Fatal error: require_once [function.require]: Failed opening required 'Mail.php' (include_path='C:\wamp\www\w;C:\wamp\www\w/includes;C:\wamp\www\w/languages;.;C:\php5\pear') in C:\wamp\www\w\includes\UserMailer.php on line 119'''

After first time i did some research and tried the following array

$wgSMTP => array( 'host' => "mail.domain.com", 'IDHost' => "domain.com", 'port' => 25, 'auth' => false, );

I also tried with authentication

the only change i've seen is when i log with my admin account i get

Login error A password reminder has already been sent, within the last 24 hours. To prevent abuse, only one password reminder will be sent per 24 hours.

but this does not happen with any other account. all other accounts just give the first error i described.

—[mailto:jdmckinstry@edrivecreations.com[JD]] 71.41.108.57 19:52, 4 August 2009 (UTC)
 * You need to get Mail.php from PEAR, this file is not part of MediaWiki (as described on $wgSMTP). i Alex  07:19, 11 August 2009 (UTC)

Installing Mediawiki 1.15.1, Postgres 8.4.0, and tsearch2

 * MediaWiki version: 1.15.1
 * PHP version: 5.1.6
 * Postgresql version: 8.4.0
 * URL:

This is a fresh install of mediawiki 1.15.1. It will be an upgrade at some point, but for now it is a fresh install onto Centos 5.3.

Postgres was chosen long ago (by others). So for now, we are trying to install mediawiki with a current postgres.

The issue is tsearch2.

I have exhausted all web pages in an attempt to merely get the mediawiki installed.

I have followed all instructions for adding tsearch2 even though it is supposed to be in the core now (using postgres 8.4).

Again, in this step, I am not trying to update, merely to install.

Does tsearch2 work with mediawiki 1.15.1 and postgres 8.4? Even the simple steps of adding the tsearch2 tables does not work.

Checking for tsearch2 in the schema "public"...FAILED.

Any clues as to what I am missing?

Thank You

bolding@noao.edu

—140.252.25.56 00:11, 5 August 2009 (UTC)

Getting rid of most languages (in order to get a compact wiki)

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.6
 * MySQL version: n/a (I use SQLite instead)
 * URL: n/a

About 3/4 of MediaWiki engine code size is because of its large  folder. Is it technically possible not to install most of the languages? The reason is, when your MediaWiki weight is 10MiB instead of 40MB,


 * ... you may stay on a cheaper webhosting with 3-4 times lesser webspace


 * ... you may carry wiki+sqlite on a lesser flash disk


 * ... you may send wiki+sqlite faster through the Net

What should be done to accomplish this (other than killing the unnecessary files in  and  )? —79.143.76.66 08:19, 7 August 2009 (UTC)
 * Sounds like some hacking and trial and error could do the job perhaps. Dr. Eme

Please Associate

 * MediaWiki version: MediaWiki, Could You Associate?
 * PHP version: MediaWiki, Wikipedia
 * MySQL version: unknown
 * URL: http://m.yahoo.com ; http://microsoft.com/net ; your http://facebook.com ...

MediaWiki, I have been asking Microsoft NET if they would work with you. They said they would think about it and try it. Yahoo is also like Facebook now, and I was thinking you could work with them. You have great work like Microsoft, Yahoo, AOL-RR, and many others. I would even enjoy working with all of you. Please think about it. Thank you, God bless you Musketeer41- Benjamin Minney

—Musketeer41 22:55, 10 August 2009 (UTC)

Can't verify signature

 * MediaWiki version: 1.15.1
 * PHP version: n/a
 * MySQL version: n/a
 * URL: http://www.mediawiki.org/wiki/Download

I've downloaded the stable version 1.15.1, I've tried to verify the downloaded package, but the used signature is not included in the public keys.

Can anybody tell me where to download the correct public key? Or is there any problem with the package?

Thanks in advance.

Dario

—79.154.198.23 17:51, 12 August 2009 (UTC)