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!

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


 * No error is given. When I click on "Special pages" link it goes to an empty page. Any help would be appreciated.


 * A blank page usually indicates a fatal PHP error. For information on debugging (including viewing errors), see How to debug. OverlordQ 00:25, 5 December 2009 (UTC)

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
 * Make sure IIS is properly configured in it's console. --Arseny1992 17:58, 2 December 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

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.

Me Too
I have the EXACT same problem. I have tried to redownload and reupload new versions again and again. I've tried reinstalling the database three times as well. I can't figure this out. I have the same error:

Fatal error: Call to undefined method StringUtils::explode in /var/www/html/wiki/includes/parser/Parser.php on line 669

I have tried to raise the memory limit to 32MB and also the php.ini to 32MB

Here is my dump:

PHP 5.0.4 installed

Found database drivers for: MySQL PostgreSQL

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 (/tmp) appears to be valid.

PHP's memory_limit is 8M. Attempting to raise limit to 20M... ok.

Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.

Warning: shell_exec has been disabled for security reasons in /var/www/html/wiki/config/index.php on line 2011

Warning: shell_exec has been disabled for security reasons in /var/www/html/wiki/config/index.php on line 2011

GNU diff3 not found. Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. Found GD graphics library built-in. Installation directory: /var/www/html/wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: exec has been disabled for security reasons in /var/www/html/wiki/config/index.php on line 2102 Warning: array_map [function.array-map]: Argument #2 should be an array in /var/www/html/wiki/config /index.php on line 2152 Warning: Invalid argument supplied for foreach in /var/www/html/wiki/config/index.php on line 2153 Warning: Invalid argument supplied for foreach in /var/www/html/wiki/config/index.php on line 2110 Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as dieselbenz...success. Connected to mysql 4.1.14-standard; enabling MySQL 4.1/5.0 charset mode Database dieselbenz_info_-_db exists There are already MediaWiki tables in this database. Checking if updates are needed... Warning: you requested the mysql5-binary schema, but the existing database has the mysql4 schema. This upgrade script can't convert it, so it will remain mysql4. ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards MediaWiki 1.15.1 Installation http://www.dieselbenz.info/wiki/config/index.php 1 of 3 11/16/2009 7:27 PM...hitcounter table already exists. ...have rc_type field in recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. Already have pagelinks; skipping old links table updates. ...il_from OK ...have rc_ip field in recentchanges table. ...image primary key already set. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. ...page table already exists. ...have log_params field in logging table. logging table has correct log_title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...have ar_text_id field in archive table. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...have img_media_type field in image table. ...already have pagelinks table. No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...transcache table already exists. ...have iw_trans field in interwiki table. ...trackbacks table already exists. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. ...have ipb_range_start field in ipblocks table. Setting page_random to a random value on rows where it equals 0...changed 0 rows ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. Checking for additional recent changes indices... ...index `rc_ns_usertext` seems ok. ...index `rc_user_text` seems ok. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks seems to be ok Checking if templatelinks index tl_namespace includes field tl_from... ...index tl_namespace on table templatelinks seems to be ok Checking if imagelinks index il_to includes field il_from... MediaWiki 1.15.1 Installation http://www.dieselbenz.info/wiki/config/index.php 2 of 3 11/16/2009 7:27 PM...index il_to on table imagelinks seems to be ok ...have rc_old_len field in recentchanges table. ...have user_editcount field in user table. ...page_restrictions table already exists. ...have log_id field in logging table. ...have rev_parent_id field in revision table. ...have pr_id field in page_restrictions table. ...have rev_len field in revision table. ...have rc_deleted field in recentchanges table. ...have log_deleted field in logging table. ...have ar_deleted field in archive table. ...have ipb_deleted field in ipblocks table. ...have fa_deleted field in filearchive table. ...have ar_len field in archive table. ...have ipb_block_email field in ipblocks table. Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks seems to be ok ...have oi_metadata field in oldimage table. ...usertext,timestamp key on archive already exists. ...usertext,timestamp key on image already exists. ...usertext,timestamp key on oldimage already exists. ...have ar_page_id field in archive table. ...have img_sha1 field in image table. ...protected_titles table already exists. ...have ipb_by_text field in ipblocks table. ...page_props table already exists. ...updatelog table already exists. ...category table already exists. ...category table already populated. ...have ar_parent_id field in archive table. ...have user_last_timestamp field in user_newtalk table. ...rev_parent_id column already populated. protected_titles table has correct pt_title encoding. Checking filearchive indices... Adding ss_active_users field to table site_stats...ok ...ss_active_users user count set... Adding ipb_allow_usertalk field to table ipblocks...ok Making pl_namespace, tl_namespace and il_to indices UNIQUE... ok Creating change_tag table...ok ...tag_summary table already exists. ...valid_tag table already exists. Deleting old default messages (this may take a long time!)...Done Checking site_stats row...ok. Purging caches...done. Finished update checks. 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.

Help! Darrellx 04:45, 17 November 2009 (UTC)

(RESOLVED) I can't run pywikipediabot on my wiki
Hi, I have installed 5 months ago my wiki. I tried to run a python bot and it gives me
 * MediaWiki version: 1.16alpha
 * PHP version: 5.2.8
 * MySQL version: 5.0.82-community
 * URL: intranet

Microsoft Windows XP [Versión 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrador>"C:\Enciclopedia DG\pywikipedia\login.py " File "C:\Enciclopedia DG\pywikipedia\login.py", line 66 'en': u'Wikipedia:Registered bots', ^ SyntaxError: invalid syntax

What can I do? --MisterWiki 20:31, 12 November 2009 (UTC)
 * I had installed Python 3.1 and pywikipediabot just functions on Python 2.x, thanks Meta!!!. --MisterWiki 21:12, 19 November 2009 (UTC)

Path error following Installation

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.81.community
 * URL: http://www.cijedi.com/wiki/index.php

I had a little trouble getting my filemanager to move the localsettings.php file after the install finished, so I downloaded it, then uploaded it into the wiki directory. Then when I tried to load the page, I got the following error:

Warning: require_once(/home/cimaster/public_html/wiki/LocalSettings.php) [function.require-once]: failed to open stream: Permission denied in /home/cimaster/public_html/wiki/includes/WebStart.php on line 113

Fatal error: require_once [function.require]: Failed opening required '/home/cimaster/public_html/wiki/LocalSettings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cimaster/public_html/wiki/includes/WebStart.php on line 113

I really don't know any php, and wouldn't know where to start, but I was a little encouraged to see a similar (unresolved) issue in the archives: "Localsettings changes ownership during installation" dated 9-25-09.

MARK

—99.36.104.170 11:40, 31 October 2009 (UTC)


 * Make LocalSettings.php readable by the webserver. In your case, that probably means CHMODing it to 755 644. —Emufarmers(T 12:06, 31 October 2009 (UTC)


 * This solution worked, though I was surprised because the installation instructions said to put strict permission of "600" on LocalSettings.php. Thank you very much.
 * This depends on your webserver configuration. If you are doing chmod 600, you also need to chown it. Manual:Config script mentions it, but probably you've seen it in another place? Tell us where so that we could fix it. Max Semenik 05:44, 20 November 2009 (UTC)

How to find the administrator profil created .Comment retrouver le profil administrateur

 * MediaWiki version: MediaWiki 1.15.1
 * PHP version:
 * MySQL version: mysql5
 * URL: http://www.bendiyan.org/mediawiki

I'm not sure if the administrator profil has been created at the installation. Either not created or with a wrong userid.

How may I check if it has been created or create easily a new one? Is there an sql instruction to execute with Phpmyadmin on my mysql database?

Thank a lot. PASCAL P.S. excuse my bad english because I'm french.

IN FRENCH: en francais

Comment retrouver le profil administrateur créé lors de l'installation? existe t il un requete sql utilsable sur PHPMYADMIN MYSQL pour retrouver ce profil?

MERCI

—91.165.244.36 09:36, 13 November 2009 (UTC)
 * Visit Special:Listusers on your wiki. If you see no administrator/bureaucrat accounts here, you can create one by running maintenance/createAndPromote.php. Max Semenik 05:41, 20 November 2009 (UTC)

upgrade MediaWiki 1.3.1 (!!) to MediaWiki 1.15.1

 * MediaWiki version: 1.3.1
 * PHP version: 5
 * MySQL version: 4
 * URL: http://www.exprmntl.net

English Please : How upgrade from MediaWiki 1.3.1 (!!) to MediaWiki 1.15.1 ?? Thanks !

Français Bonjour, Qui peut répondre ? Comment passer d'une version MediaWiki 1.3.1 (!!) vers MediaWiki 1.15.1 ?? Merci

—89.3.85.68 22:59, 22 November 2009 (UTC)


 * The instructions are the same as for any other version, although it's particularly important that you make backups, given the possibility that something might go wrong. —Emufarmers(T 03:10, 23 November 2009 (UTC)

License choice (RESOLVED)

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.1.30 (???)
 * URL: -

Hello,

I have a question about the installation of MediaWiki on my server. I don't know what to do with the Copyright/License. I have the next options:

* No license metadata * Public Domain * GNU Free Documentation License 1.2 (Wikipedia-compatible) * GNU Free Documentation License 1.3 * A Creative Commons license - choose

My website is a website with a game, and I will earn money. Which license should i choose?

Sorry for my bad English

Kind Regards Jordy

—77.162.50.157 15:56, 23 November 2009 (UTC)
 * This is a technical support forum, we're unable unable to make choices about your business model, and we give no legal advice. You can read about copyright issues in Wikipedia (for example, Free content). If you're unsure, seek advice from professional lawyers. Max Semenik 17:45, 23 November 2009 (UTC)

Edit LocalSettings.php with new $IP
Cannot get version info.

Installed MW 1.15 according to http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu. Installation went fine. After moving LocalSettings.php to /etc/mediawiki as suggested, I now get following error:

Warning: require_once(/etc/mediawiki/includes/DefaultSettings.php) [function.require-once]: failed to open stream: No such file or directory in /etc/mediawiki/LocalSettings.php on line 25

Fatal error: require_once [function.require]: Failed opening required '/etc/mediawiki/includes/DefaultSettings.php' (include_path='/etc/mediawiki:/etc/mediawiki/includes:/etc/mediawiki/languages:.:/usr/share/php:/usr/share/pear') in /etc/mediawiki/LocalSettings.php on line 25

Line 25 refers to DefaultSettings.php. It is in the place where mwiki installed itself. /var/lib/mediawiki/includes/

What do I need to change in LocaSettings?

Thanks

—144.92.49.70 23:53, 26 November 2009 (UTC)

Install page showing php codes

 * MediaWiki version: 1. 15.1
 * PHP version: 5.2.11
 * MySQL version: 5
 * URL: http://localhost/mediawiki/config/index.php

My index.php page does not seem to compile properly. It is showing below instead of graphical output:

Have already installed PHP5 for Apache Server and php.info page runs smoothly with PCRE (Perl Compatible Regular Expressions) Support shown enabled on it.

Do you know if I need to download other PHP extensions to make this work?

Sorry about this, I'm a total beginner in PHP.

—218.186.12.228 16:12, 2 December 2009 (UTC)
 * You need to properly configure your apache httpd, or another your web server that you run. --Arseny1992 18:06, 2 December 2009 (UTC)