Project:Support desk/Archives/Installation/002

Jump to navigation Jump to search



I am trying to install and construct a wikipedia like product (mediawiki) on my GoDaddy account, the PHP version I run is 5.0 and I'm using MySQL. I am wondering if there is a video tutorial kind of deal to help me get going as this program doesn't seem to be very intuitive to me. My GoDaddy account says that the software is installed but the website says I need additional software so I am confused. Please help. Thanks, 17:56, 2 June 2008 (UTC)

(RESOLVED) Blank pages after install.

I've just installed the latest 1.12.0 version of the software on an Apache (Fedora Core) server.
The environment had no errors, the installation had no errors.
I copied the LocalSettings.php to the root subfolder and changed the config dir permissions.
Yet, when I go to: http://webserve/pawiki/index.php/Main_Page or any page, I get a blank page. Nothing.
View Source shows nothing.
Can anyone help me figure out what to do?

PS: according to phpini XML is installed:
XML Support active
XML Namespace Support active
libxml2 Version 2.6.20 21:23, 2 June 2008 (UTC)

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

to the LocalSettings.php file as indicated by an entry above fixed it!

-- 21:34, 2 June 2008 (UTC)

(RESOLVED) After installation ... oops!

if you can, answer in german. my english is not the best.

After installation i'm seeing this:
help! 15:27, 3 June 2008 (UTC)

I don't know German, sorry. It seems like whoever manages your server has disabled some PHP functions that MediaWiki needs to work. Talk to them, and if they are unwilling to change PHP settings, I don't think you will be able to use MediaWiki on that subdomain. Smaug Tournesol.png 16:12, 3 June 2008 (UTC)

(RESOLVED) Not a valid entry point??

After I installed MediaWiki-1.12.0 in the first step already, I had to straight to config/LocalSettings.php but I got a message "This file is part of MediaWiki and is not a valid entry point." I have tried to solve this problem but it is not fixed. How can I fixed this problem?

Are you browsing to http://website/config/LocalSettings.php? You need to move that file wiki/config/LocalSettings.php to wiki/LocalSettings.php and then browse to http://website/index.php. After you do the installation, the text at the bottom of the page explains this too. There are only a couple "valid entry points" for MediaWiki. One is index.php. Another is api.php. --Cneubauer 14:58, 4 June 2008 (UTC)

(RESOLVED) wiki/index.php error after configuration success, can't edit pages

(above details may not be 100% correct, those are the details i got from my webhosts control panel, not from the version page, since i can't access anything.

after the initial configuration is successful, when i try to visit the actual wiki i get the following error.

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

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

i'm fairly certain i followd the instructions to the letter. I moved the localsettings.php from config to the wiki directory so i'm unsure how to resolve this issue. Thanks in advance.

Resolved, had to fiddle with permissions on localSettings.php

(OUTDATED) install freezes up

when i run the install i get to here:

MediaWiki 1.12.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.5 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 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 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: /opt/lampp/htdocs/aaw/mediawiki-1.12.0
   * Script URI path: /aaw/mediawiki-1.12.0
   * 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.51a
   * Attempting to create database...
   * Created database wikidb4
   * Creating tables... done.
   * Initializing statistics...
   * Granting user permissions to wikiuser on wikidb4...success.

and then no further

trying to access the wiki after this brings me back to the installation page 08:59, 5 June 2008 (UTC)

(OUTDATED) How to declare value of $conf->Sitename?

  • MediaWiki: 1.12.0
  • PHP: 5.2.6
  • MySQL: 5.0.51b

I want to automatically configure a wiki, that is, I don't want the user to have to go through config/index.php page. I can set the input for the forms by adding to the empty quotes. For example, if I want the table prefix to my wiki to be $prefix, then I change $conf->DBprefix= importPost("DBprefix", ""); to $conf->DBprefix = importPost( "DBprefix", $prefix );. For some reason I can't do this for Sitename. Adding anything in the empty quotes of $conf->Sitename = importPost( "Sitename", "" ); gives me a blank page. Can someone please help!??

Malatorr 23:02, 11 June 2008 (UTC)

(OUTDATED) Problem with installation - table creation

When I try to install MediaWiki, I get the following error message:

 Creating job table...Query "CREATE TABLE `job` (
  job_id int(9) unsigned NOT NULL auto_increment,
  job_cmd varchar(255) NOT NULL default ,
  job_namespace int NOT NULL,
  job_title varchar(255) binary NOT NULL,
  job_params blob NOT NULL default ,
  PRIMARY KEY job_id (job_id),
  KEY (job_cmd, job_namespace, job_title)
  ) TYPE=InnoDB
 " failed with error code "Specified key was too long; max key length is 1024 bytes (localhost)". 16:07, 12 June 2008 (UTC)

(RESOLVED) Navigation sidebar lost after moving wiki to new server; all else is fine

  • MediaWiki: 1.11.2
  • PHP: 5.2.4-2ubuntu5.1 (apache2handler)
  • MySQL: 5.0.51a-3ubuntu5.1
  • URL: (removed)

Successfully moved this wiki from old to new server using newer version (from Ubuntu 7.10 to 8.04), using steps outlined elsewhere, i.e.

  1. install MediaWiki (same version as before: 1.11.2) from ubuntu repository
  2. install MediaWiki-math (to get LaTex and math support)
  3. initialize MediaWiki using built-in script
  4. restore db from mysqldump file (new db, site now under ISPConfig)
  5. copy customized files, math, etc. from backups to new wiki

Did not simply wholesale copy all old MW folders over new ones because the simlinks didn't match up (don't know why, but the folder naming has changed from e.g. MediaWiki1.10 to just MediaWiki). Did cp -r for extensions, math, skins, images, and of course copied over LocalSettings.php. Tried this with includes but that made no difference to this problem. It's possible that I've missed a file and thus created the problem:

All the previous functionality came across, except that the navigation sidebar has disappeared. From the page source code, it's not getting written at all.

MediaWiki:Sidebar is present and unchanged:


<div class='pBody'>

*[[Main Page]]
*[[E355:Top | Top of E355 Draft]]
*[ ASTM Blue Book]
*[[Community portal]]
*[[Special:Recentchanges | Recent changes]]
*[  User's Guide]

<h5>Create new articles</h5>
<div class='pBody'>
  buttonlabel=Create Definition

The CreateArticle.php extension is in extensions alongside several others that are working.

I've run out of ideas on how to put the nav sidebar back and I'm hoping that you can point me in the right direction.


/var/log/apache2/error.log gets about 10 of these everytime the wiki page is loaded:

[Fri Jun 13 15:55:10 2008] [error] an unknown filter was not added: PHP

Not very helpful except it points towards a php file perhaps (Friday the 13th, no less).

SOLVED I failed to copy over ../Skins/MonoBook.php from the old install, which is customized for the sidebars. 01:16, 13 June 2008 (UTC)

(RESOLVED) Homepage shows up with just �‹�

  • MySQL 5.0
  • PHP 5.0
  • Mediawiki 1.12.0.

I am installing Mediawiki 1.12.0 on a Godaddy free Linux account. Installation went without a hitch. However, when I go to the main page, I get "�‹�" and nothing else.

My wiki is located at

19:20, 13 June 2008 (UTC) JRD

Previous solution, Project:Support desk/Archive 12#Problems Installing Wiki on Godaddy Hosting 08:47, 23 July 2008 (UTC)

(OUTDATED) "loss of session data" error

This is a fresh mediawiki installation. When not looged on I can edit, but when logged on (as admin) I get this error:

Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

The same applies when I try and do any operation such as protect a page.

I have also noticed that at the log-in page unless I tick the "Remember my login on this computer" as soon as I navigate away it seems to log-out - i.e. the login name is no longer displayed at the top.

(OUTDATED) installing mediawiki to work with a existing database

Hello i been looking for a guide on installing media wiki with an exsisting database.I have a database of username and password i would prefer to use. my database is simple thee is NO md5 hash Just simple user name and password. Thank you 07:05, 17 June 2008 (UTC)

(OUTDATED) Linux Help!

  • MediaWiki: cant access [v1.9.3]
  • PHP: 4 by default but can use 5 by making a .htaccess file
  • MySQL: 5
  • URL: wiki.hackergrounds com

Install MediaWiki on Linux 5.1 Enterprise Can somebody help me with installing MediaWiki. I have never used Linux, I have used Unix. I'm not sure how to install it.

I get this after install: on index

getVal( 'action', 'view' ); $title = $wgRequest->getVal( 'title' ); $wgTitle = $mediaWiki->checkInitialQueries( $title,$action,$wgOut, $wgRequest, $wgContLang ); if ($wgTitle == NULL) { unset( $wgTitle ); } # # Send Ajax requests to the Ajax dispatcher. # if ( $wgUseAjax && $action == 'ajax' ) { require_once( $IP . '/includes/AjaxDispatcher.php' ); $dispatcher = new AjaxDispatcher(); $dispatcher->performAction(); $mediaWiki->restInPeace( $wgLoadBalancer ); exit; } wfProfileOut( 'main-misc-setup' ); # Setting global variables in mediaWiki $mediaWiki->setVal( 'Server', $wgServer ); $mediaWiki->setVal( 'DisableInternalSearch', $wgDisableInternalSearch ); $mediaWiki->setVal( 'action', $action ); $mediaWiki->setVal( 'SquidMaxage', $wgSquidMaxage ); $mediaWiki->setVal( 'EnableDublinCoreRdf', $wgEnableDublinCoreRdf ); $mediaWiki->setVal( 'EnableCreativeCommonsRdf', $wgEnableCreativeCommonsRdf ); $mediaWiki->setVal( 'CommandLineMode', $wgCommandLineMode ); $mediaWiki->setVal( 'UseExternalEditor', $wgUseExternalEditor ); $mediaWiki->setVal( 'DisabledActions', $wgDisabledActions ); $wgArticle = $mediaWiki->initialize ( $wgTitle, $wgOut, $wgUser, $wgRequest ); $mediaWiki->finalCleanup ( $wgDeferredUpdateList, $wgLoadBalancer, $wgOut ); # Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup $mediaWiki->doUpdates( $wgPostCommitUpdateList ); $mediaWiki->restInPeace( $wgLoadBalancer ); ?> 21:55, 23 June 2008 (UTC)

(RESOLVED) Class 'DOMDocument' not found

  • MediaWiki: 1.12.0
  • PHP: 5
  • MySQL: MySQL 5
  • URL:


i' m italian. I' ve installed MediaWiki 1.12.0 on my domain correctly but when i go to the main page, I' ve got this error:

Fatal error: Class 'DOMDocument' not found in /home/ on line 566

I don' t find a solution for this. Can you help me?

Thanks. 07:19, 28 June 2008 (UTC)

You should look here.  mgrabovský | talk  (DJ Jeri)  Tournesol.pngMW Support Team 09:33, 28 June 2008 (UTC)

(OUTDATED) Upgrade not working due to DataBase error

  • MediaWiki: Upgrade from 1.6.6 to 1.12.0
  • PHP: 5.2.6 (cgi-fcgi)
  • MySQL: 4.1.22-standard
  • URL: The Gredil

Hi there, I am attempting to upgrade my Wiki from 1.6.6 to 1.12. I have followed all the instructions on the upgrade page. I used Alternative 2 (the web installer) because none of the servers I have access to have php installed with the --with-mysql option (not default behaviour for ANY php install I might add! I'm yet to see a hosting service that has this). After doing the web installer I got to the page that checks your settings and then got the Ok at the bottom but when clicking on the site I got...

Database 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 "User::edits". MySQL returned error "1054: Unknown column 'user_editcount' in 
'field list' (".

Any help would be much appreciated. Thanks,

TheGredil 14:01, 28 June 2008 (UTC)

(RESOLVED) Installation Problem

  1. MediaWiki: 1.12.0
  2. PHP: 5.2.5 (cgi-fcgi)
  3. MySQL: 5.0.24

I have installed MySQL, PHP and MediaWiki as described for Win2k3 Server...

At the first setup:

MediaWiki 1.12.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.5 installed
     Could not find a suitable database driver!
         o For MySQL, compile PHP using --with-mysql, or install the module
         o For PostgreSQL, compile PHP using --with-pgsql, or install the module

solved!!! False settings at point: "Enable write permissions on the C:\Inetpub\wwwroot\mediawiki\config folder (at least during the setup process)"

(RESOLVED) Help... Please?

  • MediaWiki: 1.13alpha

Hi, can anyone help me install MW? I hope this is the right place... I had it installed, but it broke, and when I re-tried after deleting everything from the DB etc, and went to config, it said it was installed succesfully. Please, someone help me!

Bluegoblin7 14:19, 3 July 2008 (UTC)

I'd say: delete the database-tables and remove the file "LocalSettings.php" from the main directory - that should do it...

(OUTDATED) Login-Problem - MediaWiki can't find the cookies it has written...

After a successful install of both 1.6 and 1.12 on servers meeting the needed software environment (PHP / MySQL) both version do not allow me to log in always asking me to enable cookies... Problem: 1. cookies are already enabled and i find them in the respective folder of every browser (UserName, UserID) 2. Same Problem from different clients (firewalled, not firewalled, virusscanner, no virusscanner, proxy, no proxy...)

Bottom Line: MediaWiki manages to write cookies but not to read them... 07:56, 8 July 2008 (UTC)

(RESOLVED) DOMDocument Class problem after installation

  • MediaWiki: 1.12.0
  • PHP: 5.1.6
  • MySQL: 5.0.45
  • URL:

This is my third instalation of the Wiki system. I have installed it on Linux CentOS 5 and another on Windows 2003.

This one is Linux CentOS 5, and I have strange problem that I have not seen before. Setup part works and MySQL database is created; LocalSettings.php is copied into main directory. When I try to access newly created Wiki site, I see nothing - blank screen with no errors of any kind. It looks like page index.php/Main_Page was loaded but it is absolutely empty. When I look at Apache error log, I see the following error :

PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/aspmhelp/includes/Preprocessor_DOM.php on line 566

This is a clean installation without any code alterations.

Can you help?

I have fixed the issue by installing php-xml rpm 18:11, 11 July 2008 (UTC)

(OUTDATED) Active Directory Authentication

In the installation instructions for installing mediawiki on a Windows 2003 server I read this "Hint: If you plan on using Active Directory authentication later on, be sure to select “LDAP”, “OpenSSL” and “MCrypt” now."

So I did but now I want to know how to configure mediawiki to use the AD for user authentication. Could you explain me how to configure this? 20:43, 14 July 2008 (UTC)

(OUTDATED) SiteConfiguration.php causing problems

I'm trying to upgrade to 1.12.0 but when I do it says this

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

Any ideas?

Arwell 23:07, 14 July 2008 (UTC)

(RESOLVED) How to Install MediaWiki on Windows Server 2008 17:47, 15 July 2008 (UTC)

(RESOLVED) Allow edit for a single page

  • MySQL 5.0 (?)
  • PHP ??
  • Mediawiki 1.12.0.

- Asset

I managed prevented edit/access of pages for guests like this

# Restrict anonymous edit
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;
# But allow this 
$wgWhitelistRead = array ("Forside", "Ophavsret", "Special:Userlogin", "Diskussion:Forside");

Is there any way that I can allow talk on "Diskussion:Forside", much like $wgWhitelistEdit (only it don't work any more?)

I think I solved this myself. It is possibel to protect a page - as sysop - and leave the talk page unprotected. Thus I work with tree levels of protection:

  • User/group protection (useing $wgWhitelistRead)
  • namespace - using Extension:Lockdown
  • Sysop protection of specific pages - primary the frontpage of the site

Any suggestions as to making this more simple? --Asset 13:11, 15 July 2008 (UTC)

(OUTDATED) mbstring.func_overload problem

  • MediaWiki: The Latest
  • PHP: 5.0
  • MySQL: 5.0
  • URL: url

Hi. I'm trying to install MediaWiki on societeg server. When I run the install script, there are 3 lines like that:

* PHP 5.2.3-0.dotdeb.1 installed
* Found database drivers for: MySQL PostgreSQL
* Fatal: mbstring.func_overload is active! This option causes errors and may corrupt data unpredictably; you cannot install or use     MediaWiki unless this option is disabled. 

All is good, except the last line. I don't know how to set mbstring.func_overload inactive, and I don't know what it is. So I need help.

Thank you

Yann — 18:28, 18 July 2008 (UTC)

(RESOLVED) Language problems

I have the Danish version installed, and this seems to give me some problems. It is rather hard to know how the special features was translated. Say, [[Special:RecentChanges]] was translated into [[Speciel:Seneste_ændringer]] - but is there some way to see the translations, cause this could well have been translated in other ways. --Asset 18:53, 18 July 2008 (UTC)

Have a look at MessagesDa.php and perhaps also at --:bdk: 19:07, 3 September 2008 (UTC)

(OUTDATED) MySQL Database Authentication Problem

  • MediaWiki: 1.12.0
  • PHP: 5.2.4
  • MySQL: 5.0.24a
  • URL: Company Intranet

In the Database Config section of installation, MediaWiki asks for the MySQL database name, username, and password.

I provide all of this information, but then I click the install button, I keep getting an error telling me to check the username and password. I don't get it. I followed installation instructions explicitly.

My MySQL commands are as follows:

mysqladmin -u root -p create wikidb
mysql -u root -p -e "GRANT ALL PRIVILEGES ON wikidb.* TO wikiuser IDENTIFIED BY 'wiki_password'"
mysql -u root -p -e "SET PASSWORD FOR wikiuser = OLD_PASSWORD('wiki_password')"
mysql -u root -p -e "FLUSH PRIVILEGES"

Where I've changed "wikiuser" and "wiki_password" to something more appropriate. The syntax is fine, and no typos exist. I enter the information letter for letter in the Database Config section, and I still receive the password authentication error, and for the life of me, I cannot figure out why.

Chris at MFS. 19:57, 22 July 2008 (UTC)

(RESOLVED) Upgrading to MW 1.12 without shell access

I updated the english version of our wiki from Version 1.11 to 1.12. Since we don't have shell access and "proc_open()" is disabled by our hosting company, there was only "Alternative 2" left. So I copied all the files of the 1.12-version into the existing folders of our wiki. In that way old files were replaced but things like extensions and images were kept. Everything worked fine but after running the installation there was a fatal error when browsing the wiki. It said: "Fatal error: Call to undefined method ParserOptions::enableLimitReport() in /home/httpd/vhosts/ on line 3172". Since i didn't know what to make of that, I replaced "Article.php" with the old 1.11-version (lucky me, I did the back-up before) and now things seem to be running fine again. However, before I go on to upgrade the much larger (and more important) german version of our wiki, I would like to be sure, that this is the way to do it and that no further problems will emerge from this. Thanks for helping!

Gollum 11:11, 23 July 2008 (UTC)

Just to let you know. This problem was resolved by upgrading to Mediawiki 1.13 . My best, --Gollum 11:15, 5 September 2008 (UTC)

(OUTDATED) Once installed via ftp, I cannot continue configuration thru /config/index.php


I've installed MediaWiki on the Host (MediaWiki v1.12.0, PHP5, MySQL 5.0.45) of our school. 'Feel a bit a newb (which I am) but I do hope someone can help me with this. Anyway, I have installed via ftp, and can get to the index.php script in public_html by entering the above URL. All directories and scrips seem to be in place, I've set the file attributes of the /config folder to '777'.

I then get to see the initial index.php in the root. Once I click on the 'Please set up the wiki first.' link (which should redirect me to /config/index.php), I get to the 'Admin' login screen of my Host. Does this somehow ring a bell to you?

Thanks for your help in this. Erik Coolen, The Netherlands ( — 11:22, 23 July 2008 (UTC)

(RESOLVED) Allowed memory size of 10485760 bytes exhausted: FATAL ERROR.

Does anyone recognize what's going on with the wiki. I JUST installed it, it said installation was successful, when I clicked to go to my home page I got that message, as you will when you click here. It does this on all pages such as this page. I checked out "Parser.php" on line 889, and there is nothing relevant to the problem...or at least I think. So any help would be appreciated! 05:04, 24 July 2008 (UTC)

10 MB as memory limit is not enough, you have to raise that limit. iAlex 21:32, 16 August 2008 (UTC)

(RESOLVED) Removing logs

How can I the complete History inside my wiki without deleting the whole database? For example: I created an account and tried out different permissions, I blocked a few IP adresses and / or usernames an so on... Now I have logs where every action is reported. How can I remove these logs?

Mark Reichelt — 22:59, 27 July 2008 (UTC)

If you don't have any logs of significance, you could purge the logs for the actions you mentioned by emptying the logging and recentchanges tables (using phpMyAdmin). —Emufarmers(T|C) 05:30, 1 August 2008 (UTC)

(RESOLVED) Weird sudden failure of wiki

  • MediaWiki: very latest version (just installed a few days ago)
  • PHP: 5.2.5
  • MySQL: 5.0.45-community-log
  • URL: http://wiki/

I changed nothing on my server, and now when I go to my wiki ( I get this:

Warning: require_once(/home/berrysof/public_html/wiki/extensions/InterWikiLinkManager/InterWikiLinkManager.php) [function.require-once]: failed to open stream: 
No such file or directory in /home/berrysof/public_html/wiki/LocalSettings.php on line 138

Fatal error: require_once() [function.require]: Failed opening required '/home/berrysof/public_html/wiki/extensions/InterWikiLinkManager/InterWikiLinkManager.php' (include_path='/home/berrysof/public_html/wiki:/home/berrysof/public_html/wiki/includes:/home/berrysof/public_html/wiki/languages:.:/usr/local/php52/pear') 
in /home/berrysof/public_html/wiki/LocalSettings.php on line 138

I have no clue what to do!

Patrick Waugh Berrysoft Studios — 20:09, 27 July 2008 (UTC)

There is a line in your LocalSettings.php that says require_once("$IP/extensions/InterWikiLinkManager/InterWikiLinkManager.php");. However, the file it's referring to doesn't exist. Either correct the line to refer to the right file, or remove the line altogether. --Catrope 09:01, 7 September 2008 (UTC)

(OUTDATED) No install directory

No install directory in /usr/share/doc/mediawiki-x.y.z/INSTALL on fedora 9

On fedora 9 i ran yum install mediawiki. Install went well, but there was suppose to be

"After installation, open the file /usr/share/doc/mediawiki-x.y.z/INSTALL.fedora and follow the instructions there."

The only dirs. were.

-rw-r--r-- 1 root root  17997 2008-03-03 01:05 COPYING
-rw-r--r-- 1 root root    162 2008-03-03 01:05 FAQ
-rw-r--r-- 1 root root 211867 2008-03-03 01:05 HISTORY
-rw-r--r-- 1 root root   3535 2008-03-03 01:05 README
-rw-r--r-- 1 root root  29739 2008-03-03 01:05 RELEASE-NOTES
-rw-r--r-- 1 root root  12816 2008-03-03 01:05 UPGRADE

--July 2008

(RESOLVED) Empty page after installing Wiki

  • MediaWiki: 1.1.2
  • PHP: 5.2.6
  • MySQL: 5.0.51a
  • URL: Wiki

Changed my hosting to PHP5. Trying to install wiki - setup goes just fine, with info about moving LocalSettings.php to directory above... After i moved it, and pointing to mysite/wiki - just empty page goes out. No errors, no warnings. Empty page.

Solved as described above: LocalSettings.php add:

$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash'; 15:55, 4 August 2008 (UTC)

(OUTDATED) Don't create localsettings.php after to click install mediawiki button

  • MediaWiki: mediawiki-1.11.2
  • PHP: PHP5.2.5 Zend Optimizer
  • MySQL: MySQL 5.0.45
  • URL: ...


I have a question.

When I try to install mediawiki in my PC, do not create localsettings.php

When I have clicked install button for installing mediawiki, I.E window shutdowned.

What I have to do for install mediawiki? 03:37, 6 August 2008 (UTC)

(RESOLVED) Install Error

Install Error: Call to undefined function pg_escape_string() in /var/www/html/wiki/includes/DatabasePostgres.php

I'm not able to install and configure MediaWiki. My system configuration is running RedHat Linux release 4, and the initial page reports the following:

PHP 5.2.6 installed
Found database drivers for: 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 ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
Installation directory: /var/www/html/wiki
Script URI path: /wiki
Installing MediaWiki with php file extensions
Environment checked. You can install MediaWiki.

I can enter the configuration screen, but it crashes with the following message

Generating configuration file..
Database type: PostgreSQL
Loading class: DatabasePostgres
Attempting to connect to database "postgres" as superuser "postgres"...
Checking the version of Postgres...version 8.3 is OK.

Fatal error: Call to undefined function pg_escape_string() in /var/www/html/wiki/includes/DatabasePostgres.php on line 1215

I've never used PHP and have absolutely no idea what this means. :^(

I don't know if it's relevant, but one of the problems I had was in setting up PHP5; RHEL4 doesn't have an installable package, so I created it from source using the instructions at:

Roger — 14:30, 6 August 2008 (UTC)

Hi, Has anybody got any ideas about this? 07:30, 11 August 2008 (UTC)
Hi, I'm adding another comment to keep this question live. Cheers 07:33, 15 August 2008 (UTC)
Help anybody? 08:03, 21 August 2008 (UTC)
You don't have PostgreSQL support in PHP, so you need to recompile PHP, this time with PostgreSQL support enabled. --Catrope 09:03, 7 September 2008 (UTC)

(RESOLVED) Email problems

  • MySQL 5.0 (?)
  • PHP ??
  • Mediawiki 1.12.0.

- Asset

I get this message when I try to get the confirmation. What can be wrong - do I need to set $wgSMTP?

Rückmeldung des Mailservers: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead

You need to add the appropriate line to LocalSettings and fix your time zone. -PatPeter, Tournesol.pngMediaWiki Support Team 03:34, 9 August 2008 (UTC)

(RESOLVED) Can wiki software be used for commercial purposes?

I haven't started using this software yet, but have an idea for an application that would be free to users & contributors, but would allow links to places where product could be bought.

Is this allowed? ie is it permissable to use this as part of a revenue generating business, where the business selling the product pays a fee or percentage of turnover?


Ampersat 14:16, 12 August 2008 (UTC)

You may use MediaWiki for any purpose; its license (the GPL) applies to redistributions of the software, not to your content. —Emufarmers(T|C) 17:34, 12 August 2008 (UTC)

(RESOLVED) Upgrade from MW 1.11.0 to 1.12.0

  • MediaWiki: Version MediaWiki 1.11.0 & 1.12.0
  • PHP: Version 5.2.5
  • MySQL: using MySQL 5.0

I tried the upgrade of MediaWiki on my computer (before to do it on the real server). I used the Alternative #2, because I don't have shell access on the final server. Whatever, everything seems to go well (no error message during the "installation"), but the wiki is then unavailable : there is only one white page without errors. What's the problem then ? What can I do ? :-(

Matt84 12:11, 12 August 2008 (UTC)

A blank page mean that there's a PHP error, but hidden. See How to debug to enable error reporting and then come back with the error message. iAlex 21:25, 16 August 2008 (UTC)
seems ok now. Thanks. Matt84 19:53, 3 September 2008 (UTC)

(RESOLVED) matchStartToEnd error in Parser.php

I installed 1.13 over 1.9.3. I get the error

Fatal error: Call to a member function matchStartToEnd() on a non-object in 
D:\xampp\htdocs\wikitest\en\includes\parser\Parser.php on line 2784

I tried installing from a new directory, same error. I use Xampp v1.6.8. I installed extensions ParserFunctions and Variables. The problem line in the code is this from function braceSubstitution( $piece, $frame )

$id = this->mVariables->matchStartToEnd( $part1 );

-- 16:57, 16 August 2008 (UTC)

I solved it by re-installing MW and unselecting cache with eAccelerator which comes with Xampp (in fact no caching at all). -- 22:59, 16 August 2008 (UTC)
or comment out in LocalSettings.php any form of caching-- 20:33, 21 October 2008 (UTC)

(RESOLVED) New Namespace edit goes to edit of Talk page

I have set up a special namespace. But when I try to edit a page the session opens as a talk page, and when I go to the actual page, the talk page opens!


  • Configure (Version 0.5.7) Allow authorised users to configure the wiki by a web-based interface Alexandre Emsenhuber Parser hooks
  • EmbedVideo (Version 0.1.2) Adds a parser function aembedding video from popular sources. Jim R. Wilson - wilson.jim.r<at>
  • Google Co-op Extension Using Google Co-op Liang Chen The BiGreat
  • NiceCategoryList generate a category page showing all pages in a category, including subcategories Kichik, Johan the Ghost Andre
  • GoogleTranslate (Version 0.2) Ajax-based link translation that translates edittext from/to via GoogleTranslate Per Feldvoss Olsen

--August 2008

Please ensure that you gave your custom namespace an even number, that it has an associated talk page whose number is exactly one higher (and therefore odd), and that the namespace numbers are 100 or higher. --Catrope 09:05, 7 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:55, 20 September 2008 (UTC)

(RESOLVED) Images not showing after upgrade

  • MediaWiki 1.13.0
  • PHP 5.2.5
  • MySQL 4.1.22 (client)
  • MySQL 5.0.62 (server)
  • Apache/2.0.63 (CentOS)

My site with image

Hi I just upgraded 1.12.0 to 1.13.0, I know in the FAQ there is a solution FAQ but somehow it doesn't work. Even uploading a new file doesn't help either, since it doesn't show up either.

Additionally, I found that somewhere the place where the images should be uploaded was changed, it used to be images/ and now it's public/ I just copied all the files from images/ to public but that doesn't give any joy either.

Any suggestions? --Henny 08:56, 24 August 2008 (UTC)

I noticed something else today, the full URL in the source is <a href="/mediawiki/index.php/Afbeelding:Dorpspomp_Ruinen_08-07-1.jpg" class="image" title="Dorpspomp Ruinen 08-07-1.jpg"><img alt="" src="/mediawiki/skins/common/images/icons/fileicon.png" width="120" height="120" border="0" /></a>

Does this ring any bell? --Henny 13:44, 27 August 2008 (UTC)

I noticed one more thing. In the database now there are zeros added to images, users, usergroups and the like

for instance

Dorpspomp_Ruinen_08-07-1.jpg 49099 178 340 [BLOB - 1.1 KB] 8 BITMAP image jpeg\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0

A bit complicated but I resolved it. I reverted back to the previous version and discovered to my surprise that all the texts were gone. So I reverted again back to version 1.3 and imported through SSH, and there MySQL a backup I had previously made. Even though the images didn't show up, they did after I reimported it.

The issue with the sysop rights remains though.

(RESOLVED) Old versions of Mediawiki?

  • MediaWiki: 1.13.0
  • PHP: 5.2.6 (cgi)
  • MySQL: 5.0.51a-community
  • URL: (in development)

Do we have old versions of Mediawiki somewhere? I had 1.9.3 and when I upgraded to 1.13.0, it gives me an "illegal mix of collations" error, when I view Page logs. I thought I'd try incrementally upgrading the software to see if that would work. —Kenny5 04:11, 25 August 2008 (UTC)

Are you looking for a list such as Important Release Notes? Manual:Upgrading to 1.13 could help too. --:bdk: 19:06, 3 September 2008 (UTC)

(OUTDATED) riesige Magick-Dateien werden erstellt (German)

Hallo, habe ein Megagroßes Problem und mein Provider will mir sogar kündigen wenn ich dieses Problem nicht behebe. Habe eine MediaWiki-version 1.10.1 mit ca. 10.000 Seiten und 2.300 Bilder.

Mein Account wurde von goneo inzwischen schon bestimmt zum 20 mal gesperrt, weil übergroße Dateien im Temporären Verzeichnis /tmp (Linux) abgelegt werden.

So wie es ausschaut sind dies Dateien von ImageMagick


> -rw------- 1 12242f422 wheel 1.5G Oct 8 04:48 magick-IoHUlkZS
> -rw------- 1 12242f422 wheel 1.5G Oct 8 04:47 magick-PqaESSJn

Ich weiß wirklich nicht wo diese herkommen und wie ich das Problem beseitigen kann. Hat jemand eine Idee für mich??? Kann ich zum Beispiel auch die neuste Version installieren so das meine Daten nicht verloren gehen? Es war ja schließlich sehr viel arbeit, die auch umfangreich genutzt wird.

components vom mediawiki:

Ald-Hjl-Koord-de.kmz Call Cite DynamicPageList EmbedURL.php ExtensionFunctions.php Inputbox ParserFunctions Picasa2 Picasa2.php Player RateArticle.php Ratings SearchSuggest Wgraph WikiChat.php YouTubeTag.php audio-player audio-player.php dewplayer.swf firestats firestats-mediawiki.php flashmp3.php gallery googleVideo.php lmo mp3.php tab5.php urlify.php wikipdf

Ich würde Euch sehr danken.

Viele Grüße Stefan

(OUTDATED) Cleaning up after upgrade to 1.13.1?

  • MediaWiki 1.13.1
  • PHP 5.2.4 (apache2handler)
  • MySQL 5.0.45-community-nt

Ok so I have updated my wiki using the update.php. I noticed some changes that I had made to "specialcontributions.php" were not having the effect I was after. So I have now found that the special files have been moved to a folder called "Specials" within the "includes" folder.
This tells me that a number of files have been moved and I now have duplicates!
Is there a way to do a "clean up" after an update? Thanks -Joel 10:18, 23 September 2008 (UTC)

(OUTDATED) Receiving a PHP Fatal Error: Class 'WebRequest' not found in includes/Setup.php

  • MediaWiki: 1.13.0
  • PHP: 5.2.5
  • MySQL: 5.0.51a-community
  • URL: CellAO

I'm receiving an error

Fatal error: Class 'WebRequest' not found in /home/pastxter/public_html/cellao/includes/Setup.php on line 147

When I click the "Install MediaWiki!" button after the initial checks have completed. I'm not sure why this is happening

$wgRequest = new WebRequest; is Line 147

It's like AutoLoader.php doesn't actually include includes\WebRequest.php like it seems to be supposed to

-Charles — 04:27, 20 August 2008 (UTC)

(RESOLVED) Vulnerability that needs to be fixed

me and some friends were scanning my site and found a vulnerability. please fix it...


-- 25 August 2008

Please give your site info and un-mark this topic as resolved if you want help. -PatPeter Tournesol.png MediaWiki Support Team 17:47, 20 September 2008 (UTC)

(RESOLVED) Fatal: mbstring.func_overload is active! Cannot install MediaWiki...

  • MediaWiki version: 1.13.0
  • PHP version: 5.2.6
  • MySQL version: 5.0.51a-community

I would like to install Mediawiki on my shared HostServer. I cannot install mediawiki and have this fatal error :

MediaWiki 1.13.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 
Fatal: mbstring.func_overload is active! This option causes errors and may corrupt data unpredictably;
you cannot install or use MediaWiki unless this option is disabled. 
Cannot install MediaWiki.

How can I Resolve this problem ?

Phillev 20:42, 5 September 2008 (UTC)

Follows these steps if you can not access to httpd.conf and php.ini from you Shared HostServer:

  • Create php.ini file in you public_html/ Home folder or www/
  • Add in your .htaccess : suPHP_ConfigPath /home/VOTREUSER/public_html/php.ini
  • Add in your php.ini : Magic_quotes_gpc = off

This should work (works in my case)

--Phillev 10:45, 11 October 2008 (UTC)

(OUTDATED) putenv() Warning because of safe mode

  • MediaWiki version: 1.13.0
  • PHP version: 5.0.5-3 (cgi-fcgi)
  • The server uses PHP 5 only for files with the .php5 extension

Safemode problem:

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LC_CTYPE' - it's not in the allowed list in /home/www/web2542/html/derjoo/ffd/includes/Setup.php on line 121

what happens if i just delete that putenv? i didnt even understand what LC_CTYPE does... thank you very much!!!

derjoo — 10:35, 7 September 2008 (UTC)

Similar problem

  • MediaWiki version: 1.13.1
  • PHP version: 5.1.6 (apache2handler)
  • MySQL version: 5.0.27-Debian_0.dotdeb.1
  • URL:

I'm getting an error:

Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LC_CTYPE' - it's not in the allowed list in /wiki/includes/Setup.php on line 121

Where can I stop the PHP from trying to set the variable?

Jbbdude 21:37, 7 September 2008 (UTC)

The same problem

I have exactly the same problem as above in includes/Setup.php on line 121 ;( --Esenabre 11:20, 15 September 2008 (UTC).

What I've done is to comment the following lines and now it works (I don't know unitil when, though :) --Esenabre 13:19, 15 September 2008 (UTC)
Workaround for
escapeshellarg() destroys non-ASCII characters if LANG is not a UTF-8 locale

putenv( 'LC_CTYPE=en_US.UTF-8' );
setlocale( LC_CTYPE, 'en_US.UTF-8' );

if ( !class_exists( 'AutoLoader' ) ) {
	require_once( "$IP/includes/AutoLoader.php" );

The same problem

As its only a warning you can put an @ in front of the putenv/setenv lines and this will suppress the error messages.

(OUTDATED) Wiki installed nut ow I am stuck - please help!

Here are the error messages I see on my page:

Warning: Invalid argument supplied for foreach() in /home/sptrobb/public_html/cocardsynergy/wiki/languages/Language.php on line 2310
Warning: Invalid argument supplied for foreach() in /home/sptrobb/public_html/cocardsynergy/wiki/languages/Language.php on line 2310
Warning: Invalid argument supplied for foreach() in /home/sptrobb/public_html/cocardsynergy/wiki/includes/SpecialPage.php on line 218

I am totally lost and have no idea what to do to remedy this. An anyone help?

Robb Lejuwaan — 21:06, 13 September 2008 (UTC)

(OUTDATED) Parse error

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

Using filezilla i gave 777 permission to the whole wiki folder. yet when I try to access I get

Parse error: syntax error, unexpected $end in /home/simpatic/public_html/wiki/includes/Defines.php on line 58

What to do? – 03:24, 14 September 2008 (UTC)