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.

Install problem. Stuck on install. "Please set up wiki first" message keeps appearing

 * MediaWiki version: 1.14.0
 * PHP version: 5.1.6
 * MySQL version: 5.x
 * URL: http://wiki.quattroworld.com

I followed the instructions and installed the Wiki. No problems so far!! Then it tells me to move the LocalSettings.php file to the root directory and change the name or remove the config directory. Done and done. I go to the index page hoping to see something cool and I get the "Please set up the wiki first" message!? It is not finding the LocalSettings.php file. It is there and I set chmod to 600 and tried chown several different users including root.

I am very excited to get this up and running and I can't get past this step.

Please help!

Josh@QuattroWorld.com

—71.112.47.222 22:20, 21 April 2009 (UTC) Also - just for clarification: I moved ALL the files out of the MediaWiki_1.14.0 folder and into the root httpdocs folder.


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

I get authenticated by typing in the right user name and password but then I get sent to the main page and it shows my IP address and still wants me to log in as if I had not.

—96.35.139.178 22:00, 28 April 2009 (UTC)


 * Did you put LocalSettings in the root wiki directory? It should be in the same directory as index.php, api.php, etc. Happy ‑ melon 21:26, 19 May 2009 (UTC)

Update.php Help

 * MediaWiki: 1.11.2
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 5.0.41-community-nt
 * URL: localhost

I'm running MediaWiki on my laptop using LAMP. I want to upgrade from 1.11.2 to 1.14.0. I have already attempted to overwrite the old MediaWiki files with the new 1.14.0 files and MediaWiki started up fine - i.e. the main page and special pages worked fine. However, the custom content that I added - e.g. http://localhost/mywikipedia/index.php/New_Page - could not be displayed; a php-related error was shown in the MediaWiki template. Since the MediaWiki template was still working, I know that the files are still working correctly, the problem lies in the database connection. I reverted back to version 1.11.2 by replacing the files I backed up originally and all of my custom pages show up just fine. I believe my problem is not running the /maintenance/update.php script because I don't know how and don't have command line access with LAMP. Can anyone tell me how to run this update script so that an upgraded version of MediaWiki will work? Thank you!

—199.52.13.101 13:36, 13 May 2009 (UTC)

After clicking on "Install MediaWiki!" the page changes to "The website cannot be displayed"

 * MediaWiki version: 1.14.0
 * PHP version: 5.2
 * MySQL version: 5.1
 * URL:

After setting up MediaWiki, I log on to "localhost/CAI_wiki" and go to the "MediaWiki 1.14.0 Installation" page - eviroment variables seem ok...I fill out the necessary info on the page and click on the "Install MediaWiki!" button at the bottom of the page and I get a "Page cannot be displayed" browser error. I log back on to the mediawiki page and I have to repeat the process...

I checked MySql and database seems to have been created.

Any help would be appreciated.

Wayne Boyd wboyd@iglou.com —74.254.192.66 21:48, 15 May 2009 (UTC)

Installation Problems

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.3
 * MySQL version: 5.0.41
 * URL: www.taowizard.com/wiki

Here is what I get back when I try and install:


 * PHP 5.2.1 installed
 * 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 cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * Session save path (c:\winnt\temp\php5) 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.
 * GNU diff3 not found.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: D:\hshome\c251773\taowizard.com\wiki
 * Script URI path: /wiki
 * 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.

Generating configuration file...


 * Database type: MySQL
 * Loading class: DatabaseMysql
 * Attempting to connect to database server as xxxxxx_wiki...success.
 * Connected to mysql 5.0.67-log; enabling MySQL 4.1/5.0 charset mode
 * Database xxxxxx_wiki exists
 * Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "CREATE command denied to user 'xxxxxx_wiki'@'98.130.0.160' for table 'user' (mysql503.ixwebhosting.com)".

—Stigweard 01:24, 16 May 2009 (UTC)


 * Your database user needs the appropriate rights to create new tables for the installation process. If you can't fix this yourself, talk to your host. —Emufarmers(T 10:17, 16 May 2009 (UTC)

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

Un-free content on a wiki using MediaWiki
I am considering using MediaWiki for a publicly accessible, corporate web site. The content would either totally "unfree" or else licensed using Creative Commons "Attribution-No Derivative Works 3.0 Unported" license with some limited reuse allowed. Does the use of MediaWiki for the site mean that my content has to be re-usable by others under the terms of GFDL?

Thanks, --A. B. 21:11, 19 May 2009 (UTC)


 * MediaWiki, the software, is entirely separate from the content you're actually building with it. Ultimately, you're creating a load of database tables into which people contribute content; MediaWiki is just the program which converts those raw tables into a pretty and human-readable format.  You're at perfect liberty to access the content any way you want, and the license of the content in those tables is entirely distinct to that of the sotware itself (and the license of MySQL, the database architecture, PHP, MW's source language, and so forth).  So you must use MediaWiki in accordance with its own license (the GPL); essentially this means you cannot create derivative works of the software without licensing them under the same free license.  So you can tweak MediaWiki for your own ends, but you can't then bundle the resulting product and sell it on (or license that software under a non-GPL license).  What you do withthe software, however, is entirely up to you.  Happy ‑ melon 21:23, 19 May 2009 (UTC)


 * OK, thanks! --A. B. 22:34, 19 May 2009 (UTC)

Problem with Update from 1.12.* to 1.14.0

 * Moved from Project:Forum Happy ‑ melon 21:40, 19 May 2009 (UTC)

Hello,

I hope anyone can help me to solve my problem. I wanted to update my mediawiki from 1.12.* (I don't know the exakt version, but if it's necessery i can try to search for it) 1.14.0. First I uploaded all new files, then i created a user in adminsettings.php, then I wanted to start maintenance/update.php but there I got a 403 Erorr. I looked at the logs and they say this:

client denied by server configuration: /srv/www/htdocs/.../wiki/wiki/maintenance/update.php

PHP Fatal error: Cannot redeclare wfwaitforslaves (previously declared in /srv/www/htdocs/.../wiki/wiki/maintenance/commandLine.inc:244) in /srv/www/htdocs/.../wiki/wiki/includes/GlobalFunctions.php on line 2905

What did i make wrong? I hope anyone can help me, and sorry for my bad english.

Regards,

Timo


 * This is not a place to request help with MediaWiki. “For help with the MediaWiki software see communication.”
 * Maintenance scripts like update.php are not run via HTTP, but directly in shell.
 * --Mormegil 22:16, 10 April 2009 (UTC)


 * OK. Thank you and sorry for false post.
 * Timo

Hello,

I´d like to know if there is someone in Brazil that knows how to use the Mediawiki. I need a person to teach me and give some consultancy to a company.

Thanks, Ju

Is the Wiki software allowed to be used on websites containing adult content or pornography?

 * Moved from Project:Forum Happy ‑ melon 21:42, 19 May 2009 (UTC)

Here is the 1000 dollar question, is your software allowed to be used in any way shape or form by the adult industry? I feel compelled to ask because I have been a member of a few Wikis dedicated to just that and they have always ended up deleted and since the servers they were on do host adult content the reason is obviously something else entirely. so again is your software allowed to be used by the Adult industry in any way, shape or form? Yes or no? PunkMaister @ 1:08 PM
 * The MediaWiki software is released under the GNU General Purpose License, with no Warranty, Assertion of Merchantability or Assertion of Fitness for Purpose. Apart from this copyright license, there are no restrictions placed on the use of the software by its developers.  Provided that a user of the software fulfils the copyright requirements of the GPL, their use of the software is governed solely by local law.  So while the principle of using an open-editing software structure such as MediaWiki to host adult content may or may not be legal in a particular jurisdiction for a variety of reasons, there are no limitations imposed by the developers themselves on the use of MediaWiki to host any particular form of content. Happy ‑ melon 17:29, 16 April 2009 (UTC)

Where is the License information for MediaWiki?

 * Moved from Project:Forum Happy ‑ melon 21:43, 19 May 2009 (UTC)

Hi all,

Where is the license for MediaWiki (the software, not content of mediawiki.org) definitively posted? I can't seem to find a single, clear source. Many pages state GPL, but what version, etc.?

Thanks!
 * See Special:Version. i Alex  19:20, 22 April 2009 (UTC)
 * Thanks Alex - that page just seems to mention the license of the installed server. I am looking for the license information for the software before I install it (and for version 1.14.0)
 * The license is the same for all versions. If you want the license for the software before installing it, open the "COPYING" file. i Alex  19:43, 22 April 2009 (UTC)

Installation problem

 * Moved from Project:Forum Happy ‑ melon 21:45, 19 May 2009 (UTC)

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

PHP 5.2.9-2 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module

Please help!


 * It seems that there is no suitable database manager available on the system where you're trying to install MediaWiki. MW can run using MySQL, MSSQL or PostgreSQL databases, but at least one of these needs to be available. Check with your webhost/administrator (if you're on a shared server) or check the installed software if you have root access, and verify that one of these database managers is available.  MySQL is the most reliable and widely-used manager for MediaWiki. Happy ‑ melon 16:26, 1 May 2009 (UTC)

Installation Username

 * Moved from Project:Forum Happy ‑ melon 21:47, 19 May 2009 (UTC)

Well I'm installing mediawiki right now and I've gotten to the point where it asks for... Database Name: DB username: DB password: DB password confirm:

Superuser account: [] use super user account Superuser name: Superuser password:

I'm installing this on a web server that I am not an operator of, a company is, blah blah blah. The thing is, I was never informed of a DB username/password or Superuser name/password so I have no idea what to fill in there.

What I'd like to be able to do is people can create an account to edit and create and whatnot.

Thanks in advance!
 * You need to have a database in order to install, talk to the person responsible at the company who hosts you wiki. MiCkE 12:12, 13 May 2009 (UTC)

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)