Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

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

Installing new MediaWiki with old Database
Actually my question is simple but to avoid a lot of work and errors i ask: Is it possible to install a new MediaWiki and use the old database with the old media files?

This is because my current installation (1.11) is moving to another server and it need to get an update. My thoughts were to install the latest version, copy the mediafiles to the new server, import the database to the new server, change de localsettings.php and go on with the Wiki's. So instead of updating it will be a new installation with the old content. Sypie


 * I don't think that this is a good Idea. It will cause you much trouble and lay waste on your database. You should download your complete installation, upload it to the new server, backup and restore your complete database and then do a regular update. --Bachsau 15:37, 28 May 2009 (UTC)

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:

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

Installation Error

 * MediaWiki version: 1.14.0
 * PHP version: 	5.1.6
 * MySQL version: MYSQL 4.1.20
 * URL: http://awoiaf.westeros.org/

I receive the following error message when attempting to upgrade from 1.9 to 1.14 and attempt to run the Update.php file as directed:

'PHP Fatal error: Call to undefined function codepointToUtf8 in /home/westeros/wiki_web/includes/Sanitizer.php on line 1108'

The update then breaks off. What should I do to correct this?

—81.224.98.2 21:24, 20 May 2009 (UTC)

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

Blank page following successful install
* PHP 5.2.5 installed * Found database drivers for: MySQL SQLite * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/tmp) appears to be valid. * PHP's memory_limit is 64M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/content/h/a/r/harperfamily/html/Wikitest/Wiki * Script URI path: /Wikitest/Wiki * 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 harperwiki...success. * Connected to mysql 5.0.67.d7-ourdelta-log; enabling MySQL 4.1/5.0 charset mode * Database harperwiki exists * Creating tables... done. * Initializing statistics...   * Created sysop account Evan165. *

Creating LocalSettings.php...

Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.

You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.

After installing Media Wiki regardless of version on Godaddy Free hosting I am presented with a blank screen. The configuration page displays properly, but after installing and moving the configuration file up a level my pages will not display. Thanks for any suggestions! http://www.myharperfamily.com/Wikitest/Wiki/index.php?title=Main_Page

—74.190.11.36 18:34, 30 May 2009 (UTC)


 * Hmm. What do you get if you move the LocalSettings.php file back (or at least out of the root directory)?? Happy ‑ melon 09:44, 31 May 2009 (UTC)

If I move the LocalSetttings.php file outside of the root directory, I am presented with the setup Wiki page which guides me through Database setup etc. Thanks.--74.190.11.36 16:25, 31 May 2009 (UTC)


 * Ok, that means you've got it in the right place, and the install is recognising it. What I see at the URL you linked to is an angle bracket and a wierd unicode character, then nothing. Can you copy the first few lines of your LocalSettings.php here please?  Be careful not to post the MySQL database password, which is stored there in plaintext, or any other data you'd consider private. Happy ‑ melon 18:26, 31 May 2009 (UTC)

--68.217.81.190 11:29, 3 June 2009 (UTC)


 * What's the first line? Have you got the  opening tag? And is that first line you posted commented properly?  The beginning of the file should probably look like this:

<?php if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }
 * 1) the other MediaWiki files. It will be used as a base to locate files.

$path = array( $IP, "$IP/includes", "$IP/languages" ); ... Happy ‑ melon 11:59, 3 June 2009 (UTC)

This was a copy and paste error. The start of the file looks like this: --68.217.81.190 11:29, 5 June 2009 (UTC)
 * Hmm, ok, so the file structure is ok. I'm afraid I'm honestly not sure what the problem then is.  Perhaps your webhost doesn't like (or doesn't allow) the running of PHP scripts in webpages?  That seems rather silly in the modern web age, but it's possible (or possible that you need to pay extra for it).  If you edit your index.php file to add some (well formatted) HTML before the opening PHP tag, does that display on the page?  I'm afraid I am rather grasping at straws here... Happy ‑ melon 15:15, 5 June 2009 (UTC)


 * Start debugging. —Emufarmers(T 07:09, 6 June 2009 (UTC)

Error 500 (Internal server error) on LocalSettings.php

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9
 * MySQL version: 5.0.51
 * URL:

When access LocalSettings.php after running /config/index.php, it will show error 500. the apache log as follow: [03/Jun/2009:13:49:38 +0800] "GET /wiki/config/LocalSettings.php HTTP/1.1" 500

—Alexlsc 05:58, 3 June 2009 (UTC)
 * You probably haven't set the right permissions on the file. They need to be chmod 600 (owner read/write, no other permissions).  Happy ‑ melon 08:45, 3 June 2009 (UTC)

Server?
Do I need a server to host the site myself or does WikiMedia Provide me with one? Thankyou, Micheal 2009 17:31, 9 June 2009 (UTC)


 * You need a server. —Emufarmers(T 20:00, 10 June 2009 (UTC)


 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Hello, Within the framework of a project for a company, I will wish to set up a Wiki. Would I like to know if it is possible to do it in a virtual machine (a server 2008 with Hyper-V in fact)? Did you already test? So yes did you encounter particular problems?

Thank you in advance

—Steph130685 15:17, 11 June 2009 (UTC)

Installation Error (php issues?)

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.9-2
 * MySQL version: 5.1.35
 * URL:

Currently having an issue when installing MediaWiki on a Windows 2008 Server that uses Apache 2.2.11. Upon entering the details to setup the wiki, I get the following produced in the web browser and then an error screen:

Checking environment...

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

* PHP 5.2.9-2 installed * Found database drivers for: MySQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (C:\Windows\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. * GNU diff3 not found. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: C:\htdocs\wiki.webdaemon.com.au   * Script URI path: * Installing MediaWiki with php file extensions

In Firefox I get the error that it was a "Connection Interruption" and in IE is just "Cannot display webpage". I had a look at the server's Event log and had found this:

* Faulting application httpd.exe, version 2.2.11.0, time stamp 0x493f5d44, faulting module php5ts.dll, version 5.2.9.9, time stamp 0x49dda255, exception code 0xc0000005, fault offset 0x0000ac7a, process id 0x1600, application start time 0x01c9ed6f49f186c5.

This type of error occurs on a Windows XP install as well using only slightly older versions of PHP, Apache and MySQL. What should I do to rectify this issue and get MediaWiki to install correctly?

—220.233.207.136 05:11, 15 June 2009 (UTC)


 * Is your server able to run other PHP software without any problems? If so, file a bug; if not, the problem lies with your WAMP configuration. —Emufarmers(T 04:25, 16 June 2009 (UTC)