Project:Support desk/Archives/Installation/003

From MediaWiki.org
Jump to navigation Jump to search

Contents

(RESOLVED) CommonSettings.php

  • MediaWiki version: SVN repository
  • PHP version:
  • MySQL version:
  • URL: Localhost, for testing purposes

I can install MediaWiki properly, and have done so multiple times, however, trying to get CommonSettings.php to work is a nightmare for me. I really have no idea how to do this and would appreciate your help. I tried a few times but don't know how to get it to work in LocalSettings.php Thanks, AC —82.42.237.84 21:35, 14 September 2008 (UTC)

Please give your Wiki info and then you may un-mark this topic from RESOLVED status. -PatPeter Tournesol.png MediaWiki Support Team 17:56, 20 September 2008 (UTC)

(OUTDATED) User access denied during installation.

I keep getting the following error when attempting to install:

    # Connected to 5.0.45-log; enabling MySQL 4.1/5.0 charset mode
   * Error selecting database wikidb: 1044 Access denied for user 'wikiuser'@'%' to database 'wikidb'

I have the database created and the wikiuser is setup for all privileges. Can you explain what I'm doing wrong?

75.62.114.48 18:24, 16 September 2008 (UTC)

(RESOLVED) Can't use HTML within $wgSiteNotice after upgrading to MW 1.13

  • MediaWiki version: 1.13
  • PHP version: 5
  • MySQL version: 5
  • URL: localhost

Hi all,

after upgrading my Mediawiki from 1.7.1 to 1.13 I can't use any HTML tags within the $wgSiteNotice variable. Only output I get is the raw text I inputted like

<a href='http://localhost/dewiki/index.php?title=Avelgem&action=purge&knowledge=1><img src='http://localhost/dewiki/skins/common/images/pro.png' border='0' alt='gute Kenntnisse'></a>

Localsettings.php is the same as before the update. I also updated the ParserFunctions extension but I'm not sure if my problem is connected to this extension. Did I forget to update any other files?

Any ideas? Every kind of help is appreciated!

Regards,

Maziminke 15:32, 18 September 2008 (UTC)

$wgSiteNotice started taking wikitext instead of raw HTML in MediaWiki 1.9 "for consistency with editable MediaWiki:Sitenotice and MediaWiki:Anonnotice."[1] It seems like it went back and forth between wikitext and HTML in past versions, so you could make a request on bugzilla if you think the current functionality isn't sufficient. —Emufarmers(T|C) 23:20, 18 September 2008 (UTC)
Thanks for your help. This totally explains the behavior but is a bad message for me since it means recoding lots of code.
You mentioned to put a request to mediawiki's bugzilla system but do you think anyone will care for a single user's opinion? What do you think about implementing a switch to enable/disable HTML at $wgSiteNotice? Since both functionalities should be somehow implemented this would be a nice way to keep HTML working when updating!?
Thanks once more for your help, Maziminke 23:56, 18 September 2008 (UTC)

Can anyone give me any hints how to use HTML at $wgSiteNotice using mediawiki 1.13? I urgently need this feature since I have to change lots of code elsewise. Can't I just replace some files with older ones? Maziminke 02:01, 9 October 2008 (UTC)

I have recoded everything... (Maziminke)

(RESOLVED) Sharing MySQL Database with other Applications

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

I want to install MediaWiki on a site that only has one database, currently in use by the Joomla Content Management System. MediaWiki will be installed on a subdirectory of the site. I understand that when I install MediaWiki I will need to use a Database table prefix (for example wik_) since Joomla is installed under jos_. Is there anything else I need to do so that the installation of MediaWiki does not interfere with the tables already in my MySQL database?

Thank you!

190.87.104.78 21:50, 18 September 2008 (UTC)

When using different prefixes everything should work fine. Maziminke 23:50, 18 September 2008 (UTC)
Please give your Wiki info and then you may un-mark this topic from RESOLVED status. -PatPeter Tournesol.png MediaWiki Support Team 17:59, 20 September 2008 (UTC)

(RESOLVED) PHP 5.2.6 Error

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:
PHP 5.2.6 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 SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module 
For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module

66.117.231.194 15:44, 19 September 2008 (UTC)

Please give your Wiki info and then you may un-mark this topic from RESOLVED status. -PatPeter Tournesol.png MediaWiki Support Team 17:59, 20 September 2008 (UTC)

(OUTDATED) PHP Error After Install

  • MediaWiki version: 1.13.1
  • PHP version: 5.1.6
  • MySQL version: 5.0.27
  • URL: wiki.cis-elsalvador.org

I tried installing once, but got the following error

Fatal error: Class 'LinkCache' not found in /var/www/wiki/includes/Title.php on line 1968

After replacing that file, I installed again. This time I got an "installation successful" message. After installing, I get the following error message:

Fatal error: Class 'LinkCache' not found in /var/www/wiki/includes/Article.php on line 366

Tried replacing the file but that did not work.

Arrbug 20:47, 19 September 2008 (UTC)

(RESOLVED) Doesn't load homepage

Right now all I get when I go to my main page is:

Warning: require_once(/home/dan/public_html/wiki/includes/WebStart.php) [function.require-once]: failed to open stream: No such file or directory in /home/dan/public_html/wiki/index.php on line 40
Fatal error: require_once() [function.require]: Failed opening required '/home/dan/public_html/wiki/includes/WebStart.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dan/public_html/wiki/index.php on line 40

What do I do? I have put all the files onto the server at /wiki, and created the MySQL database. I also changed the permissions of 0777 on wiki/config

218.101.69.55 09:40, 20 September 2008 (UTC)

You are missing a file (or possibly several files). Get the download package onto your server and untar it there; do not upload the files individually unless you have no other choice. —Emufarmers(T|C) 23:07, 20 September 2008 (UTC)

(OUTDATED) Authentication errors

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.6
  • MySQL version: xampp-win32-1.6.7-installer.exe
  • URL: local installation
  • Working system: Windows XP, SP2

I have Problems with the MediWiki-Installation at the server: Attempting to connect to database server as root...failed due to authentication errors. Check passwords. Something's not quite right yet; make sure everything below is filled out correctly. ... Problems with the Superuser account: Check username and password

Detailed Error report: de:File:MediaWiki 1.13.0 Installation.pdf

212.203.91.124 15:20, 21 September 2008 (UTC)

(OUTDATED) Setup – mysql-error: blob can't have default

  • MediaWiki version: 1.7.1
  • PHP version: 5.2.0
  • MySQL version: 5.0.32
  • URL: intranet-only

Here is the output from the setup-script:

    * PHP 5.2.0-8+etch11 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.
    * PHP's memory_limit is 16M. If this is too low, installation may fail! Attempting to raise limit to 20M... ok.
    * Have zlib support; enabling output compression.
    * Neither Turck MMCache nor eAccelerator nor APC are installed, can't use object caching functions
    * Found GNU diff3: /usr/bin/diff3.
    * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
    * Installation directory: /var/lib/mediawiki1.7
    * Script URI path: /mediawiki1.7
    * Environment checked. You can install MediaWiki.

      Generating configuration file...
    * Database type: MySQL
    * Loading class: DatabaseMysql
    * Attempting to connect to database server as root...success.
    * Connected to 5.0.32-Debian_7etch6-log; enabling MySQL 4.1/5.0 charset mode
    * Database twwikidb exists

Creating tables... using MySQL 5 table defs...Query "CREATE TABLE `user` ( user_id int(5) 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_email tinytext NOT NULL default '', user_options blob NOT NULL , 
user_touched char(14) binary NOT NULL default '', 
user_token char(32) binary NOT NULL default '', user_email_authenticated CHAR(14) BINARY, 
user_email_token CHAR(32) BINARY, user_email_token_expires CHAR(14) BINARY, user_registration CHAR(14) BINARY, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), 
INDEX (user_email_token) ) , DEFAULT CHARSET=utf8 
" failed with error code "''BLOB/TEXT column 'user_email' can't have a default value (192.168.xxx.xxx). 

When I copy the statement into a query tool and drop the default="" part for all blobs, it works fine?!

Andreas —194.94.5.91 16:16, 26 September 2008 (UTC)

(RESOLVED) Parse error upon installation

I installed MediaWiki and have come across this error when I try to go to my main wiki page:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/8/d98476241/htdocs/hogwartsnew/wiki/includes/AutoLoader.php on line 10

My wiki page is:

http://hogwarts-interactive.com/wiki/

However if I go to http://hogwarts-interactive.com/wiki/index.php5 it works. How can I get the http://hogwarts-interactive.com/wiki/ URL to work properly?

Thank you for your time! —98.243.173.84 05:30, 27 September 2008 (UTC)

In the .htaccess file in the domain root (create it if it doesn't already exist), add
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
Emufarmers(T|C) 10:16, 27 September 2008 (UTC)
Hi support,
I had the exact same message and behaviour (ie ok with /index.php5) as Hogwarts-I and I modified .htaccess as suggested.
I now have a page that starts with : * This is the main web entry point for MediaWiki.
*
* If you are reading this in your web browser, your server is probably
* not configured correctly to run PHP applications!
here is my configuration.
MediaWiki: 1.13.2
PHP 5.2.6 (cgi)
MySQL 5.0.44-log
URL http://www.rouletaville.fr/wiki/
Thanks for your help

(RESOLVED) Problem moving wiki site to a new host

I am moving to a new host. I have MediaWiki Administrators Tutorial Guide and searched this site to find the same problem. I exported and imported the database content and confirmed it by comparing table row counts on each one, and moved the files over with tar. I edited and updated the LocalSettings.php file.

I now get a 404 Not Found error: The requested URL /Main_Page was not found on this server.

Does this mean it's not connecting the the database? I can access it from the shell command line and put the same username and password in the LocalSettings.php file. The old host was a dedicated VPS and the new one is shared. Does that affect something? Are the PHP or MySQL too new for the old MediaWiki that I have?

Thanks for any help (including links to responses to the same problem that I didn't find)

Dean74.4.182.142 16:26, 1 October 2008 (UTC)

You implemented very short URLs on your old server. On your new server, you must change $wgArticlePath and friends to their default values or apply the necessary rewriting/aliasing. —Emufarmers(T|C) 18:16, 1 October 2008 (UTC)
Thanks - I got it working. Will need to look into whether I can use the short URLs on the new host, or if I even should try.
Dean 74.4.182.142

(OUTDATED) warning and fatal error on install...

I was trying to install mediawiki however after entering all the database details such as usernames and passwords etc the next page had the following (see warning at the end of this):

# PHP 5.2.6 installed
# Found database drivers for: MySQL PostgreSQL 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 8M. Attempting to raise limit to 20M... ok.
# 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/alxjohns/public_html/mrjohnson/wiki
# Script URI path: /wiki
# Installing MediaWiki with php file extensions
# Environment checked. You can install MediaWiki.

Generating configuration file...
# Database type: MySQL
# Loading class: DatabaseMysql

Warning: AutoLoader::require(/home/alxjohns/public_html/mrjohnson/wiki/includes/db/Database.php) [autoloader.require]: failed to open stream: No such file or directory in /home/alxjohns/public_html/mrjohnson/wiki/includes/AutoLoader.php on line 507

Fatal error: AutoLoader::require() [function.require]: Failed opening required '/home/alxjohns/public_html/mrjohnson/wiki/includes/db/Database.php' (include_path='/home/alxjohns/public_html/mrjohnson/wiki:/home/alxjohns/public_html/mrjohnson/wiki/includes:/home/alxjohns/public_html/mrjohnson/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/alxjohns/public_html/mrjohnson/wiki/includes/AutoLoader.php on line 507

If you have any suggestions that would be great,

Regards,

A Johnson mrj@mr-johnson.co.uk —212.159.12.88 20:01, 1 October 2008 (UTC)

(OUTDATED) Viewing config/index.php only lists PHP 5.2.6 installed and nothing else

When I go to /config/ in Firefox 3.0 to start the installation, the only text I see under Checking Environment... is

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

   * PHP 5.2.6 installed

My guess is that it's not getting to the driver point, but I'm not sure what to do to get it past this line.

I don't know if this info is relevant, but I have an .htaccess file at the root level with Wordpress info in it. I also tried installing 1.13.0 but got the same line. Octal permissions on the /config/ directory are 0777.

Thanks for any help you can offer!

Annegentle 02:56, 2 October 2008 (UTC)

(RESOLVED) Logo not visible on Main Page?

  • MediaWiki version: 1.12.0_1
  • PHP version: 5.2.6
  • MySQL version: 5.0.51a
  • URL:

I've added my own logo to my wiki site, but it's not viewable on the main page. I can login as admin, choose preferences, and Skin and preview the different skins and it's there when the preview page comes up. Any ideas?

Sorry, forgot to add subject in previous post. Carlton.

168.215.186.133 15:26, 3 October 2008 (UTC)

Purge the cache. —Emufarmers(T|C) 23:33, 4 October 2008 (UTC)

(RESOLVED) Updating across 6 versions

I've got this old version of Mediawiki running and recently relocated to a new host. Seems like a good time to upgrade and get current. But I couldn't find anything in the upgrade docs that referred to upgrading such an old version. Are there any concerns in doing this - jumping six versions up to 1.13? Are the upgrade scripts set up to detect older versions and do any extra steps to the database?

I have made some mods, but really only to the skin, and I can fairly easily redo those.

Thanks

Dean 74.4.182.142

It should work; report any problems you might have!mailarchive:mediawiki-l/2008-September/028433.htmlEmufarmers(T|C) 23:33, 4 October 2008 (UTC)

(OUTDATED) Wikimedia question, wikis without sysops

  • MediaWiki version: SVN build
  • PHP version: 5.26
  • MySQL version:
  • URL: n/a

How does the Wikimedia foundation have wikis without sysops?? Looking at m:Wikimedia projects without sysop, it seems impossible. How do the developers create the wikifarm without re-running the installer again?

I've tried to replicate this on a smaller scale on my localhost XAMPP installation, but it hasn't worked, so what do I need to do to fix it? —Naxram 09:06, 6 October 2008 (UTC)

(OUTDATED) Veracity of downloaded file

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6RC1-pl1-gentoo
  • MySQL version: 5.0.60
  • URL: none yet

Before installing mediawiki I'd like to check the veracity of the downloaded file. There's a sig file but where can I find the public key to verify this?

132.239.12.245 20:55, 6 October 2008 (UTC)

(RESOLVED) Install script giving authentication error

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.4
  • MySQL version: 5.0.45
  • URL: intranet

"Attempting to connect to database server as root...failed due to authenticaion errors. Check passwords." I keep getting this error when running the install script. The database server is the same localhost I'm installing the wiki on, and the root password is definitely correct. In googling this error, I found that some people solved this by turning off safe mode in php.ini, however that option was already off on my machine. Anything else I can check?

Issue resolved! It appears it was asking for the mysql root password, not my system root password, leaving the password field blank allowed installation to continue.
210.55.198.32 22:18, 12 October 2008 (UTC)

(OUTDATED) How do you log in as an Admin

  • MediaWiki version: Latest
  • PHP version: 5.2.5
  • MySQL version: 5.0.51a-community
  • URL: wwww.talktechnology.net

Hey, I was just wondering how you can log in as an Admin. Is there like a directory you need to go to, since it doesn't allow me to log in just by pressing login, and I know I have entered my information correctly.

Thanks in advance, Matt, October 2008

(RESOLVED) Problem after upgrade to 1.13 (wiki not working in IE but working in Mozilla!)

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.3
  • MySQL version: 4.1.18-nt
  • URL: www.wikiscope.org

I have just finished to upgrate my wiki to the 1.13 version. On the same server I have another wiki, updated a while ago and running. However, this second wiki is giving me troubles.

  • With IE7, the Wiki is working fine unless I log in and then I get the typical error "Internet Explorer cannot display the webpage"
  • In Mozilla, the website run smoothly with only one error in the DynamicPageList2 (Version 0.7.8) extension. I had to comment out Line 953 ($linkBatch->executeInto($linkCache);), otherwise I get the following error:
Fatal error: Call to protected method LinkBatch::executeInto() from context 

During the update I did not get problems. I backuped DB and files, copied the new files and folder, moved extensions and included files that I need, restored permissions and ran the update.php script.

I would guess that, as usual, I have a problem with permissions or with the database, BUT I have not idea why with Mozilla is working almost all fine!!!

Any suggestion is welcome!

Solution
It was a problem of permission on the session folder... I was mislead by the fact that all was working properly in Mozilla. I have a few errors here and there but the Wiki is now up and running...
Wikiscope 19:23, 20 October 2008 (UTC)

(OUTDATED) Database Error with older version on free server

I am having trouble with installing the older version of MediaWiki onto the Awardspace.com free account servers, who do not run php5. I have been advised to disable all email-related configurations during the installation (because of limited database memory, I'm not sure) but the installation still fails:

Below are the relevant lines I think relating to the error:

Initialising "MediaWiki" namespace...
A database error has occurred
Query: INSERT  INTO `mw_page` (page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest,page_len) VALUES (NULL,'8','Imagelinks','0','sysop','0','1','0.008445855009','20081022042516','0','0')
Function: Article::insertOn
Error: 1062 Duplicate entry '8-Imagelinks' for key 2 (db4.awardspace.com)

Backtrace:
GlobalFunctions.php line 602 calls wfbacktrace()
Database.php line 473 calls wfdebugdiebacktrace()
Database.php line 419 calls databasemysql::reportqueryerror()
Database.php line 1023 calls databasemysql::query()
Article.php line 1083 calls databasemysql::insert()
InitialiseMessages.inc line 204 calls article::inserton()
InitialiseMessages.inc line 72 calls initialisemessagesreal()
updaters.inc line 822 calls initialisemessages()
index.php line 659 calls do_all_updates()

122.111.121.82 04:45, 22 October 2008 (UTC)

(OUTDATED) Failure after installation

after installing mediawiki following warnigs:
Warning: ini_set() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/AutoLoader.php on line 5
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757
Warning: array_slice() expects parameter 1 to be array, null given in /usr/export/www/hosting/mdm/wiki/includes/GlobalFunctions.php on line 757

90.134.2.27 00:05, 24 October 2008 (UTC)

(RESOLVED) odd looking url after installation

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6
  • MySQL version: 14.7 Distrib 4.1.22
  • URL: allynncomputerservices.com/wiki

I have just installed the above version of mediawiki on my server, which is running FreeBSD for an o/s. The installation went off without a hitch, or so I thought, but when I access my wiki, now, in order to get to a page, instead of <domain.tld>/wiki/index.php, I get a rather odd looking url that appears something like this.....

<domain.tld>/wiki/index.php?title=Main_Page .... do you have any answers as to why this might be occuring??

I have installed it several times and followed the installation instructions to the letter and it always comes up the same way, no matter what I do for a directory, changing it to "wiki" or leaving it as the default of mediawiki-1.13.2 returns the same result.

This configuration also forces me to use ?<article> to add or find a document as well, which is contradictory to the documentation for this version of the software.

I am somewhat familiar with the software as I have been using it at work for the past 2 years and there, it does not exhibit the same odd behavior as my copy.

Any assistance or guidence would be greatly appreciated, thanks!

Jafo 05:08, 29 October 2008 (UTC)

thanks for answer. i have installed it on another hostserver. and now it works. Click
--90.134.37.191 15:54, 31 October 2008 (UTC)

(RESOLVED) Upload File Link Alteration

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6
  • MySQL version: 5.0.51b
  • URL: Not Public

Hi, I have managed to upgrade my wiki from 1.11 to the above version although when logged in the 'Upload file' link in the 'toolbox' points me to Wikipedia (w:en:Upload), how can i change this so it points me to the correct upload page? (http://testroom/iroom/index.php/Special:Upload)

Many Thanks,

-sas daniels 09:21, 29 October 2008 (UTC)

Try to search and modify the $wgUploadNavigationUrl variable in the LocalSettings file. Or try to disable $wgRemoteUploads on the same file.
Eloy 23:23, 31 December 2008 (UTC)

(RESOLVED) Installation on OS X: needs additional mysql privilige entry for user wikiuser

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.6
  • MySQL version: 5.1.29-rc
  • URL:

It is not enough to have wikiuser priviliges for any internet host. You must add 'localhost' to the list:

mysql> SELECT Host, User FROM mysql.user;
+------------+----------+
| Host       | User     |
+------------+----------+
| %          | wikiuser | 
| localhost  | wikiuser | 
+------------+----------+

213.39.201.238 17:11, 29 October 2008 (UTC)

(OUTDATED) Database Fehler bei der Installation (German)

Ich habe die richtigen Namen und Passwörter für die Datenbank eingetragen und trotzdem bekomme ich einen Fehler, das ich Name und Passwort checken soll. Das habe ich mehrmals bei meinem Provider getan und die sind richtig eingetragen.

Wie kriege ich das jetzt hin, das trotzdem zu installieren?

Gruss Chriss —80.226.0.1 18:28, 1 November 2008 (UTC)

(OUTDATED) Cannot export full history from Wikimedia

I have a wiki which I set up at the URL above, I've managed to integrate Commons images into it, but cannot import full page histories in, since I wish to ensure GFDL compliance. Using Special:Export does not get the full history of the page for download, so what am I doing wrong?? —82.42.237.84 18:21, 4 November 2008 (UTC)

(RESOLVED) Recentchanges only shows user rights log

Special:Recentchanges only shows user rights changes, not changes to other pages. How can I configure to show all changes? (e.g., those shown in Special:Log) —-- Jtneill - Talk 15:49, 8 November 2008 (UTC)

I had added myself to the "Bots" group. Once this was removed, edits showed in recenthanges. -- Jtneill - Talk 16:28, 8 November 2008 (UTC)

(OUTDATED) Clicking Install Does Nothing: Just Refreshes Page 1.13.2

I'm at wits end here. I get no errors, I get no scripts, nothing. When I hit install, it just refreshes the page.

# 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 (/tmp) 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.
# GNU diff3 not found.
# Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
# Installation directory: /var/www/vhosts/mysitename.com/httpdocs/wiki
# Script URI path: /wiki
# Installing MediaWiki with php file extensions
# Environment checked. You can install MediaWiki.

(OUTDATED) CREATE TABLE error

  • MediaWiki version: 1.6.10
  • PHP version: 4
  • MySQL version: 4
  • URL:

I'm trying to set up the wiki on my site, and it errors out with this.

CREATE TABLE `categorylinks` ( cl_from int(8) unsigned NOT NULL default '0', cl_to varchar(255) binary NOT NULL default , cl_sortkey varchar(86) binary NOT NULL default , cl_timestamp timestamp NOT NULL, UNIQUE KEY cl_from(cl_from,cl_to), KEY cl_sortkey(cl_to,cl_sortkey), KEY cl_timestamp(cl_to,cl_timestamp) ) TYPE=InnoDB

167.230.104.94 17:20, 17 November 2008 (UTC)

(OUTDATED) Installation failed, how do I restart?

  • MediaWiki version: 1.6.10
  • PHP version: 4.4.7
  • MySQL version: 4.1.19
  • URL:

Having copied the software I ran the install script but it failed due to the wrong superuser account /password combination. When I run the script again it won't accept the DB username and password despite the fact that it is correct. How do I get to rerun the install script?

195.248.123.83 17:54, 17 November 2008 (UTC)

(RESOLVED) Upgrade instructions miss a step.

Hi, I was going to edit the discussion page here: Manual talk:Upgrading to 1.13

Except that it tells me to come here, so here I am. Seems like a good time to complain about the discussion system in general.

On this page: Manual:Upgrading the instructions go:

  1. ) Unpack the new files,
  2. ) Run the update script.

However, at the stage you ask to run the update script, there is no LocalSettings.php, so the update script fails. Its no biggie, but its an error in the docs AFAICT, and it will confuse de noobs. Please fix this or I'll kill the hostages. --Dmb 15:39, 18 November 2008 (UTC)

The message says not to post support questions on that talk page. Your complaint is not a support question. Beyond that, I have no idea what you're talking about. LocalSettings.php remains in its original location throughout the upgrade process. —Emufarmers(T|C) 23:54, 18 November 2008 (UTC)

(OUTDATED) Creating a MediaWiki wiki

No version or URL, hence the question:

I want to have my own MediaWiki wiki site, not another type of Wiki. However, I have no server or expertise in computer engineering. Is there a site (or person here) that will allow me to administrate my own MediaWiki wiki for free?

Daniel Musto 03:56, 21 November 2008 (UTC)

w:Comparison of wiki farmsEmufarmers(T|C) 04:01, 21 November 2008 (UTC)
Well, in specific, I want my wiki to have the same exact same design and format at Wikipedia. For example: http://meritbadge.org/wiki/index.php/Main_Page From what I see, all the designs for these sites differ from standard Wikipedia. Daniel Musto 04:12, 21 November 2008 (UTC)

(OUTDATED) User:Anonymous after installation of MediaWiki 1.13.2

How comes that there is this user account User:Anonymous in the list of users after installation?
What is the function?
Both renaming users name and viewing settings was not possible.
I would not like to have an account there that is a sort of backdoor.
Thank you for your support. -- Klaus 15:26, 23 November 2008 (UTC)

That's probably what you named your initial sysop account during the installation. —Emufarmers(T|C) 22:27, 23 November 2008 (UTC)
Actually I didn't (concerning initial sysop name). Some more details:
  • Showing all users, the user:Anonymous appears.
  • Visiting the user's page there is no link for user contributions.
  • Renaming this user says: Der Benutzername „“ ist ungültig.
  • Changing rights is not possible because it is said the user did not exist.
So, if there is no user why not making one.
  • Creating a new accout with this name causes an Error: Warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique constraint "mwuser_user_name_key" in /var/www/www.gfi.cx/wiki-gfi/includes/db/DatabasePostgres.php on line 552
    Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

In other words: I cannot delete the user because he does not exist. I cannot create the user because he exists. And he is shown in the user list. So, what is wrong? Is it a bug in this Version? Is it possibly due to a access-closed configuration? -- Klaus 16:44, 26 November 2008 (UTC)

(OUTDATED) Place, where the pages are stored

  • MediaWiki version: 1.12.0
  • PHP version: 5.2.6
  • MySQL version: PostgreSQL 8.3.3
  • URL:

Hi,

I know, the uploaded images are stored in the filesystem. But, where are the pages stored?

Kind regards —Tim 14:01, 4 December 2008 (UTC)

(OUTDATED) Trouble Installing MediaWiki

  • MediaWiki version: 1.13.2
  • PHP version: 5.1.6
  • MySQL version: 5.0.68
  • URL: Intranet Only

When Installing I get this page, but I never get the LocalSettings.php file to move out of the config.

MediaWiki 1.13.2 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.1.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 8M. Attempting to raise limit to 20M... ok. 
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. 
Installation directory: /var/www/wiki 
Script URI path: /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 root...success. 
Connected to 5.0.68; enabling MySQL 4.1/5.0 charset mode 
Database wikidb exists 
There are already MediaWiki tables in this database. Checking if updates are needed... 
DB user account ok 
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards
...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.
...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...
...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.

208.66.47.26 20:32, 4 December 2008 (UTC)

(RESOLVED) Installation issue under OS X

  • MediaWiki version: 1.13.2
  • PHP version: 5.2.4
  • MySQL version: 5.1.30
  • URL: see question below

Have successfully installed under OS X. Can access using http://138.26.45.64/mediawiki/index.php or http://localhost/mediawiki/index.php

The site redirects to http://brutus.local/mediawiki/index.php. This is fine locally, but not fine from other computers. I have traced the redirect down to this line near the end of the index.php file:

$mediaWiki->finalCleanup ( $wgDeferredUpdateList, $wgOut );

My question is, "how do I prevent this URL redirect?"

138.26.45.64 23:25, 10 December 2008 (UTC)<John Robinson> jmr@uab.edu

Put the following line at the bottom of LocalSettings.php:
$wgServer = 'http://138.26.45.64';
iAlex 09:36, 15 December 2008 (UTC)

(RESOLVED) Fanhistory.com wiki run by your software

I would likely be correct in saying that at least 50% of the writers on FF.net are underage minors and what she is trying to do could most definitely put these people in danger. If she found their locations and someone 'googled' their name, the could find their images on social networking sites and that's what leads to people being on Dateline if the kid is lucky. It's dangerous and illegal all around from my point of view. A lot of fanfic authors have been stalked and threatened. I worry that this website could contribute to this sort of illegal and dangerous behavior. I have no other way of contacting anyone who won't 'flame' me for calling out about this site. This website has images and information as to where private citizens live. These people aren't celebrities with lots of security, they are young people who are in danger of getting hurt. This just seriously concerns me about people's safety.

75.109.17.20 01:53, 17 December 2008 (UTC)

MediaWiki is free software and can be used by everybody for whatever content. We here at mediawiki.org are not responsible neither for third party uses of MediaWiki nor for content that third parties add to their website (content issues are independent of the engine that is used to run a site), and we can't help with respective problems. – Please contact the actual owner (or contributors) of the site you're concerned about. --:bdk: 02:47, 26 December 2008 (UTC)

(RESOLVED) Fedora Code 10 Install Issue ... install script php detection does not match php.ini

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

I am trying to get MediaWiki configured on FC 10 with little success. I have the Apache webserver and MySQL installed and tested as individual packages. When I changed directory to /var/www/wiki/config and then do firefox ./index.html I get the following screen:

, 2006 Rob Church # http://www.mediawiki.org/ # # This program is free software; you can redistribute it and/or modify 
# it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 
of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE. See the # GNU General Public License for more details.
[truncated]

97.100.11.228 00:36, 21 December 2008 (UTC)

It sounds like you don't have your webserver configured to use PHP (or perhaps PHP is only enabled in a certain directory), so Apache is serving the index.php source as text. —Emufarmers(T|C) 08:04, 21 December 2008 (UTC)

(RESOLVED) MediaWiki Copyleft?

  • MediaWiki version: na
  • PHP version: na
  • MySQL version: na
  • URL: fusion101.com

Hi , Ive looked but cannot find an answer I can undrstand simply... (though im sure it exists)

Q: Am I: a) allowed to install/use this mediawiki software to generate revenue - ie use ads on my content generated using this wiki b) allowed to edit/mash up etc to suit my own site's needs?

81.178.0.216 22:42, 26 December 2008 (UTC)

Yes. —Emufarmers(T|C) 01:51, 27 December 2008 (UTC)

deleteBatch.php not working right

  • MediaWiki 1.12.0
  • PHP 5.1.6 (apache2handler)
  • MySQL 5.0.22

I am using deleteBatch.php with a list of files to delete and it deletes the files or images, but the files still show up on a search. When you click on the link it shows as being deleted. I checked this with a file I deleted by hand and the deleted file did not show up on a search. Any idea how to delete mass files without them show up on a search.

--Johnp125 21:21, 16 December 2008 (UTC)

What is the solution for the "authentication error - check passwords" while click on "install MediaWiki"?

I am getting authentication error while I click on Install MediaWiki tab and it shows error (authentication error - check passwords) with the Superuser name and superuser password when the checkbox of superuser account is checked.

And when it is unchecked, it will give same error (authentication error - check passwords) for DB username and DB password.

Please suggest me, what should I do for the above problem?

125.18.17.16 10:36, 24 December 2008 (UTC)

Scary transclusion problem

  • MediaWiki version: SVN build
  • PHP version:
  • MySQL version:
  • URL: localhost

I enabled $wgScaryTranscluding, and it works well, but if you put in {{:wikipedia:NPOV}} it does not show the template, only the Wikipedia policy page. What do I need to do to fix this? —82.42.237.84 19:45, 29 December 2008 (UTC)

Installation

  • MediaWiki version: 1.13.3
  • PHP version: 5.2.8
  • MySQL version: 5.2
  • URL:

I've uploaded MediaWiki over my server, when I try to goto Site config page for Installation, some lines as listed below appears. What I do now, second I dont know about mySQL or PHP. I've just uploaded software files and nothing else. Please help in setting up a Wiki site using MediaWiki software. Thanks.

# PHP 5.2.8 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.
# 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's memory_limit is 32M.
# 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 /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874

Warning: shell_exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874
# 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: /home/tayyebo/public_html/mediawiki-1.13.3
# Script URI path: /mediawiki-1.13.3
# Installing MediaWiki with php file extensions
# Environment checked. You can install MediaWiki.

Warning: exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1965

Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1970

Warning: Invalid argument supplied for foreach() in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1973

Notice: Undefined variable: wikiLang in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1999

Anonymous21 12:08, 6 January 2009 (UTC)

--> You really have to know something about MySQL, at least to setup a database for the MediaWiki.

installation of version 1.13.3

  • MediaWiki version: 1.13.3
  • PHP version: PHP 5.2.0
  • MySQL version: 5.0
  • URL:

Hi all,

I am installing media wiki version 1.13.3 from 1.11.0, I have backed up my database and filled in the requirements for the installation used my own extensions and images folder. And also used my own AdminSettings.php and after submitting i get this error:

	 	PHP 5.2.0-dev installed 
	Found database drivers for: MySQL 
	PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) 
[trimmed]

Creating protected_titles table...Query "CREATE TABLE `protected_titles` (

pt_namespace int NOT NULL,
pt_title varchar(255) binary NOT NULL,
pt_user int unsigned NOT NULL,
pt_reason tinyblob,
pt_timestamp binary(14) NOT NULL,
pt_expiry varbinary(14) NOT NULL default ,
pt_create_perm varbinary(60) NOT NULL,
PRIMARY KEY (pt_namespace,pt_title),
KEY pt_timestamp (pt_timestamp)
) TYPE=InnoDB

" failed with error code "CREATE command denied to user 'wiki'@'localhost' for table 'protected_titles' (localhost)".

Your MySQL user needs to be able to execute CREATE queries. Have your host give the user that right, or run the query manually in phpMyAdmin if it's available. —Emufarmers(T|C) 11:38, 20 January 2009 (UTC)

Untitled

  • MediaWiki version: mediawiki-1.13.3
  • PHP version: 5.2.5
  • MySQL version: 5.0.67-community
  • URL:

I Downloaded the mediawiki, and wanted to try on another site, my gave his server and try it on, when i finished installing it seems to be some wrong this is what appears to me in the first page

Warning: Cannot modify header information - headers already sent by (output started at /home/fcfitco/public_html/wiki/includes/WebStart.php:19) in /home/fcfitco/public_html/wiki/includes/WebResponse.php on line 10

it appears a dozen times, also this one appears also


Warning: ini_get() has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/WebStart.php on line 19

Warning: ini_get() has been disabled for security reasons in /home/fcfitco/public_html/wiki/includes/GlobalFunctions.php on line 1984

i think this from the server , how i can solve the problem?

JustTalking 08:02, 28 January 2009 (UTC)

MediaWiki is not likely to run properly on a server with important functions disabled. Tell the server owner that ini_get() must be enabled. —Emufarmers(T|C) 18:28, 28 January 2009 (UTC)

Rights to read page history and differences between them

  • MediaWiki version: 1.13.3
  • PHP version: 5.2.6 (cgi-fcgi)
  • MySQL version: 5.0.51a
  • URL:

Hi everyone,

We cannot view page history (...action=history) and differences between them (...diff=...), message: "You have not enough rights".

The "admin" account is part of the groups "sysop" and "bureaucrat". We use the GroupPermissionsManager, additionally I already added all sysop-default-rights to LocalSettings.php

Can you please tell me, which right has to be set to view the history and compare page versions?

Thank you in advance!

Kind regards


Suesse 08:30, 31 January 2009 (UTC)

"Fatal error" after installing

  • MediaWiki version: The latest
  • PHP version: 5
  • MySQL version: 4.1.25
  • URL: mikelink.org

I downloaded the files, set up the database, went through the install process (where I gave it all the info it asked for) successfully. Moved the LocalSettings.php file, too. Now, however, when I go to MikeLink.org I get an error message:

Warning: require_once(/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc) [function.require-once]: failed to open stream: No such file or directory in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39

Fatal error: require_once() [function.require]: Failed opening required '/nfs/c03/h04/mnt/48214/domains/mikelink.org/install-utils.inc' (include_path='.:/usr/local/php-5.2.6-1/share/pear') in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/index.php on line 39

I'm not sure why it's saying this. It says that it's failing to open that file, but the file exists:

http://mikelink.org/install-utils.inc

So does index.php (and index.php5 for that matter).

I've tried every combination I can for the permissions for that file, so it's not that. Not sure what to do next at this point, and couldn't find anything on Google. Please help.


216.185.15.13 16:39, 5 February 2009 (UTC)

Your files are really in /nfs/c03/h04/mnt/48214/domains/mikelink.org/html/, but the script is looking in /nfs/c03/h04/mnt/48214/domains/mikelink.org/. What is $wgScriptPath set to in LocalSettings.php? —Emufarmers(T|C) 17:22, 7 February 2009 (UTC)
It was set to ="" but I just went ahead and tried changing it, with no different results. I first tried changing it to the long path you said all my files were at (surrounded by the quotes, of course). When that didn't work, I tried just making it equal "html/" and when that didn't work, I tried "/html/" with same result again. So no luck yet.
I also tried changing all the $IP/ to $IP/html/. That didn't work, either.
Anyone?

problems with install mediawiki on PHP 5.2.8?

  • MediaWiki version: 1.13.3
  • PHP version: 5.2.8
  • MySQL version: 5.0.67
  • URL:

http://wiki.it2go.be/wiki/

When i want to install Mediawiki, i have to go to http://wiki.it2go.be/wiki/config/index.php to set up the wiki. When i do so, i get the message "PHP 5.2.8 installed" at checking environment. And that's all the script does...

213.49.146.211 23:01, 8 February 2009 (UTC)

Upgrading mw by applying patch

Hi. I'm trying to update my mediawiki installation from 1.13.3 to 1.13.4. I had downloaded mediawiki-1.13.4.patch.gz. But how can I apply many patches from this archive to my MediaWiki directory tree at one command? I think "patch" utility would be useful but I don't know how to do it fast and easy. Unfortunately any instructions for this are absent at Manual:Upgrading. Thanks. 84.204.216.36 08:30, 11 February 2009 (UTC)

Migrate from TWiki to Mediawiki

We have a Twiki portal in office with many webs in it. We would like > to move the WEB specific to my project in to a separate mediawiki server at a different location.

Look at the Twiki page. —Emufarmers(T|C) 21:18, 12 February 2009 (UTC)

Editing Meta Keywords

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.5 (apache)
  • MySQL version: 5.0.45-log
  • URL:

My Wiki has some keywords in the meta tag. I don't remember where I set these. My wiki has expanded so I would like to edit these. Where do I find them?


Kristofer2 17:50, 12 February 2009 (UTC)

install problem

  • MediaWiki version: 1.13.1
  • PHP version: 5.2.6
  • MySQL version:
  • URL:

it doesnt install all the way.

   * PHP 5.2.6 installed
   * Found database drivers for: MySQL
   * PHP server API is cgi; using ugly URLs (index.php5?title=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'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 ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
   * Found GD graphics library built-in.
   * Installation directory: /home/bernie/public_html/wiki
   * Script URI path: /wiki
   * Installing MediaWiki with php5 file extensions
   * Environment checked. You can install MediaWiki.
   *
     Generating configuration file...
   * Database type: MySQL
   * Loading class: DatabaseMysql
   * Attempting to connect to database server as bernie_auswiki...success.
   * Connected to 4.1.22-standard; enabling MySQL 4.1/5.0 charset mode
   * Database bernie_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 "Table 'user' already exists (localhost)". 

maybe i need to get the mysql to setup the tables manually ? where do i get it?


153.107.103.155 04:40, 16 February 2009 (UTC)

Skin changes will not be displayed in my browser.

I've changed the backround-image and the wiki.png-image, but I can not see changes of the page. It still looks the same as before the changes (see Image File: http://fondsresearch.fo.funpic.de/mediawiki-1.11.2/index.php/Bild:MainPage.jpg). I've deleted all temporary files in the IE Explorer (Version 7), but nothing happens. But if I watch the site with another computer, I have no problems. I can see the new Version with the new background.

  • What can I do to see the actual background in my browser? I suppose, there must be a problem in my LocalSettings.php.

--Fonds 12:36, 18 February 2009 (UTC)

Blank screen when pressing "submit article"

  • MediaWiki version: 1.13.4
  • PHP version: 5.2.6-0.dotdeb.1 (cgi-fcgi)
  • MySQL version: 5.0.67-0.dotdeb.1-log
  • URL: http://www.korczak-clan.de

Dear All,

I updated my MediaWiki from version 1.6 (backward compatible) to an empty version 1.13.4 (unicode utf-8). Trying to copy/paste articles from the old version to new articles in teh new version I mostoften get a blank/white screen when submitting the article. Returing to main page the new article was neither submittet nor visible in special:allpages.

Some articles pass copy/paste/submitting and are stored as usual (even long articles containing special characters from slavic languages).


195.127.188.198 09:08, 19 February 2009 (UTC)

After Installatin the Editor Icons do not show up

   * MediaWiki version:1.13.3 
   * PHP version: 5.1.6
   * MySQL version:5.0.22 
   * URL: http://www.elthvcc.org/gswiki

I do not see the icons (images) (for Bold, Italic, etc.) in the editor. Also, I cannot see the icons in the Help page (Image:Geographylogo.png, Image:PD-icon.svg)

Please help.

Thank you.

Abe



Hi there,

pls. check in "gswiki/skins/common/images/" if the icons are available. If not download mediawiki, unzip and copy to the before location.

--195.127.188.198 11:37, 20 February 2009 (UTC)

Installing MediaWiki in a "live" website

  • MediaWiki version: 1.14.0
  • PHP version: PHP5.0
  • MySQL version:
  • URL: zamboanga.com

I have downloaded the 1.14.0 version of mediawiki. My host server has Apache, PHP, and MySQL and have confirmed that they run on linux and will support mediawiki as long as I do all the configuring.

I am somewhat familiar with the above items but am unsure as to the behavior of mediawiki when uploaded and unzipped in my host server.

Will mediawiki delete my current home index file in the root directory when uploaded? I checked your FAQ but this question was not addressed. Does mediawiki immediately create an homepage index file in the root directory? —Maletsky 03:29, 24 February 2009 (UTC)

MediaWiki will unpack into a new directory; it will not overwrite your existing files. —Emufarmers(T|C) 11:15, 25 February 2009 (UTC)

Can't find suitable mysql db driver during mediawiki 1.13.14 install

  • MediaWiki version: 1.13.4
  • PHP version: 5.1.6 (cli)
  • MySQL version:14.14 Distrib 5.1.31
  • URL: localhost

After successfully installing on my XP workstation, I tried to install on my Linux box (RedHat ES 5.2). Apache, PHP and MySQL all installed without error. I downloaded wikipedia and successfully brought up setup form in browser. When I ran setup, I got the following error.

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

PHP installed with the RedHat ES operating system and I am unable to find mysql.so for ES 5.2. Any assistance will be greatly appreciated.


Johncarlton 16:27, 26 February 2009 (UTC)

Installing a second wiki

  • MediaWiki version: 1.11.0
  • PHP version: 5.2.4
  • MySQL version: 5.0.45
  • URL:

I want to create another wiki alongside our current wiki but can not find a documentation on how to do that. Can you please provide a link or advice.

thanks

bobj

It's OK I finally found the page on the MediaWiki site Wiki_family

203.10.55.11 04:33, 27 February 2009 (UTC)

Problem When I Click the "set up the wiki".

  • MediaWiki version: 1.14.0
  • PHP version: Free host - cannot find version number
  • MySQL version: Free host - cannot find version number
  • URL: blizzcraft.l4rge.com/wiki

This is probabaly a proplem with the host and not your program, but I cannot figure out what to do. Whenever I click the "set up the wiki" button, I get this error:


Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) is not within the allowed path(s): (/firewall:/tmp:.) in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Warning: require_once(/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc) [function.require-once]: failed to open stream: Operation not permitted in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Fatal error: require_once() [function.require]: Failed opening required '/home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/install-utils.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/firewall') in /home/l4rge/public_html/l4rge.com/b/l/i/blizzcraft/wiki/config/index.php on line 39

Thanks.

99.236.138.72 02:32, 28 February 2009 (UTC)

It's a problem with your host, yes. Unless you can get them to uncripple PHP, you will not be able to run MediaWiki. —Emufarmers(T|C) 17:14, 28 February 2009 (UTC)

Linux

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

Just to double-check, if I use w:GoDaddy to host my wiki, will MediaWIki work? The "GoDaddy Hosting Connection" preview says that it is Linux-only. So, GoDaddy needs to be Linux, not me, right? Thanks, Genius101 22:42, 2 March 2009 (UTC)

installation on red hat enterprise

  • MediaWiki version:
  • PHP version:
  • MySQL version:
  • URL:

In your site, in the part of installation, I've found a link for red hat enterprise, after I've selected red hat enterpise link, I've read about red hat 7.3, 9.0 and fedora, is there some information about red hat enterprise intallation or this release is not supported for mediawiki?

Thanks in advanced


88.61.38.67 14:37, 3 March 2009 (UTC)

Installation of MediaWiki on Mac OS X 10.5 using MAMP

This is not a question, but a solution on installation help Manual:Running MediaWiki on Mac OS X


MAC OS X 10.5.6:

I downloaded MediaWiki 1.14.0 and MAMP 1.7.2. Installation steps are following:


1. drag and drop MAMP to the application folder (no subfolder)

2. switch on Websharing in system settings

3. Follow the information in "Web-based setup" of ttp://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X with following differences

a) rename "mediawiki-1.14.0" to "mediawiki"

b) put the folder into subfolder "htdocs" in "MAMP"

c) start MAMP

d) "start homepage", choose "phpMyAdmin", create new database with the name you use later and create new user with the name you use later and grant all rights

e) change in preferences in window "URL of homepage" "/MAMP" to "/mediawiki"

f) open with "start homepage"

4. proceed with "Web-based setup"


The text of buttons may vary as I used the German version and translated the button texts.

Hope this text helps. And I hope it finds it way as I am a complete newb to wiki-administration but I shall organise one for our workgroup.

137.248.161.200 16:08, 3 March 2009 (UTC)

language.php error notices during installation


hi, trying to install mediawiki, but i keep getting a list of language.php notices that prevents the install from finishing. I've attached what I'm getting below:


MediaWiki 1.14.0 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.6 installed
   * Found database drivers for: MySQL PostgreSQL
   * 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'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: /nfs/user/s/saap/Sites/saap.unm.edu/wiki
   * Script URI path: /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 saap...success.
   * Connected to mysql 5.0.45-log
   * Database saap_wiki exists
   * Creating tables... done.
   * Initializing statistics...
     Notice: Undefined index: namespaceNames in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2425
     Warning: Invalid argument supplied for foreach() in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2428
     Notice: Undefined index: mathNames in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: bookstoreList in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: magicWords in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: messages in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: rtl in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: digitTransformTable in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: separatorTransformTable in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: fallback8bitEncoding in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: linkPrefixExtension in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: defaultUserOptionOverrides in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: linkTrail in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: namespaceAliases in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: dateFormats in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: datePreferences in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: datePreferenceMigrationMap in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: defaultDateFormat in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: extraUserToggles in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined index: imageFiles in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2528
     Notice: Undefined offset: 5 in /nfs/user/s/saap/Sites/saap.unm.edu/wiki/languages/Language.php on line 2551


68.35.75.95 17:53, 3 March 2009 (UTC)

Configuration/Installation Error

I tried installing the MediaWiki on my server, but I receive the following error messages:

Warning: main(convertLinks.inc) [function.main]: failed to open stream: No such file or directory in /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/updaters.inc on line 9

Fatal error: main() [function.require]: Failed opening required 'convertLinks.inc' (include_path='.:/homepages/2/d276811108/htdocs/auggiewrestlingwiki:/homepages/2/d276811108/htdocs/auggiewrestlingwiki/includes:/homepages/2/d276811108/htdocs/auggiewrestlingwiki/languages') in /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/updaters.inc on line 9

Calebrw 04:14, 4 March 2009 (UTC)

Does the file /homepages/2/d276811108/htdocs/auggiewrestlingwiki/maintenance/convertLinks.inc exist? —Emufarmers(T|C) 00:46, 6 March 2009 (UTC)
No it does not. The file you referred to is not in the package I downloaded. Calebrw 00:11, 10 March 2009 (UTC)
Get the package again, then. —Emufarmers(T|C) 01:00, 10 March 2009 (UTC)

Apache port is not 80

Hi, guys. My Apache is running on another port, e.g. 81. So I can reach my wiki through http://ip.ad.dr.ess:81/wiki. But I want access it by domain name. Let it be www.mywiki.ru. Again, when I try http://www.mywiki.ru:81 everything works just fine. But how can I instruct DNS-server to hide port number? There is a "web-hop" on everydns.net for example, which forwards www.mywiki.ru directly to http://ip.ad.dr.ess:81/wiki but there is full ip with port number in address and all links. When I change wgserver nothing happens (url and port number are in address and in wiki-links). What can I do to mask my port number? Thanks.

This is unrelated to MediaWiki; you can ask EveryDNS, but what you're asking for is probably impossible. —Emufarmers(T|C) 01:02, 6 March 2009 (UTC)

After moving the LocalSettings.php file, hitting the url http://localhost/mediawiki-1.14.0/index.php I get "Please setup the wiki first" message again

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.6
  • MySQL version: 5.0
  • URL:

Running Solaris 10, latest recommended patches, using webstack (formerly coolstack from sun). I untarr'ed the mediawiki-1.14.0 tarball under my parent directory of /var/opt/webstack/apache2/2.2/htdocs/. It created the mediawiki-1.14.0 directory under there. chmod'ed the config directory, went to the url http://localhost/mediawiki-1.14.0, it had NO errors, I moved the config/LocalSettings.php file to /var/opt/webstack/apache2/2.2/htdocs/ and hit the above url again, it repeats the message "Please Setup The Wiki First.". I just did that...no errors in my errors_log for apache either. it's like it's going in a circle and I have no idea how to get past it. I would like to get this running soon. Thanks!

Rmarquez 23:35, 5 March 2009 (UTC)

If MediaWiki is in /var/opt/webstack/apache2/2.2/htdocs/mediawiki-1.14.0, then that's where LocalSettings.php should go. —Emufarmers(T|C) 01:04, 6 March 2009 (UTC)

LDAP Authetication Problems

  • MediaWiki version: 1.12.0
  • PHP version: 5.1.6
  • MySQL version: 5.0.22
  • URL: Intranet only

For some WIKIs that are running in our Intranet, I need to authenticate our users using LDAP and the following two WIKI groups: Readers (testgroup) and Writers (testgroup2). Anonymous should not be able to read the WIKI pages.

my problem is, that using the syntax:


$wgLDAPRequiredGroups = array(

"testLDAPdomain"=>array(

   "cn=testgroup,ou=groups,dc=LDAP,dc=example,dc=com",
   "cn=testgroup2,ou=groups,dc=LDAP,dc=example,dc=com"
   ),

I cannot define different rights for users in the testgroup than the users in the testgroup2 have. This mean, if a user is in one of each two groups, he will always get the Writers access.

Can you please explain how I can define two groups, with different rights (Readers & Writers)?



80.254.163.214 15:38, 7 March 2009 (UTC)

Fatal error: Class 'ArrayIterator' not found in....


Fatal error: Class 'ArrayIterator' not found in /home/u4/moonman/html/solitude/includes/StringUtils.php on line 179


96.249.206.61 18:37, 8 March 2009 (UTC)

ArrayIterator is part of the Standard PHP Library, so you need to have PHP compiled without --disable-spl. iAlex 22:27, 20 March 2009 (UTC)

Using existing database

  • MediaWiki version: 1.14.0
  • PHP version: PHP 5.2.9-1
  • MySQL version:

Is it possible to use an existing database on MediaWiki? I have another application that uses a MySQL database and I'd like to know if I can use the users that are already in it in the wiki.



Vinibravo 01:48, 11 March 2009 (UTC) Vinicios Bravo

We are installing and configuring a new wiki installation (after transfering a former database that we used on a different server. We have not gotten this error before. There are four lines of "Documentation" with the following statement following each:

!-- Add categories and interwikis to the /doc subpage, not here! -- /noinclude (portal title here) span style=font-weight:bold;nbsp;·/span noinclude


Any suggestion on how to fix this?


Drmissio 23:29, 16 March 2009 (UTC)Drmissio

The installation script claims that I have an old version of PostgreSQL

  • MediaWiki version: 1.14.0
  • PHP version: 5.2.9-1
  • PostgreSQL version: 8.2.13 and 8.3.7 (same problem with both)
  • HTTP server: Apache 2.2.11
  • OS: Windows XP Home Edition SP2, Swedish

The installation script aborts every time with this error message:

Checking the version of Postgres...FAILED. Required version is 8.1. You have 7.3 or earlier

I was using version 8.3.7 of PostgreSQL the first time I tried. I had no problems with version 8.2.5 on my laptop, so I decided to downgrade, but I didn't find 8.2.5 at postgresql.net, so I downgraded to 8.2.13. And of course I got the same error message. A Google search for "checking the version of postgres" (with the quotation marks) shows that several people have run into the same problem on Linux systems. Is there a bug in the installation script?

83.250.175.16 12:49, 4 April 2009 (UTC)

I said that I had no problems on my laptop, but I should also have mentioned that I ran MediaWiki 1.9.3 on that (with PHP 5.2.5 and PostgreSQL 8.2.5).

--83.250.175.16 13:15, 4 April 2009 (UTC)

I tried MediaWiki 1.13.5 instead, and got a few steps further.

  • Checking tsearch2 permissions...OK
  • Verifying tsearch2 locale with English_United States.1252...not found
  • Attempting to set default tsearch2 locale to "English_United States.1252"...

Warning: pg_query() [function.pg-query]: Query failed: ERROR: permission denied for relation pg_ts_cfg in C:\Program\Apache Software Foundation\Apache2.2\htdocs\wiki\includes\db\DatabasePostgres.php on line 576 FAILED. Please make sure that the locale in pg_ts_cfg for "default" is set to "English_United States.1252"

--83.250.175.16 17:09, 5 April 2009 (UTC)

I gave up eventually and used MySQL instead. I didn't have any significant problems after that.

--83.250.175.16 23:25, 11 April 2009 (UTC)

I also had the problem while installing MediaWiki 1.14.0 that the script failed with

Checking the version of Postgres...FAILED. Required version is 8.1. You have 7.3 or earlier

I could solve the problem by editing /etc/postgresql/8.3/main/pg_hba.conf, changing

code all all ident sameuser

to

code all all md5

and then manually creating the DB user and the DB table.

--41.145.90.167 00:09, 19 April 2009 (UTC)

And under Windows ?


i have the same problem((( what to do??? it doesnt work under windows(((

Under Window$ you can follow the solution posted here. It worked 100% for me!!

Login error CIWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

  • MediaWiki version: 1.14
  • PHP version: 5.2.1
  • MySQL version: 5.0
  • URL: Private Network, it is not externally accesible.

Hi,

I just installed the latest version of Media Wiki from your website, as I thought I had a problem with the older version.

The older version would allow access to the wiki pages using hostname & IP while using Firefox. If i wanted to use IE, I would need to use only the IP address of the Wiki.

Now with the latest version of the Wiki, I have the same problem again! i.e. when I try to login using Hostname while using IE, I get the same error again:

Login error CIWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

Even though cookies are enabled and this has been tested from various different machines.

I am running it on Server 2003 R2, all updates, with the above versions of software.

On Google I have come across a few people with the same issue, but there were no solutions provided.

Please can some one shed any light on this?

many thanks. impee.

82.44.93.236 08:40, 9 April 2009 (UTC)

GNU diff3 not found (Debian Etch)

  • MediaWiki version: 1.14.0
  • PHP version: PHP 5.2.0-8+etch13
  • MySQL version: 5.0.32 (Ver 14.12, GNU Linux)
  • URL: intranet

The MediaWiki 1.14.0 Installation installation page returns the following errors on a GNU Linux system (Debian Etch) running Plesk 8.6. The wiki is located in an accessible subdomain: http://wiki.domain

  • Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/lib/php5) is not within the allowed path(s): (/var/www/vhosts/domain/subdomains/wiki/httpdocs:/tmp) in /var/www/vhosts/domain/subdomains/wiki/httpdocs/config/index.php on line 441
  • Warning: Your session.save_path value (/var/lib/php5) appears to be invalid or is not writable. PHP needs to be able to save data to this location for correct session operation.
  • GNU diff3 not found.
  • Script URI path: empty

If I run diff3 in a terminal (/usr/bin/diff3 --version) the correct information is returned:

diff3 (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Written by Randy Smith.

What's the problem with the "open_basedir restriction" and why MediaWiki couldn't find the diff3 command? Thanks in advance.

RIMOLA 15:15, 10 April 2009 (UTC)

Newly installed mediawiki missing standard appearance/skin. How do I get these to work?

I have installed mediawiki before, on ubuntu, without this problem.

I am new to my godaddy virtual private server running RedHat Fedora core.

See http://lettvin.net/wiki/index.php/Godaddy for installation details.

As you will see, mediawiki seems to have lost its skin and organization.

What needs to be done to restore a skin and page organization?


24.60.117.38 22:47, 15 April 2009 (UTC)

install failed to create table but connect success

  • MediaWiki version: 1.6.12
  • PHP version: 4.3.9
  • MySQL version: Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (x86_64) using readline 4.3
  • URL: intranet

Since my company already use Apache/2.0.52 set up a webserver. So what i only need to do is to build my own mysql and install mediawiki. Mysql is running now, but when i install mediawiki, run index.php, fill in everything need, then only following info displayed. Since mediawiki can connect to mysql, why it cannot create table? Does any specialist no the reason? Thanks!


     Generating configuration file...
   * Database type: mysql
   * Attempting to connect to database server as hspice...success.
   * Connected to 4.1.20
   * Database mysql exists
   * Creating tables... using MySQL 4 table defs...Query "CREATE TABLE `user` ( user_id int(5) 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 default , user_newpassword tinyblob NOT NULL default , user_email tinytext NOT NULL default , user_options blob NOT NULL default , user_touched char(14) binary NOT NULL default , user_token char(32) binary NOT NULL default , user_email_authenticated CHAR(14) BINARY, user_email_token CHAR(32) BINARY, user_email_token_expires CHAR(14) BINARY, user_registration CHAR(14) BINARY, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "Access denied for user 'hspice'@'%' to database 'mysql' (10.130.25.194:3306)".  


61.170.194.191 02:44, 19 April 2009 (UTC)

Your database user to have the CREATE privilege for your database. If you don't want to give that privilege to the "hspice" user, you can use the superuser to handle the wiki installation (the installer has separate fields for you to enter the superuser credentials if you want to do this). —Emufarmers(T|C) 04:52, 19 April 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|C) 10:17, 16 May 2009 (UTC)

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

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. Happymelon 21:26, 19 May 2009 (UTC)

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. Happymelon 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 Happymelon 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

  1. This is not a place to request help with MediaWiki. “For help with the MediaWiki software see communication.”
  2. 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 Happymelon 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. Happymelon 17:29, 16 April 2009 (UTC)

Where is the License information for MediaWiki?

Moved from Project:Forum Happymelon 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. iAlex 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. iAlex 19:43, 22 April 2009 (UTC)

Installation problem

Moved from Project:Forum Happymelon 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. Happymelon 16:26, 1 May 2009 (UTC)

Installation Username

Moved from Project:Forum Happymelon 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)

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)

Installation Error

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)

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)?? Happymelon 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. Happymelon 18:26, 31 May 2009 (UTC)
 the other MediaWiki files. It will be used as a base to locate files.
if( defined( 'MW_INSTALL_PATH' ) ) {
	$IP = MW_INSTALL_PATH;
} else {
	$IP = dirname( __FILE__ );
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

require_once( "$IP/includes/DefaultSettings.php" );

# If PHP's memory limit is very low, some operations may fail.
# ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) {
	if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
		die( "This script must be run from the command line\n" );
	}
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename         = "Harper Family";

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath       = "/Wikitest/Wiki";
$wgScriptExtension  = ".php";

## UPO means: this is also a user preference option

$wgEnableEmail      = true;
$wgEnableUserEmail  = true; # UPO

$wgEmergencyContact = "*";
$wgPasswordSender = "*";

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

## Database settings
$wgDBtype           = "mysql";
$wgDBserver         = "p50mysql113.secureserver.net";
$wgDBname           = "******";
$wgDBuser           = "******";
$wgDBpassword       = "******";

# MySQL specific settings
$wgDBprefix         = "TEST";

# MySQL table options to use during installation or update
$wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=binary";

# Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = true;

## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads       = false;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";

## If you use ImageMagick (or any other shell command) on a
## Linux server, this will need to be set to the name of an
## available UTF-8 locale
$wgShellLocale = "en_US.utf8";

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
# $wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX           = false;

$wgLocalInterwiki   = strtolower( $wgSitename );

$wgLanguageCode = "en";

$wgSecretKey = "6c185c2d13a41a73fef1b488be8628373ac712a427ced17b05a41e4733da0bc0";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'monobook';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

$wgDiff3 = "/usr/bin/diff3";

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );

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

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

<souce lang=php> <?php

  1. the other MediaWiki files. It will be used as a base to locate files.

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }

$path = array( $IP, "$IP/includes", "$IP/languages" ); ... </source> Happymelon 11:59, 3 June 2009 (UTC)


This was a copy and paste error. The start of the file looks like this:

<?php

# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings

# If you customize your file layout, set $IP to the directory that contains
# the other MediaWiki files. It will be used as a base to locate files.
if( defined( 'MW_INSTALL_PATH' ) ) {
	$IP = MW_INSTALL_PATH;
} else {
	$IP = dirname( __FILE__ );
}

--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... Happymelon 15:15, 5 June 2009 (UTC)
Start debugging. —Emufarmers(T|C) 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). Happymelon 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|C) 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|C) 04:25, 16 June 2009 (UTC)

Create an account: how to get the "By email" button ?

  • MediaWiki 1.16alpha
  • PHP 5.2.8 (apache2handler)
  • MySQL 5.1.30-community

Hello. I do not have the "By email" button in the create account form.

In LocalSettings.php the email config looks like:

$wgEnableEmail      = true;
$wgEnableUserEmail  = true; # UPO

$wgEmergencyContact = "admin@localhost";
$wgPasswordSender = "admin@localhost";

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

almaghi 12:32, 16 June 2009 (UTC)

I think this feature might have been replaced by the ConfirmAccount extension. I can't remember off the top of my head. If you think it's a bug, you should report it at bugzilla. Happymelon 12:31, 17 June 2009 (UTC)
Sorry it was my mistake because the feature is there, I was probably not registered at that moment. --almaghi 12:57, 17 June 2009 (UTC)

Issues printing my wiki articles

Mediawiki, PHP, and MySQL are all latest.

When I try to print my wiki articles, the images are too big and are cut off. Is there an option somewhere to resize images when the "print this page" option is invoked? --165.86.81.20 03:43, 1 July 2009 (UTC)

Restore wiki

  • MediaWiki version: i don't know (but can check it if you tell me how)
  • PHP version: 
  • MySQL version: 
  • URL: www.abnaale.org/wiki

My wiki was hacked (at least index page). Is there a way to restore it, if all the DB is ok.

192.118.32.80 10:50, 6 July 2009 (UTC)

If the database is ok, just repair the php files (probably safest to overwrite them all with fresh versions from a release or SVN), change the database password for safety, and continue as normal. Happymelon 14:27, 6 July 2009 (UTC)

Help with wiki error Msollicito

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

I have installed mediawiki on my brinkster.com hosted account, but every time I try to edit a page or protect a page I get the following error.. Fatal error: Call to a member function getNamespace() on a non-object in C:\Sites\Single43\msollicito\webroot\wiki\includes\UserMailer.php on line 321 Any idea what setting I need to change? I tried unsetting all email options and that doesnt seem to have had any effect Mediawiki version 1.9.3 PHP version - 5.2.9-2 mySQL version 5.0.51a URL http://www.ebarster.com/wiki To edit, you have to login as me - msollicito Mish3582 —74.232.176.52 17:32, 6 July 2009 (UTC)

Please fill in the MediaWiki/PHP/MySQL versions, so we know what software you're actually working with. I hope that's not your username and password there: letting anyone post things to a public site from an account that's nominally 'you' is a Bad Idea. Happymelon 17:37, 6 July 2009 (UTC)

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: m: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: [2])

Installation successful but LocalSettings.php is not created

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)

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)

(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)

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 /languages/ 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 classes/Language*.php and messages/Messages*.php)? —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

WAMP, MediaWikie, Email

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.

[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). iAlex 07:19, 11 August 2009 (UTC)

Please Associate

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: 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)

Problems with config

I'm having trouble getting the config done for my wiki. I've got yahoo webhosting and I've uploaded the directory to my site, although 6 .htaccess and 2 .svnignore files would not transfer. Anyway, I get to the config page and fill in all details, but when I press submit it loads for a minute then opens a open/save as box for a index.php file, although the file is empty. The LocalSettings.ph file is never created and I'm clueless as to hwo to sortt the problem out as I'm completely new to php/wiki software.

Help please!

Many thanks Mark —81.156.202.84 22:02, 14 August 2009 (UTC)

Problem with uploading images

I have problem with uploading images to my Wiki. Apears follow message:arning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 570 is not allowed to access public_html/en/images/archive owned by uid 99 in public_html/en/includes/GlobalFunctions.php on line 1943

Could not create directory "public/archive/d/db".  

Please help.--Anna-M 12:08, 28 August 2009 (UTC)


huge size of core files after install mediawiki


I have installed mediawiki and after installation I'm getting so many core files with huge size !! it's filling my account, what are those files and how stop them?

regards,


Faisal.kuwaitnet 21:09, 22 August 2009 (UTC)

Inconsitencies between Uniform_Server_5.0 and installation Instructions.

There are numerous inconsistencies between the Installation guide and Uniform Server. I listed these in the discussion page: Manual talk:Installation on Uniform Server (Windows)#Uniform Server 5.0-Nano Beta3 Summarizing them:

  • no mySQL configuration file, my-small.cnf
  • no uniform server script, Server_Start.bat
  • I was unclear what was intended by "Doubleclick the "Start Wiki Servers" shortcut icon"
  • Configuring the Wiki Variables: I was able to do this, with a password.

24.15.85.34 03:39, 12 September 2009 (UTC)

illegal?

Just a quick heads up.. Not sure where this should be reported, but it seems this site [3] is using the Wikipedia in a way to imply the Poser site is working with Wikipedia. I'm sure this is just a minor hobby site, but it seems like something Wikimedia wouldn't be happy about, so maybe something should be done to let that user know? Cheers, Nesnad 11:25, 13 September 2009 (UTC)

MediaWiki Installation Problems - MySQL related.

Creating tables... using MySQL 3/4 table defs...Query "CREATE TABLE wk_user ( user_id int(5) 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 default , user_newpassword tinyblob NOT NULL default , user_email tinytext NOT NULL default , user_options blob NOT NULL default , user_touched char(14) binary NOT NULL default , user_token char(32) binary NOT NULL default , user_email_authenticated CHAR(14) BINARY, user_email_token CHAR(32) BINARY, user_email_token_expires CHAR(14) BINARY, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB" failed with error code "BLOB/TEXT column 'user_password' can't have a default value".

How can I fix this error? I got it when I was installing MediaWiki.

Thanks for any help you can give!

--George Miller - george@dufflman.co.uk

81.142.171.225 15:28, 13 September 2009 (UTC)

Do not use version 1.5.8. —Emufarmers(T|C) 18:38, 13 September 2009 (UTC)
A more useful suggestion might be to follow this link to Errors and Symptoms. Jan1nad 10:40, 24 September 2009 (UTC)

Localsettings changes ownership during installation

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.6
  • MySQL version: 5.0.81-community
  • URL: guerillascience.com

I have a new, interesting problem which I haven't encountered before. Following installation of MediaWiki, everything works fine, however, I am unable to change the file permissions on only the Localsettings.php file. Filezilla shows that all files have an owner/group of 1290 1290 (whatever that means), except Localsettings, which is 99 99. If I download localsettings, delete the old one, then re-upload, the owner/group revert to 1290 1290. Fantastic, I can change the file permissions, however, when I change to 700, I get the following ERROR MESSAGE:

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

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

Any idea how to fix this problem or prevent it during installation, as I have never encountered it before.

89.173.14.88 14:18, 25 September 2009 (UTC)Scott

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:
  • Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in *C:\xampp\xampp\htdocs\mediawiki\includes\Namespace.php on line 46

Upgrading from wiki 1.11 to wiki 1.15.1

Wiki Version: 1.15.1 PhP: 5.2.8 MySQL: 5.1.3

I'm getting this error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

   (SQL query hidden)

from within function "IndexPager::reallyDoQuery (LogPager)". MySQL returned error "1146: Table 'mediawiki.tag_summary' doesn't exist (localhost)".

I know the reason for this error is because i don't have the tag_summary table, I know to create it, i need to run the update script:

php update.php --aconf ../AdminSettings.php


Here is my problem. I don't see an AdminSettings.php and I don't see an update.php file. I did not have these file in my Wiki 1.11 version either. Is there another way of doing this with needing those two files? Please help!!!

See Manual:AdminSettings.php on how to create this file. update.php is in your maintenance directory. -- Bryan (talk|commons) 15:08, 20 October 2009 (UTC)

EasyTimeline (Version r46305) Problem

  • MediaWiki version: 1.15.1
  • PHP version:  5.2.3 (apache)
  • MySQL version: 4.1.22-standard-log
  • URL: www.musikvereinigung.dk

everything is described as in Extension:EasyTimeline/installation but i don't find the problem:


Timeline error: Executable not found. Command line was: '/usr/bin/perl' '/hsphere/local/home/pvdost/musikvereinigung.dk/extensions/timeline/EasyTimeline.pl' -i '/hsphere/local/home/pvdost/musikvereinigung.dk/images/timeline/eacc1267e4c4c144a9db7aa3696cee0c' -m -P '/pl' -T '/hsphere/local/home/pvdost/musikvereinigung.dk/images/tmp' -A '/index.php/$1'


thank you for help finding an solution, gerhard

mail: loeffler at email.dk —77.213.45.5 12:17, 14 October 2009 (UTC)

Indexable (Browsable) directories?

  • MediaWiki version: 1:1.13.3ubuntu2
  • PHP version: 5.2.6
  • MySQL version: 5.1.3
  • Server: Apache on Ubuntu Linux

Should the following directories and their contents be indexed (browsable) through a web browser: mediawiki/includes, mediawiki/languages, mediawiki/maintenances, mediawiki/skins after setting up? I am able, for instance, to see all the php files in maintenance, along with some other various files and folders through Firefox. The following folders are not browsable through a browser (permission denied): mediawiki/extensions, mediawiki/images. Is this correct? —Gasman007007 05:53, 24 October 2009 (UTC)

None of them needs to be browsable, though files in skins and images need to be readable by web server. Max Semenik 16:55, 26 October 2009 (UTC)

There is no administrator

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8
  • MySQL version: 5.0.81-community
  • URL: www.choasgaming.com/wiki/

I have no administrator. When i installed the script it all installed fine, but it did not create a administrator. I registered a new account and it is account number 1. How can i set this user as admin.


70.193.185.93 04:33, 26 October 2009 (UTC)

createAndPromote.php. Max Semenik 16:50, 26 October 2009 (UTC)

Untitled

  • MediaWiki version: media wiki
  • PHP version:
  • MySQL version:
  • URL:

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.

You can post an advertisement for a MediaWiki consultant at MWusers.com. Dr. Eme
Manual:Preventing access. Max Semenik 08:56, 6 November 2009 (UTC)

Blank Page After Install

  • MediaWiki Version: 1.15.1
  • PHP Version: 5.2.11
  • MySQL Version: 5.1.35

I have tried the quick solution of placing:

$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';

in my LocalSettings.php file and still nothing. The 'LocalSettings.php' is in the parent directory and the /config directory has been deleted. The install went great, no errors, no signs of problems, but still I've got nothing.

Any help would be awesome!


Respectfully,

Bryan

Manual:Errors_and_Symptoms#You_see_a_Blank_Page. Max Semenik 08:49, 6 November 2009 (UTC)

Error message after upgrading

I have upgraded my wiki from an old version (not to old, maybe 1.13 but I didn't note because I never had any issues...) After installing successfully and moving the Localsettings.php, I have the following error:

Fatal error: Call to undefined method StringUtils::explode() in /home/hosted/usersSpace/1331/ftp/sebban.org/wiki/includes/parser/Parser.php on line 669

What can I do?

Thanks

Sam samonthewebecp(at)hotmail.com

Looks like messed up update, reupload the files. Max Semenik 08:51, 6 November 2009 (UTC)
Yesterday, I had the same problem. My solution: Delete all folders (except Images, Skins, Extensions) then upload the new version and run update skript.--Fonds 06:58, 13 January 2010 (UTC)


Updating MediaWiki installed via Synaptic

  • MediaWiki version: 1.13.3
  • PHP version: 5
  • MySQL version: Don't know, sorry
  • URL: Intranet

Hi at all, I've just installed MediaWiki via Synaptic on Ubuntu 9.04 but in there repository there is only the 1.13.3 version. How could I update MediaWiki, in this case? Or is there any repository to be added in my sources.list? —Airon90 17:01, 18 October 2009 (UTC)

If you use a package, you're dependent on that package for upgrades. There's nothing anyone here can do for you, unless you want help switching to a manual setup of MediaWiki. —Emufarmers(T|C) 18:20, 18 October 2009 (UTC)
Ubuntu 9.10 comes with MediaWiki 1.15.1. Max Semenik 08:52, 6 November 2009 (UTC)

Fatal error

  • MediaWiki version: 1.13.3
  • PHP version: 5
  • MySQL version: Don't know, sorry
  • URL: Intranet

Second problem, now that I installed MW it shows me a strange error when I try to save my changes:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 13 bytes) in /usr/share/mediawiki/includes/UserMailer.php on line 141

If I add only one or two character sometimes MW saves that changes. Why? --Airon90 11:10, 19 October 2009 (UTC)

Manual:Errors and Symptoms#Fatal error: Allowed memory size of nnnnnnn bytes exhausted (tried to allocate nnnnnnnn bytes). Max Semenik 08:54, 6 November 2009 (UTC)

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

  • MediaWiki version: 1.16alpha
  • PHP version: 5.2.8
  • MySQL version: 5.0.82-community
  • URL: intranet

Hi, I have installed 5 months ago my wiki. I tried to run a python bot and it gives me

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

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|C) 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

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

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|C) 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, wikipedia:Free content). If you're unsure, seek advice from professional lawyers. Max Semenik 17:45, 23 November 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

Make sure IIS is properly configured in it's console. --Arseny1992 17:58, 2 December 2009 (UTC)

Edit LocalSettings.php with new $IP

Cannot get version info.


Installed MW 1.15 according to 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

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

<?php

# MediaWiki web-based config/installation
# Copyright (C) 2004 Brion Vibber <brion@pobox.com>, 2006 Rob Church <robchur@gmail.com>
# http://www.mediawiki.org/
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html

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)

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)

Fatal error: Class 'MWNamespace' not found

Hello, when I try to install wikimedia I get the following error message:

   * PHP 5.2.10 installed
   * Found database drivers for: MySQL SQLite
   * Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads.
   * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
   * Have XML / Latin1-UTF-8 conversion support.
   * Session save path (/customers/lumumba.be/lumumba.be/tmp) appears to be valid.
   * PHP's memory_limit is 24M.
   * 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: /customers/lumumba.be/lumumba.be/httpd.www/mediawiki
   * Script URI path: /mediawiki
   * 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 lumumba_be...success.
   * Connected to mysql 5.0.32-Debian_7etch11-log; enabling MySQL 4.1/5.0 charset mode
   * Database lumumba_be exists
   * There are already MediaWiki tables in this database. Checking if updates are needed...

...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards ...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... ...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... ...have ss_active_users field in site_stats table. ...ss_active_users user count set... ...have ipb_allow_usertalk field in ipblocks table. ...pl_namespace, tl_namespace, il_to indices are already UNIQUE. ...change_tag table already exists. ...tag_summary table already exists. ...valid_tag table already exists. Deleting old default messages (this may take a long time!)...

Fatal error: Class 'MWNamespace' not found in /customers/lumumba.be/lumumba.be/httpd.www/mediawiki/languages/Language.php on line 304


94.108.230.222 17:52, 6 December 2009 (UTC)

2 errors: No generating configuration file and no create first user

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8
  • MySQL version: 5.0.67
  • URL: www.nosgothclan.de/wiki

error 1: the config folder attrib: 777 - but no generating configuration file

error 2: Creating tables...Query "CREATE UNIQUE INDEX user_name ON `wiki_user` (user_name) " failed with error code "INDEX command denied to user 'web1039'@'localhost' for table 'wiki_user' (localhost)".

What must I do now?


The full install-message:

  • PHP 5.2.8 installed
  • Found database drivers for: MySQL PostgreSQL SQLite
  • 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.
  • Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads.
  • PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • Session save path (/var/www/html/web1039/phptmp) 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: /var/www/html/web1039/html/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 web1039...success.
  • Connected to mysql 5.0.67; enabling MySQL 4.1/5.0 charset mode
  • Database usr_web1039_2 exists
  • Creating tables...Query "CREATE UNIQUE INDEX user_name ON `wiki_user` (user_name) " failed with error code "INDEX command denied to user 'web1039'@'localhost' for table 'wiki_user' (localhost)".

93.211.242.239 18:44, 6 December 2009 (UTC)

You need to run the following SQL command:
grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'web1039'@'localhost' identified by 'password';
replace "password" with your actual password. Needs to be run from MySQL root account, probably. Max Semenik 19:38, 6 December 2009 (UTC)

Thanks.
I run from localhost with databasename usr_web1039_2 and actual password.
GRANT INDEX, CREATE, SELECT, INSERT, UPDATE, DELETE, ALTER, LOCK TABLES ON usr_web1039_2.* TO 'web1039'@'localhost' IDENTIFIED BY 'password'
The Message: #1044 - Access denied for user 'web1039'@'localhost' to database 'usr_web1039_2'
The password is okay ...
And now?

Cant edit or create pages after correct installation

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8
  • MySQL version: 5.0.51a-community-log
  • Website: http://www.sondasespaciales.com/wiki/
  • User for testing: Test, password: test2
  • Status: Clean install, no plugins added, config still available...

After creating a page or editing one I can see the preview but if I try to save I get the following message:

  • Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service.

I have tried to install with all possible different settings in mysql and I could not make it work. This server is an inmotion VPS. In my own server at home I did not have this problem. I have searched and googleed a lot but I found nothing of help, very few information. I tried to download again the mediawiki and still the same error... Thanks

84.193.194.151 23:10, 6 December 2009 (UTC)

Hello all, its me again. I traced back a little bit. I activated the debug ($wgDebugLogFile = '/home/username/public_html/wikidir/logfile';) added in the LocalSettings.php. In the include/Users.php line 2810, I changed:

   wfDebug( "User::matchEditToken: broken session data\n" ); 

for

   wfDebug( "User::matchEditToken: broken session data '$val' != '$sessionToken' \n" ); 

The result in the log file was:

   User::matchEditToken: broken session data 'de0e9f7530d7505ff0ab83007be1b666+' != 'de0e9f7530d7505ff0ab83007be1b666+\' 

And that is veeeery surprising. I am about to make a substr to solve the isue... but... any ideas of why this happened??? Is this a bug somehow?

84.193.194.151 00:31, 7 December 2009 (UTC)

Hello again, I did my own fix, it works but I am not sure if this is the most correct way, I added in the file include/users.php line 2809 (after the line $sessionToken = $this->editToken( $salt );) the following code:

   //Start Bultza fix
   if ( substr($sessionToken, -1) == "\\" ){
     $sessionToken = substr($sessionToken, 0, -1);
     wfDebug( "User::matchEditToken: sessionToken corrected to '$sessionToken' from '$sessionToken\\' \n" );
   }
   //End Bultza fix

This fix will not disable or bypass the function but will try to correct the sessionToken.

This check was there for a reason: it prevents page text from mangling by broken proxies during editing. By effectively disabling it you're opening yourself to creepy bugs. I recommend you to investigate why this mangling appears at all, your hosting provider shouldn't be using such crude proxying software. Max Semenik 07:40, 8 December 2009 (UTC)

You have mention your hosting provider shouldn't be using such crude proxying software. I dont fully understand this, do you have any links that would help me to understand that?

I have not disabled the matchEditToken!. I just added a couple of lines to delete the latest '\' in case that it exists. It is not solving the root problem I know. My hosting is inmotion http://www.inmotionhosting.com/ I am surprised they did not have this problem in the past with other users, they have many customers. However each VPS has its own story... I will continue tonight to trace a little bit more in search of the root and put here my finding.

84.193.194.151 09:42, 7 December 2009 (UTC)

Extension:FlashMP3

Hello!

Here is the wiki-version: http://www.keytonature.eu/wiki/Special:Version

My question: Is the Extension:FlashMP3 running on this version without problems? Doc Taxon 15:14, 12 December 2009 (UTC)

Hello there,

i am trying to move my wiki from the directory in the given domain to the subdomain wiki.liberale-hochschulgruppen.de. I performed the following steps:

1. Copying the whole system into the / directory in the subdomain. 2. Adapting the wgscriptpath from "/wiki" to "" in the Local Settings 3. The Database is the same so no need to change something here

When i now try to access the Domain it will just show an empty page with the Link to wiki.liberale-hochschulgruppen.de/index.php/Hauptseite (for the main page). Do I need to change anything else for it to run properly?

Here ar my Local Settings:



<?php

  1. This file was automatically generated by the MediaWiki installer.
  2. If you make manual changes, please keep track in case you need to
  3. recreate them later.
  4. See includes/DefaultSettings.php for all configurable settings
  5. and their default values, but don't forget to make changes in _this_
  6. file, not there.
  1. If you customize your file layout, set $IP to the directory that contains
  2. the other MediaWiki files. It will be used as a base to locate files.

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }

$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) );

require_once( "includes/DefaultSettings.php" );

  1. If PHP's memory limit is very low, some operations may fail.
  2. ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } elseif ( empty( $wgNoOutputBuffer ) ) { ## Compress output if the browser supports it if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); }

$wgSitename = "LHG Wiki";

$wgScriptPath = ""; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php";

    1. For more information on customizing the URLs please see:
    2. m:Eliminating index.php from the url
    3. If using PHP as a CGI module, the ?title= style usually must be used.

$wgArticlePath = "$wgScript/$1";

  1. $wgArticlePath = "$wgScript?title=$1";

$wgStylePath = "$wgScriptPath/skins"; $wgStyleDirectory = "$IP/skins"; $wgLogo = "$wgStylePath/common/images/LHG.jpg";

$wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";

$wgEnableEmail = true; $wgEnableUserEmail = true;

$wgEmergencyContact = "george@bundes-lhg.net"; $wgPasswordSender = "george@bundes-lhg.net";

    1. For a detailed description of the following switches see
    2. http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
    3. There are many more options for fine tuning available see
    4. /includes/DefaultSettings.php
    5. UPO means: this is also a user preference option

$wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;

$wgDBserver = "localhost"; $wgDBname = "lhgwiki"; $wgDBuser = "lhgwiki"; $wgDBpassword = "tfz399"; $wgDBprefix = ""; $wgDBtype = "mysql";

  1. Experimental charset support for MySQL 4.1/5.0.

$wgDBmysql5 = false;

    1. Shared memory settings

$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array();

    1. To enable image uploads, make sure the 'images' directory
    2. is writable, then set this to true:

$wgEnableUploads = false; $wgUseImageResize = true;

  1. $wgUseImageMagick = true;
  2. $wgImageMagickConvertCommand = "/usr/bin/convert";
    1. If you want to use image uploads under safe mode,
    2. create the directories images/archive, images/thumb and
    3. images/temp, and make them all writable. Then uncomment
    4. this, if it's not already uncommented:
  1. $wgHashedUploadDirectory = false;
    1. If you have the appropriate support software installed
    2. you can enable inline LaTeX equations:

$wgUseTeX = false; $wgMathPath = "{$wgUploadPath}/math"; $wgMathDirectory = "{$wgUploadDirectory}/math"; $wgTmpDirectory = "{$wgUploadDirectory}/tmp";

$wgLocalInterwiki = $wgSitename;

$wgLanguageCode = "de";

$wgProxyKey = "3ecbd1dd691647e2cda0a8c212b091b24e6f60970fa2d134ef7083126ee0a7d";

    1. Default skin: you can change the default skin. Use the internal symbolic
    2. names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':

$wgDefaultSkin = 'monobook';

  1. This snippet prevents new registrations from anonymous users
  2. (Sysops can still create user accounts)

$wgGroupPermissions['*']['createaccount'] = false;

    1. For attaching licensing metadata to pages, and displaying an
    2. appropriate copyright notice / icon. GNU Free Documentation
    3. License and Creative Commons licenses are supported so far.
  1. $wgEnableCreativeCommonsRdf = true;

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = "";

  1. $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";

  1. When you make changes to this configuration file, this will make
  2. sure that cached pages are cleared.

$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate );

  1. Pages anonymous (not-logged-in) users may see

$wgWhitelistRead = array( "Hauptseite", "Spezial:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false;

  1. This snippet prevents editing from anonymous users

$wgGroupPermissions['*']['edit'] = false;



Thanks everyone,

Daniel —84.63.122.140 17:00, 13 December 2009 (UTC)

Configuration page Demands SQLite

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.6
  • MySQL version: 5.1.25 64bit
  • URL: Internal Use Only

I want to use mysql but the config/index.php does not allow me to deselect SQLite. The drivers are found for SQLite but no mention of mysql. I am using the coolstack apache2, php5, and mediawiki 1.15.1 on Solaris 10.

How do I install mediawiki and have it use mysql?

I see from config/index.php:

   * PHP 5.2.6 installed
   * Found database drivers for: SQLite
   * 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's memory_limit is 64M.
   * APC installed
   * GNU diff3 not found.
   * Couldn't find GD library or ImageMagick; image thumbnailing disabled.
   * Installation directory: /opt/coolstack/apache2/htdocs/mediawiki-1.15.1
   * Script URI path: /mediawiki-1.15.1
   * Installing MediaWiki with php file extensions
   * Environment checked. You can install MediaWiki.

Thank you in advance. Jeff


198.17.175.151 21:50, 15 December 2009 (UTC)

Problems installing

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.8
  • MySQL version: 5.1.30
  • URL: localhost

I´m installing Media Wiki on my localhost to test it, and I'm getting this message:


   * PHP 5.2.8 installed
     Could not find a suitable database driver!
         o For MySQL, compile PHP using --with-mysql, or install the mysql.so module
         o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module
         o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module
         o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module
         o For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module

I'm checking and MySQL is working fine. What can I do? Thank you

200.24.42.17 13:57, 16 December 2009 (UTC) Alexander Parrales Arango aparrales@e-olia.com

This happens to me as well, but it might be due to a change in the latest version. Use to work fine a few months ago.

Error Installing Media Wiki

I'm getting this error message ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table


Notice: Trying to get property of non-object in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263


Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263


Fatal error: Call to a member function isMultipleKey() on a non-object in /home/eoliaco/public_html/learning/wiki/maintenance/updaters.inc on line 279



200.24.42.17 14:41, 16 December 2009 (UTC) Alexander Parrales Arango

Installing Mediawiki on DB2 on iSeries, v5r4

  • MediaWiki version: 1.16Alpha
  • PHP version: 5.2.6
  • MySQL version: NA
  • URL:

I'm trying to get MediaWiki installed on the iSeries DB2 database and I keep getting a 'Something's not quite right yet; make sure everything below is filled out correctly.' error. I'm not sure what to check and I'm also not sure how this WIKIDB file even gets created. Any help would be greatly appreciated. Thanks and Merry Christmas!


24.111.9.50 21:54, 23 December 2009 (UTC)

Forbidden Error when Trying to Install Media Wiki

  • MediaWiki version: 1.15.1
  • PHP version:
  • MySQL version: 5.0.51a-3ubuntu5.4
  • URL: not live yet.



70.50.18.90 03:10, 27 December 2009 (UTC)

I'm trying to install MediaWiki. I have lighttpd installed and I'm running the mediawiki files under /var/www/mediawiki. Under /var/www/ I have index.html which I'm able to access fine via browser. But when I try to access http://localhost/mediawiki/index.php it gives me 403 - Forbidden error. I've changed the permissions for the entire mediawiki folder with 'chmod 777 mediawiki'.

What am I missing? Thanks for the help!

Template Newbie

99.253.86.157 20:34, 5 January 2010 (UTC)

Database requirements

Can I use SQL 2005/2007 that is being used for Sharepoint on tha same server instead if MySQL? Or is MYSql required for MediaWiki?


67.211.234.98 20:24, 7 January 2010 (UTC)

MSSQL support is currently under development, not ready for practical use. MySQL and Postgres are recommended for 1.15.1. It also supports SQLite and Oracle, but they have some rough angles that will be fixed in 1.16. IBM DB2 is also supported, but I don't know how well it works in practice. Max Semenik 20:41, 7 January 2010 (UTC)

Problems with MediaWiki 1.15.1 and ParserFunctions Extension

Hello, I just installed MediaWiki 1.15.1 on my server ([4]). Then I installed the ParserFunctions Extension following instruction at Extension:ParserFunctions (using the REL1_15_1 branch). Now the problem is that ParserFunctions is not working (the {{#if: ||}} statements are printed and not interpreted) and Special:Version gives me 500 internal server error [5]. What's the problem? What should I do? Thanks very much. --Dom De Felice 12:53, 24 December 2009 (UTC)

See how to debug. Max Semenik 08:10, 14 January 2010 (UTC)

How to get an Infobox OS in a wiki page ???

I don't get working the template Infobox OS on my wiki http://sys-linux.yi.org/wiki/index.php/SYS error: template loop detected

This Infobox OS is on all wiki pages about Linux distros, p.ex on the wiki page of Slackware, Debian etc.

I had an article in the oficial wiki where was such an Infobox , too: w:en:SYS_(operating_system)

The article long time was good, Today however a troll / auto-denominated 'editor' messed up the article completely. I block now wikipedia / redirect it to softpedia in all browsers for the users of that distro, in /etc/host the new 'snapshot' install-DVD and future versions of the distro, and I setted up my own wiki about the distro..

However, I have that problem with the templat Infobox OS what don't work. Perhaps someone can fix this.

W.L.

Manual:FAQ#Templates imported from other wikis (such as Wikipedia) don't work for me. Max Semenik 08:13, 14 January 2010 (UTC)

Config/LocalSettings.php

  • MediaWiki version: MediaWiki 1.15.0
  • PHP version: 
  • MySQL version: PostgresSQL 8.4
  • URL:

I am trying to run MediaWiki 1.15.0, but I keep on receiving the message:

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.

What am I supposed to do now? Please explain this to me in layman terms.


RJSegel 08:48, 10 January 2010 (UTC)

You should do exactly what it says: move LocalSettings.php from config/ to its parent directory (where index.php and api.php reside). Max Semenik 08:57, 10 January 2010 (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

You have files from two different versions, or something has defined function istainted but not taint. – Nikerabbit 17:07, 15 January 2010 (UTC)

Installation instructions for Fedora are out of date

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:

The installation instructions for Mediawiki on Fedora suggest that recent versions of Fedora do not provide an installer for mediawiki-math and they go on to provide alternate instructions. That information is obsolete. FC10 and FC11, at least, provide mediawiki-math. In fact, if you just execute

yum install mediawiki

you will also get mediawiki-math and mediawiki-nomath along with it (they will be "installed for dependencies").


207.224.38.246 16:44, 18 January 2010 (UTC)

Jim

After installation on IIS 7.0 no templates are being loaded

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.4
  • MySQL version: 5.1.41
  • URL: Internal

I've just finished installing Media Wiki on IIS 7.0 (Windows Server 2008) machine and althought everything seems to have configured and executed properly on the installation page, now that I am on the main page I have no templates (it seems no css) loaded only text.

One thing I should point out is that in order to get Media Wiki working on IIS 7.0 I needed to setup .htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wiki/index.php?title=$1 [L,QSA]

otherwise I would get on every page "No input file specified".

How can I get the template/css to load properly?


208.48.154.67 19:19, 22 January 2010 (UTC)

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.10-2ubuntu6.4
  • MySQL version: 14.14 Distrib 5.1.37, for debian-linux-gnu (x86_64)
  • URL:

Only the main page is visible. Logging in as WikiSysop with proper password does no good. All links lead to a plank page.

Is there a fix for this?

Thanks jerrycannon@me.com


216.86.198.114 22:09, 23 January 2010 (UTC)

Can I place a Banner of a Sponsor in all pages of my wiki project (using MediaWiki)?

Hi, I am developing a wiki project (using MediaWiki) for a start-up media company. This wiki project will have information (terms, history of some companies,...) that the editorial team will be collecting during their day-to-day activities. It is not a core activity of this company, its more like a knowledge center that the team will be developing throughout time that will be of great interest for educational purposes (universities, companies,...)

I was thinking about adding a Sponsor' banner (top banner) in all pages of this wiki project. Are there any legal restrictions that forbidden the use of banners in MediaWiki, or is it OK to add a Sponsor Banner?

Many thanks, Pedro


79.146.73.14 11:45, 31 January 2010 (UTC)

  • MediaWiki version: mediawiki-1.15.1
  • PHP version: 
  • MySQL version: 
  • URL:

I have downloaded the Mediawiki software and I also have Microsoft Sql database server in my company .

Whats next? How can I develop this application.

Thanks

Regards d


Librarytest 02:16, 4 February 2010 (UTC)

Superuser account problem: can't install

MediaWiki 1.16alpha-wmf (r59858) PHP 5.2.4-2ubuntu5.7wm1 (apache2handler) MySQL 4.0.40-wikimedia-log URL: can't install yet, so no URL

I am trying to install MediaWiki on my website. My web host supports MySQL and has confirmed everything is set up for me on their server. However, because it is an ISP, I do not have a root account access or password.

On the Mediawiki installation page, I leave the "superuser" account area blank, or have tried entering my ISP's MySQL server name and password, or combinations of the above (blank, partial, complete) and I still get the "something's not quite right" error -- Won't install. I see in red these characters: "<- Enter" on the line next to superuser password. That's the only error message I am seeing.

I can't get past this. I am not a computer geek, and don't understand tech-speak. Will someone explain how I can install MediaWiki in this environment and get past this problem in plain English? THANKS!

Rocky: rocky@rockylopes.com

96.255.200.237 17:04, 8 February 2010 (UTC)

"LocalSettings.php" file never created

  • MediaWiki version: 1.15.1
  • PHP version: 5
  • MySQL version: 4.1
  • URL:

I just followed the instruction to install the wiki. everything worked perfectlly and I got this message at the end of the instalation:

"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."

The problem is that the LocalSettings.php is not on the config dir or anywhere else...

What should I do ?

Thanks.


207.253.38.186 21:46, 12 February 2010 (UTC)DIEGO CAMPOS

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:



109.112.95.254 16:12, 14 February 2010 (UTC)


Hi, I can't find the LocalSettings.php file after completing the installation. what could be happening??? Any help would be really appreciated.


207.253.38.186 15:00, 15 February 2010 (UTC) IHub INC

Fatal Error on line 279

I had the same problem as this gentleman had before. I got the following message:

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

   * PHP 5.2.12 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 90M.
   * 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/danoff/danoff.org/dive
   * Script URI path: /dive
   * 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 danofforg...success.
   * Connected to mysql 5.0.88-userstats-log
   * Database danoff_org exists
   * There are already MediaWiki tables in this database. Checking if updates are needed...
   * Warning: you requested the mysql4 schema, but the existing database has the mysql5-binary schema. This upgrade script can't convert it, so it will remain mysql5-binary.

...ipblocks table does not exist, skipping new field patch ...ipblocks table does not exist, skipping new field patch ...already have interwiki table


Notice: Trying to get property of non-object in /home/danoff/danoff.org/dive/includes/db/Database.php on line 1263


Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/danoff/danoff.org/dive/includes/db/Database.php on line 1263


Fatal error: Call to a member function isMultipleKey() on a non-object in /home/danoff/danoff.org/dive/maintenance/updaters.inc on line 279

please advise, danoff.charles@gmail.com


--Charles Jeffrey Danoff 12:56, 21 February 2010 (UTC)

Problem was resolved by Dreamhost. Turns out I had installed it twice, they changed the prefix to "wiki2_" and it worked. Thanks to anyone who was thinking about helping. --Charles Jeffrey Danoff 00:26, 22 February 2010 (UTC)

Spellcheck and Import Page Bot

Hello, I write to you on behalf of Cathopedia, the Catholic Encyclopedia. The project is new, there's still few people working at it, so we came up with this idea of making an app or bot able to import entries from wikis with compatible GNU GPL licenses, and spellcheck the text that is on our 'pedia. The language is: Italian. Thanks in advance for your kind help,

Katmo 13:56, 5 March 2010 (UTC)

Getting PHP 5.2.1 installed Could not find a suitable database driver! Error While Installing Mediawiki

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.1
  • MySQL version: MySQL Server 5.1
  • 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.1 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 SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module


164.129.1.41 13:21, 8 March 2010 (UTC)

Could not find a suitable database driver for PostgreSQL

  • MediaWiki version: 1.15.2
  • PHP version: 5.2.13
  • MySQL version: Using PostgreSQL 8.4
  • URL: none (locked down)
  • Operating System: Windows Server 2007 Enterprise SP2


When I got to the setup page http://localhost/mwiki/config/index.php, I get the following message:

MediaWiki 1.15.2 Installation
Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.

Checking environment...
PHP 5.2.13 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 SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module
For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module
For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module

I have the .dll files in C:\PHP\ext:
php_pdo.dll
php_pdo_pgsql.dll
php_pgsql.dll
php_zip.dll

and my php.ini is pointing to the correct location of the files:
extension_dir = "C:\PHP\ext"

and at the very bottom of the php.ini file:
Local variables:
tab-width: 4
End:
[PHP_PDO]
extension=php_pdo.dll
[PHP_PDO_PGSQL]
extension=php_pdo_pgsql.dll
[PHP_PGSQL]
extension=php_pgsql.dll
[PHP_ZIP]
extension=php_zip.dll


I dont' understand what I am missing. Please help! Thank you!


198.166.46.21 22:22, 18 March 2010 (UTC) gunshot13@hotmail.com

Installation of Mediawiki without web forms

  • MediaWiki version: 1.15.2
  • PHP version: 5.2.12
  • MySQL version: 5.2.12


Since I have, generated all in one place, the answers requested on the MediaWiki install form config/install.php, I would like to install new instances of MediaWiki

  • without using the form manually
  • without driving the form programatically (with, say, wget --post-file my-generated-install-options.txt)
  • without hacking config/install.php
  • without reverse-engineering my own install script which calls into parts of MediaWiki to set it up

Isn't there a stable, maintained entrypoint for this? Shouldn't there be?

Smaines 09:22, 23 March 2010 (UTC)

P.S. Apologies in advance if the answer to this is addressed elsewhere, or is otherwise obvious

Command-line installer is scheduled for 1.17, but currently there's no ready solution for this. Max Semenik 09:33, 23 March 2010 (UTC)

That will make a great product even better, thanks for getting back to me. —Smaines 13:29, 28 March 2010 (UTC)

Install failing to connect to MySQL instance

  • MediaWiki version: 1.15.2
  • PHP version: 5.3.2
  • MySQL version: 5.1.45
  • URL: Sorry, it's on my laptop, not the web. :-(

I'm having a problem installing MediaWiki on Windows 7. I did it all OK last week on Windows XP. (They are both in VMs under VMware Fusion on my MacBook.) The problem is in connecting to MySQL: "Attempting to connect to database server as root...failed with error [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

The full install output is:

MediaWiki 1.15.2 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 (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:\Programs\Apache Software Foundation\Apache2.2\htdocs\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
PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help.
Attempting to connect to database server as root...failed with error [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I am setting the passwords correctly. MySQL is running OK and I can connect to it using the same password I am giving MediaWiki. I have tried opening a firewall hole for the MySQL port and TCP/IP is enabled. In attacking the problem I have uninstalled and reinstalled MySQL several times and PHP once... I'm about out of ideas. :-( <gnashes teeth -- rends garments>

Mikepeat 23:44, 5 April 2010 (UTC)

PS - I've been through the "OLD_PASSWORD" rigmarole detailed at http://dev.mysql.com/doc/mysql/en/old-client.html... it didn't help. :-( --Mikepeat 00:26, 6 April 2010 (UTC)
I have exactly the same problem :| Saturnian 20:14, 11 April 2010 (UTC)
I found the solution. The field Database Host must be changed from localhost to 127.0.0.1. Saturnian 20:44, 11 April 2010 (UTC)
  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:



94.183.142.80 07:55, 13 April 2010 (UTC)

Installation problem Mediawiki

  • MediaWiki version: 1.15.3

--- 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)

  • 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

  • MediaWiki version: 1.15.1
  • PHP version: 5.2.6 (apache)
  • MySQL version: 5.0.45
  • URL: Internal Site myinternaldomain/JASWiki
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:

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)

  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL:



41.97.78.152 08:17, 11 May 2010 (UTC)

Mediawiki in a commercial installation

  • MediaWiki version: none, yet
  • PHP version: 
  • MySQL version: 
  • URL:

Hi!

I'm thinking about setting up a wiki site for my company. Are there any restrictions on who can use Mediawiki, and where?

Thanks

James

Jamesmcs 10:15, 28 May 2010 (UTC)

No, you can use it for what you want, provided you respect the license. iAlex 10:23, 28 May 2010 (UTC)
  • MediaWiki version: 
  • PHP version: 
  • MySQL version: 
  • URL: www.xtra1.ch/wiki

Hi I have installed this media wiki, an everything seems to be ok! check the LOG, below:

everytime when i try to start the wikipage, (after installation) the install procedure will start again and again! can somebody help me with this issue? mnay thanx in advance..! reagrds marco


MediaWiki 1.15.4 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.9 installed
   * Found database drivers for: MySQL SQLite
   * PHP server API is cgi; using ugly URLs (index.php5?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/www/web433/html/wiki
   * Script URI path: /wiki
   * Installing MediaWiki with php5 file extensions
   * Environment checked. You can install MediaWiki.
   *
     Generating configuration file...
   * Database type: MySQL
   * Loading class: DatabaseMysql
   * Attempting to connect to database server as web433...success.
   * Connected to mysql 5.0.45; enabling MySQL 4.1/5.0 charset mode
   * Database usr_web433_4 exists
   * Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL PRIMARY KEY 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 ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "Table 'user' already exists (localhost)". 

188.61.192.21 14:22, 30 May 2010 (UTC)