Project:Support desk/Archives/Installation/001

Jump to navigation Jump to search



(OUTDATED) Cannot access my Mediawiki

I'm a newbie, but I finally got my Mediawiki installed and running yesterday. All went fine all day. Used it until late last night. Then, this morning, when I tried to access it, I got an HTTP 500 error - Webpage cannot be displayed. This happens repeatedly.

I have made NO changes to ANYTHING since using it successfully yesterday. Can you please help me sort this out? Thanks!

Gene — 15:52, 20 February 2008 (UTC)

Check your apache error logs (or IIS error logs if you're using that). --Skizzerz talk - contribs Tournesol.pngMediaWiki Support Team 00:02, 21 February 2008 (UTC)
Log shows the following typical error: File does not exist: /home/gwheele6/public_html/404.shtml
Gene -- 22:05, 21 February 2008 (UTC)

(RESOLVED) Legalities of using Wikimedia material

  • MediaWiki: 1.11
  • PHP:
  • MySQL:
  • URL:

OK, so here's my problem. I've got MW 1.11 installed on my server, image uploads configured, extensions added - ParserFunctions, Nuke and Oversight. Soon to add on Makesysop and Checkuser too.

What's the legalities of using material from Meta wikimedia and Wikisource (the one that's under the GFDL and how do I transwiki them into my wiki getting all revisions?? On some Wikimedia projects it says they can't get all revisions via transwiki.

and what's the way in the database to change an offensive signature in old revisions??

I need some help, just trying to learn some stuff on this wonderful new software!

Ta, — 12:55, 26 February 2008 (UTC)

Did you try using Special:Import? -PatPeter, Tournesol.pngMediaWiki Support Team 00:16, 27 February 2008 (UTC)
oh, and how do you get spam blacklisting to work?? plus one more question, what's the legalities of using the logos from Wikisource for my wiki? -- 12:59, 26 February 2008 (UTC)
Is there a spam blacklisting extension that you are referring to? Or if you are referring to an IP address you want to block? Go to the IP's userpage or talkpage and you will have a link in your Toolbox named "Block user" or you can go to Special:Blockip. -PatPeter, Tournesol.pngMediaWiki Support Team 00:16, 27 February 2008 (UTC)
Plus, how will I add extra namespaces/talk page namespaces?? -- 13:00, 26 February 2008 (UTC)
See Manual:Using custom namespaces. -PatPeter, Tournesol.pngMediaWiki Support Team 00:16, 27 February 2008 (UTC)
Updated links to point to correct locations. As for legalities, check each images image page and look at the copyright status. Some are Public Domain, others are copyrighted and cannot be used. --Skizzerz talk - contribs Tournesol.pngMediaWiki Support Team 02:27, 27 February 2008 (UTC)

~ Seb35 09:00, 27 February 2008 (UTC)

Thanks so far for the help. I did try Special:Import but I couldn't get every revision of a page, e.g. Template:Hoax for example. However, I'm not sure how to get transwiki working properly. Thanks so far. Alex @ -- 13:10, 27 February 2008 (UTC)
  • Apologies for the IPs vandalism on other Wikimedia projects: it was wardriving that turned this IP into an open proxy, but it should be secure now. -- 13:10, 27 February 2008 (UTC)
I was trying to copy Wikimedia's setup on a WAMP server, just for testing purposes, but can't qyite figure out how to do it. I got steward rights working fine, e.g. Testuser@wikinumber1 from (none) to sysop, bureaucrat e.g. Testuser@wikisite2 from sysop to sysop, checkuser

Anyone know how Wikimedia uses their LocalSettings.php file. Alex @ -- 13:14, 27 February 2008 (UTC)

[1] --MF-Warburg 15:19, 9 March 2008 (UTC)

(RESOLVED) Installation - mysqli db authentication issue

  • MediaWiki: 1.11.0
  • PHP: 5.2.5 with the Suhosin Patch
  • MySQL: 5.0.18
  • URL: intranet site http://mywiki/
  • OS: FreeBSD 6.0-RELEASE#0

I have been unable to install via http://mywiki/config/index.php. I keep getting the following error:

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...failed due to authentication errors. Check passwords. Something's not quite right yet; make sure everything below is filled out correctly.

The Superuser name and password fields are flaged "check username" and "check password".

super user was created:

 mysql> GRANT ALL PRIVILEGES ON *.* TO testuser@localhost IDENTIFIED BY 'testing' WITH GRANT OPTION;
 mysql> flush privileges;

I have tried changing the user password to the old_password support via:

 mysql> set password for testuser@localhost = OLD_PASSWORD('testing')
 mysql> flush privileges;

I have had trouble in the past with apps that use mysql instead of mysqli extensions. eg:

$mysqli = new mysqli("localhost", "testuser", "testing");
if (mysqli_connect_errno()) {
  printf("Connect failed: %s\n", mysqli_connect_error());

printf("Protocol version: %d\n", $mysqli->protocol_version); 

echo "<hr />";

link = mysql_connect("localhost", "testuser","testing");
if (!$link) {
  die('Could not connect: ' . mysql_error());
printf("MySQL protocol version: %s\n", mysql_get_proto_info());


Protocol version: 10

Could not connect: Access denied for user 'root'@'localhost' (using password: NO)

Any ideas would be greatly appreciated !!

Thank you, —jeff 18:23, 27 February 2008 (UTC)

It's saying it's failing to connect as root, but the passwrod you're setting is for testuser --Nad 20:20, 27 February 2008 (UTC)
I realize that. This has something to do with mysqli. Anyone have any ideas ? - jeff - 13:20, 29 February 2008 (UTC)
I had a comparable error message. Accidently in php.ini the setting sql.safe_mode = on was set. This lead to a conflict with my database username for the wiki. I could solve it by setting sql.safe_mode = off. -- 12:02, 29 May 2008 (UTC)

(RESOLVED) URL changed

I had to move my Wiki to a different folder. It is now at instead of

How do I fix the issues this caused? -- 20:36, 8 March 2008 (UTC)

What issues did you have? At least you must change $wgScriptPath in your LocalSettings.php from "/tv" to "/mvc". --MF-Warburg 15:15, 9 March 2008 (UTC)

(OUTDATED) /config/index.php shows a blank page shows a blank page. however, is not blank.

Mahdi 15:08, 10 March 2008 (UTC)

(OUTDATED) Special Char -> Blank page by change or create a site

Hello, i think it's only a little problem. I can set topics and edit them -> all works fine! BUT ä/ö/ü/ß or something like that make problems! If i click on submit a blank page comes. Database is UTF-8 (german) and also it seems that the MEDIAWIKI PHP/HTML headers also. Somebody got an idea? Thanks for your time.

(Sorry for my bad english) Best regards Martin Keckeis — 11:03, 11 March 2008 (UTC)

(RESOLVED) Broken link ...


Manual:Downloading MediaWiki

this link is broken: download:mediawiki/1.11/mediawiki-1.12.0rc1.tar.gz It probably should read: download:mediawiki/1.12/mediawiki-1.12.0rc1.tar.gz63.231.91.154 03:02, 12 March 2008 (UTC)

Probably, but this is not the place to report it. -PatPeter, Tournesol.pngMediaWiki Support Team 02:41, 27 March 2008 (UTC)
Actually it has been fixed. -PatPeter, Tournesol.pngMediaWiki Support Team 02:42, 27 March 2008 (UTC)

(OUTDATED) Installation error

Executing Installation I get this error. I didn't leave any password as default... any suggestions?

Creating tables... using MySQL 4 table defs...Query "CREATE TABLE `wiki_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 "BLOB/TEXT column 'user_password' can't have a default value (localhost)".'''


(RESOLVED) Getting Error after the instalation compplets


I have just installed MediaWiki 1.12.0rc1 and when going to the Main Page I am getting a PHP error for the DOMDOCUMENT and I am stumped.

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

I am running PHP5.1.6 and Apache2.2 on linux.

Let me know what I can do to solve this issue.

Thank You for Your Support, Micah Coletti —Mcoletti 20:07, 13 March 2008 (UTC)

I had the same problem with a fresh install of mediawiki 1.12.0rc1 on PHP 5.2.5 / Apache 2.0.52-32.3.en It was solved by installing the php-xml rpm.
Sylvain —The preceding unsigned comment was added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]]) . Please sign your posts with ~~~~!
Thanks Sylvain for you quick response,
I have been looking for the php-xml rpm and I can only find one for php4 and it will not install. Do you know where I can get the php-xml rpm that will work for php5.1? Thank you so much for your help.
There is no DOM package for php5 because it comes inbuilt, you must have it disabled. Run a phpinfo() script and see what's enabled and disabled, and check your php.ini. --Nad 18:51, 18 March 2008 (UTC)


I had the same issue and ran the following to resolve, as mentioned above!

yum search php-xml

php-xml.i386 5.1.6-15.el5 base Matched from: php-xml The php-xml package contains dynamic shared objects which add support to PHP for manipulating XML documents using the DOM tree, and performing XSL transformations on XML documents.

yum -y install php-xml.i386

+-+-KHutchinson —The preceding unsigned comment was added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]]) . Please sign your posts with ~~~~!

Thanks guys. Remember to -HUP (restart) your HTTP server. (RHEL: service httpd restart). Developers: Please document this! This is a required PHP extension and should be mentioned in the INSTALL page. I don't think wading through the "Recent changes" to find this is fair. --Otheus 11:33, 30 June 2008 (UTC)

(RESOLVED) Unable to configure media wiki at first installation

I am having difficulty installing the software on the server. I am getting ratty with it and so am probably missing something very simple. I cannot get any further than navigating to the page where it says MediaWiki 1.12.0rc1 Please set up the wiki first. When I click on the link in this page I get 500: Internal Server Error (Sorry, the page you requested is not currently available. This is because the server has encountered a problem is creating the page for you.)

As far as I know, I am using an Apache server - it is one provided by I downloaded the package, unzipped it and uploaded the whole folder as is to the public_html folder. I set the permissions for the config folder to 777 using the cpanel (actually I changed all the parent to 77 to be sure)I don't know what else to try...

I Have checked and php 5 appears to be supported (in cpanel it is listed as a mime TYPE - application/x-httpd-php .php .php4 .php3 .phtml php php3 php4 php5 php6 )and in checking that I just discovered that front-page extensions are installed. The mysql server is not part of my site but is part of the hosting package and is accessed via phpMyAdmin which says Server version: 4.1.22-standard-log

hope you can help and see what I am missing


Mark —Mjltigger 01:26, 17 March 2008 (UTC)

Check you php error log to see what the error is, or change your php.ini to turn on error reporting. --Nad 18:47, 18 March 2008 (UTC)
thanks - I have chased this down with my host and it appears only php4 is installed so am going to try again with an older version of wikimedia

(OUTDATED) "No input file specified." error

Had issues with the host some time back with PHP (they upgrade to 5 without notice or testing) and attempted to upgrade to the latest wiki to resolve it.

Host downgraded PHP to the current version before this could be completed.

Uploaded the backed up copy of the wiki files back to the host and when going to config it says the wiki is already setup.

When I go to the index, I get "No input file specified."

Darkwater 04:49, 20 March 2008 (UTC)

(OUTDATED) MediaWiki does not install with PostgreSQL 8.3.0

  • MediaWiki: mediawiki-1.12.0rc1.tar.gz
  • PHP: PHP 5.2.5 with Suhosin-Patch (cli) (built: Jan 16 2008 23:26:34)
  • MySQL: not used
  • PostgreSQL: 8.3.0
  • URL: internal, not available on internet

Fixed: problem was: database wikidb had not been manually created. Installation procedure and instruction rather confusing as to what needs to be done manually and what is automated.

Mediawiki fails to install on SuSE Linux 10.3 (64-bit PC), with PostgreSQL 8.3.0, PHP5, apache 2.2.4

uname -a: Linux pcname #1 SMP 2007/11/19 15:02:58 UTC x86_64 x86_64 x86_64 GNU/Linux

PostgreSQL running locally on port 5438 (not the default port): Result from SELECT version() is:

PostgreSQL 8.3.0 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.2.1 (SUSE Linux)

The results from the mediawiki install in http://servername/sitename/config/index.php5 is:

some confusing error message regarding connection (not saying that the problem is that there is no wikidb database) Checking the version of Postgres... Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /srv/www/htdocs/sitename/includes/DatabasePostgres.php on line 553 Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /srv/www/htdocs/sitename/includes/DatabasePostgres.php on line 989 Could not determine the numeric version from !

Basically line 989 returns an empty string.

Fgenolini 18:12, 20 March 2008 (UTC)

(OUTDATED) Installation Parse Error

  • MediaWiki: (Reported by your Wiki's Special:Version page)
  • PHP: (5.x)
  • MySQL: (4.x)
  • URL: [2]

When I try to install I get this message:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/ on line 227

I have first changed the 16 character Db username limit to 20 because my host has pre-set something I have to addon to. I just changed the 16 to 20, and nothing else. I can't seem to figure out what is missing here. Any help would be appreciated. 18:10, 23 March 2008 (UTC)

(RESOLVED) Setting up multiple wikis by using the same source code

  • MediaWiki: (Reported by your Wiki's Special:Version page)
  • PHP: 5
  • MySQL: MySQL 5.0
  • URL: and science.mymathnotebook

Hey I am trying to set up multiple wikis but use the same source code and was wondering if ther was a simple solution. Please contact me at Thanks 19:39, 24 March 2008 (UTC)

See Manual:Wiki family --Nad 20:06, 24 March 2008 (UTC)

(RESOLVED) Installation on a regular Windows 2003 server

Don't have access at this time to a web server. Wondering if I could install MediaWiki on our Windows 2003 server for pratice and development purposes. Then when our server is available move it to that server.

Lin —Lin light 20:53, 24 March 2008 (UTC)

I don't know for sure, but I beleive that it is possible. Smaug 21:36, 24 March 2008 (UTC)
I just came across Manual:Newcomers guide to installing on Windows and thought you might like to see it. Smaug Tournesol.png 19:19, 14 May 2008 (UTC)

(RESOLVED) Editing the Special:Version page

  • MediaWiki: 1.13.0
  • PHP: 5.2.4-2ubuntu5.3
  • MySQL: 5.0.51a-3ubuntu5.1

Can I edit the Special:Version page on my wiki? Just get rid of the warranty information (I will consider myself warned).

I will leave in the first paragraph with credits and copyrights. I will not distribute this software in this form to anyone.

Is this legally allowed? Thanks. Smaug 02:24, 25 March 2008 (UTC)

It seems like I should be able to, as there is nothing I see prohibiting me from doing as I describe above. I'm doing it. Smaug Tournesol.png 20:18, 13 April 2008 (UTC)

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

  • MediaWiki: 1.5.3
  • PHP: 5.0.4
  • MySQL: 4.1.20
[root@tuswiki maintenance]# php refreshLinks.php
Refreshing links table.
Starting from page_id 1 of 3060.
PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/wiki/includes/Preprocessor_DOM.php on line 566

After completed upgrading to mediawiki 1.12.0, it failed when I run the refreshLinks.php script to up the link tables. I got blank screen when I access wiki. Please help.

Thanks for your attention. 21:07, 25 March 2008 (UTC)

You need to have the 'php-xml' package installed. Then you need to restart Apache:

sudo yum -y install php-xml
sudo service httpd restart 21:14, 27 March 2008 (UTC)

There is a quick fix, Add this to LocalSettings.php

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

Thats all. Jeblad 20:09, 28 March 2008 (UTC)

(RESOLVED) Unable to Configure Email

  • MediaWiki 1.9.3
  • Windows Server 2003
  • MySQL 5.2

I've been running a wiki site on my server for a while, but I never set up the email feature. Now I'd like to do that, but I don't know where to start. I can't find any documentation on configuring email here at, and I can't find any email configuration page on the wiki site itself. I found a couple of settings in LocalSettings.php, but no place to specify basic configuration settings like the SMTP server and email account. I know this stuff must be documented somewhere. Can someone point me in the right direction? —The preceding unsigned comment was added by (talkcontribs) 15:50, 29 March 2008. Please sign your posts!

What are you looking to do with the email feature? -PatPeter, Tournesol.pngMediaWiki Support Team 02:31, 1 April 2008 (UTC)
Mainly, I'd like to allow users to watch pages. Also, I believe MediaWiki uses email to do things related to user accounts -- informing a user when an account is created for him, and informing a user when his password is reset. I'd like to enable those features also. -TC 7:08, 1 April 2008
I continued to research this issue, and I can now answer my own question. First of all, there are lots of posts related to email questions at From various comments there, I learned that MediaWiki does not require any email configuration; it uses the email configuration of the PHP software. I'm not sure exactly what fixed the problem, but by messing with php.ini and the settings in my SMTP server, I was able to get MediaWiki notifications working. -TC 7:54, 3 April 2008

(RESOLVED) Cannot access my MAIN PAGE on Mediawiki

Hi, I got my Mediawiki installed and running yesterday. The problem is that when I try to get to the MAIN PAGE I'm getting a blank page. However if i try to get to any other page it seems to work fine. The main page is visible - only when I log into the system. Thank you


Works fine for me. Smaug Tournesol.png 20:45, 28 April 2008 (UTC)

Sorry, but the problem continues. I've found a good documentation of the same problem with DRUPAL system Here Ariel

Hi Again,

I want to try and refine the problem described above. Most pages, including the home page in our Wiki load just fine on first click. However, the problem seems to occur on susbequent clicks on the same line or when refreshing the page. This doesn't only happen on the main page but on any other page that is clicked/refreshed more than once. We are lost with this problem and can't go "on air" until we resolve the issue.

We will greatly appreciate assistance with this matter.

Ariel and Alex

Again, I do not experience this problem even when refreshing and such. Perhaps it is something to do with your browser settings (which I can not help you with)? Try to cause the problem from a friend's computer, if you can. See if it happens the same. Smaug Tournesol.png 17:53, 11 May 2008 (UTC)

Hi Smaug, thanks for your help.

Me and Ariel live on two sides of the pacific and use different computers- but we have the same problem. We have made some progress today in realizing 2 things: 1. Both of us are using Firefox and when we tried our wiki on IE, there was no problem, even after clicking on a link many times (which makes me guess you were trying it out with IE?) 2. In Firefox, this seems to be related to the browser's cache- both me and Ariel tried clearing the cache many times today, and in all cases it fixed the problem once (i.e.- next time I click on a link it will go balnk again, and I will again have to clear the cache). I was hoping that this will give you some new ideas as to the potential soource of the problem?

Have a good one,

Alex & Ariel — Preceding unsigned comment added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]])

Yup, I use IE! Good work. Unfortunately, I don't have experience in Firefox or have an idea about what the problem could be. Sorry that I can't be of further help. I'm sure someone else on here will know. Smaug Tournesol.png 13:57, 12 May 2008 (UTC)
I found that you can set the cache to 0 (zero) and that solved my PHP debug problem. This will not solve the problem as such but it will get you a bit further?
Also I found a debug tool called FireBug that will plugin to FireFox and give you all kinds of nice info. Check it out?
Finally there is a IE plugin to Firefox. --Asset 07:44, 11 August 2008 (UTC)

(RESOLVED) Google Citing

Hello! Why can't I find my wiki in the Google, when I did input the URL of my wiki into the search field? Where can I input the robot metas in my wiki, to make sure, that Google finds my site? Doc Taxon 07:58, 30 March 2008 (UTC)

It will take a little while for Google to show your site in the search results. Submit your site to google, and give it time.
As for the robots.txt file, you can see the Wikimedia robots file here and's page on that subject. Smaug 15:12, 30 March 2008 (UTC)

(RESOLVED) PHP wrong version.... but it isn't!

  • MediaWiki: (Reported by your Wiki's Special:Version page) 1.12 - can't get at version page
  • PHP: 5.2.5 (according to php --version)
  • MySQL: mysql Ver 14.12 Distrib 5.0.45, for unknown-linux-gnu (x86_64) using readline 5.0 (according to mysql --version)
  • URL: MurkWiki

I've just installed mediawiki, all went well, then I started getting referred to this page. I did php --version and I'm on version 5.2.5 with hostmonster I'm trying to run mediawiki latest (1.12) It was working fine for a short while, and then went belly up with "PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x or higher. ABORTING. ( for details)"

I am running 5.1.x or higher, I'm on 5.2.5!

This may be a bug with mediawiki or php - just trying to let someone know.

UPDATE: Running /index.php5 in the browser gets me in again, however... this isn't very elegant...

UPDATE2: I created the file .htaccess in my wiki installation, and added the line:
DirectoryIndex index.php5
All seems good now.
By the way, the $wgLogo instructions appear out of date, as there is no longer $wgLogo in the LocalSettings.php 08:38, 30 March 2008 (UTC)
The instructions are not out of date. $wgLogo is not in LocalSettings.php, you have to add it in there. Simple. --Sayuri 12:57, 30 March 2008 (UTC)
I've been going round in circles for days over the blank page problem. The .htaccess tip worked perfectly. Cheers - Migs

(OUTDATED) MediaWiki keeps redirecting to a non-SSL page from an SSL-page

  • MediaWiki: 1.12.0
  • PHP: 5.2.5 (apache2handler)
  • MySQL: 5.0.51a
  • URL: Local net

I have MediaWiki installed on a FreeBSD machine. The page is accessible from a VirtualHost that is SSL-secured. I can directly access a page like so:

but when I do this:

It sends me to which is not found.

Also, when I edit a page and save it, it then forwards me to a plaintext page again. Even when it sends out a email confirmation messages, it gives an http address instead of https (which of course doesn't work)

Any suggestion? — 13:40, 30 March 2008 (UTC)

(OUTDATED) Altervista

Hi I've tried to install a mediawiki inside my altervista account: I copied all the files on php5 folder on altervista but whe I try to open page for the installation I get the follow error

Notice: ini_set() has been disabled for security reasons in /membri/starwiki/php5/wiki/config/index.php on line 33
Notice: set_time_limit() has been disabled for security reasons in /membri/starwiki/php5/wiki/ on line 31
Notice: Use of undefined constant AV_NO_VIRUS - assumed 'AV_NO_VIRUS' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 272
Notice: Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 273
Notice: Use of undefined constant AV_SCAN_ABORTED - assumed 'AV_SCAN_ABORTED' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 274
Notice: Use of undefined constant AV_SCAN_FAILED - assumed 'AV_SCAN_FAILED' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 275
Notice: Use of undefined constant AV_NO_VIRUS - assumed 'AV_NO_VIRUS' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 286
Notice: Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 287
Notice: Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 288
Notice: Use of undefined constant AV_SCAN_FAILED - assumed 'AV_SCAN_FAILED' in /membri/starwiki/php5/wiki/includes/DefaultSettings.php on line 289
Warning: require_once(includes/ProfilerStub.php) [function.require-once]: failed to open stream: No such file or directory in /membri/starwiki/php5/wiki/config/index.php on line 50
Fatal error: require_once() [function.require]: Failed opening required 'includes/ProfilerStub.php' (include_path='.:/membri/starwiki/php5/wiki:/membri/starwiki/php5/wiki/includes:/membri/starwiki/php5/wiki/languages') in /membri/starwiki/php5/wiki/config/index.php on line 50

What was wrong?

Claudia — 17:53, 6 April 2008 (UTC)

(OUTDATED) 500 Internal Server Error - HELP!

After uploading version 1.12.0, I changed the config dir to 777 and then opened my browser to the main index.php. I got the screen that had the sunflower logo and said "Mediawiki 1.12.0 please setup the wiki first". I clicked the link and then get this: "The server encountered an unexpected condition which prevented it from fulfilling the request. The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log."

From what I can find on searching google this is due to a function not supported by my hosting providers implementation of PHP5. Unfortunately I'm not seeing anywhere that tells me all the settings for PHP5. However I can modify my php.ini so I post it below. Any help would be greatly appreciated, THANKS

UPDATE: I removed the php.ini file since it seemingly was of little help. —PhilipHewitt 12:56, 11 April 2008 (UTC)

I am unsure how to check if mysqli is functioning...can anyone point to a quck script to test? -PhilipHewitt 13:12, 14 April 2008 (UTC)


  • MediaWiki: 1.12.0
  • PHP: 5.2.5
  • MySQL: 4.1.20

Are PHPs built with mysqli supposed to work with MediaWiki? I have a PHP 5.2.5. built with with-mysqli instead of with-mysql and the config script insists it was built without Mysql support: "Could not find a suitable database driver!" Thanks.

Thanks. 00:10, 12 April 2008 (UTC) —Wsanders14 00:15, 12 April 2008 (UTC)

(RESOLVED) error-message Class 'ParserOutput' not found after installing

Hi, after installing the Wiki I get the following error-message:

} } /** * Override the title to be used for display * -- this is assumed to have been validated * (check equal normalisation, etc.) * * @param string $text Desired title text */ public function setDisplayTitle( $text ) { $this->displayTitle = $text; } /** * Get the title to be used for display * * @return string */ public function getDisplayTitle() { return $this->displayTitle; } /** * Fairly generic flag setter thingy. */ public function setFlag( $flag ) { $this->mFlags[$flag] = true; } public function getFlag( $flag ) { return isset( $this->mFlags[$flag] ); } }

Fatal error: Class 'ParserOutput' not found in /mnt/web7/52/20/531620/htdocs/wiki/includes/Parser.php on line 211

Thx for your help,


PS: After Installation into a different directory it works. 17:03, 14 April 2008 (UTC)

(RESOLVED) Installation seemed okay, but pages load verrrrrrry slowly

  • MediaWiki: 1.6.10
  • PHP: 5.0.2 (apache2handler)
  • MySQL: 4.0.24
  • URL: Biology

The webmaster for our department server did a basic installation of MediaWiki at my request, then turned the files and responsibilities over to me (also at my request). The wiki is operational, but as the header suggests it takes a surprisingly long time to load any page within the wiki (often 10-15 seconds, far longer than either non-wiki pages on our or other servers, and far longer than pages from other MediaWikis, including this one). And when I replaced the 24K Logo image, with a sleeker 7K image, it seems to be taking if anything even longer, often 20-30 seconds. I've spent quite a while poring through the MediaWiki site and haven't found an obvious possibility to even explore. Again, the pages do get loaded. Eventually! Any ideas? Thanks!

Alan H 15:13, 14 April 2008 (UTC)

I thought I added some comments earlier, but maybe I closed the tab before saving. I have two suggestions:
  1. ) Upgrade to a newer version of MediaWiki. The latest version is 1.12.* and there have been some speed improvements.
  2. ) Find out what kind of hardware the site is running on. If it is an older machine or a machine that does many tasks (probably likely for a departmental server), then that may affect the loading speed. --Barista 04:46, 9 June 2008 (UTC)

(RESOLVED) Fatal error: Class 'DOMDocument' not found

Fatal error: Class 'DOMDocument' not found in /home/u4/moonman/html/mediawiki-1.12.0/includes/Preprocessor_DOM.php on line 566 18:46, 16 April 2008 (UTC)

Thanks in advance for any help you can provide...I had the 1.11.1 version running just fine.



See #(RESOLVED) PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/wiki/includes/Preprocessor_DOM.php on line 566. iAlex 18:48, 16 April 2008 (UTC)

(OUTDATED) General installation question

How do I install this stuff? I have NO idea how to extract all of these fileS! :( PLEASE, help me, ASAP! :( 21:35, 17 April 2008 (UTC)

(OUTDATED) Installation help!

  • MediaWiki: 1.10.0
  • PHP: 5.2.3
  • MySQL: 5.0.45

I'm trying to install your product on a Windows 2003 R3 Service Pack 2 server. I have IIS installed, I have installed 1.10.0 software for wiki, I have installed mysql 5.0.45 and php5.2.3. I am unable to bring up the very first page in a browser to set up my settings. I can only read the index.php files through notepad. On the manual it states to accomplish a virtual I need to do this? I'm confused as how to proceed from here.


I have managed to install the software and even get the index.php to read as a web page on my server. I'm using I.E 6.0 (is that a problem?) My Wiki is reporting that magic_quotes_runtime, magic_quotes_sybase and mbstring.func_overload need to be disabled. How does one do this? I'm not getting or able to create a LocalSettings.php file either. Any help would be appreciated.

(RESOLVED) I'm just seeing a blank page

  • MediaWiki: 1.12.0
  • PHP: 5.1.6
  • url: [3] (blank)

The installation page [4] says the software has been installed successfully but the page it should be at [5] is blank. Any ideas what I need to change?

Did you delete the /config directory? Did you move LocalSettings.php from wherever it is to the directory?
If you have already done this, or do this and it does not work, delete everything and try reinstalling it. If you reinstall, I reccomend choosing a directory other than /wiki/. If you want to have short urls appear to be in the "wiki" directory, a directory called "wiki" should not exist. Smaug Tournesol.png 21:29, 25 April 2008 (UTC)
I have deleted those and reinstalled the whole thing twice - same problem every time. 12:28, 27 April 2008 (UTC)
I've tried it again as [6] now and still the same. The config page says it's been installed successfully and gives a link to the wiki - but the page is blank. Any ideas? 13:07, 27 April 2008 (UTC)
Localsettings.php is in the wiki directory (it is not automatically put there, you must ftp in and move it)? (I know I already asked this, but you didn't specify that you did it, so I thought I'd check.) Smaug Tournesol.png 17:09, 27 April 2008 (UTC)
Yes, I moved it into the wiki directory each time I installed it (four times now). I think I have to accept the script doesn't work on my server. 14:47, 29 April 2008 (UTC)
Same problem, add this line to your LocaleSettings.php (solution is also described above)
$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';
Great advice! Adding this line to LocalSettings.php worked for me too, after 5 "blank page" installations. I had the blank page problem with MediaWiki v1.12.0 and php 5.2.1. Thanks.


I've the same problem. the post

See #(RESOLVED) PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/wiki/includes/Preprocessor_DOM.php on line 566. iAlex 18:48, 16 April 2008 (UTC)

fixed it for me, but no the code to add in LocalSetting.php

(RESOLVED) Get error with install script

Get error with install script "Warning: shell_exec() has been disabled for security reasons in /home/wouyy20/public_html/wiki/config/index.php on line 1822"

I am using MediaWiki 1.12.0, PHP 5.2.5, MySQL 5.0.45 When I run the install script, i get this error:

· PHP 5.2.5 installed
· Found database drivers for: MySQL
· PHP server API is cgi; 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.

Warning: shell_exec() has been disabled for security reasons in /home/wouyy20/public_html/wiki/config/index.php on line 1822

What does this error mean?
I already changed the /config folder permission to chmod 777, so it cant be it.
I am on a shared hosting service. 21:57, 25 April 2008 (UTC)

Possibly you php.ini has a line disable_functions = and lists shell_exec. This means PHP will not execute these functions in *.php scripts. So may be check out your php.ini or just disregard that warning message. Regretable, my knowledge is not deep enough, if mediawiki needs that function for real or not. -- 12:10, 29 May 2008 (UTC)

(OUTDATED) SVN problem

where do I find a list of MediaWiki revisions so that I can pick and choose downloads from SVN?? Thanks, AP aka -- 21:46, 27 April 2008 (UTC)

Have a look atdownload:mediawiki/or Important Release Notes perhaps? --:bdk: 19:07, 3 September 2008 (UTC)

(RESOLVED) Neverending Redirection to Main_Page from all Pages


i have updated my Mediawiki from 1.8.0 to 1.12.0. Since this Update all Page Request redirect in an neverending loop to the Mainpage. I can not acces any other Pages, there all be redirectet to Main_Page.

Firefox reports an Redirection Error, IE Shows the Main_Page.

Can anythere help me?

Best Regards

Christain — 11:38, 6 May 2008 (UTC)

Perhaps you have a URL rewriting scheme that is incompatible with the new version? Do you have $wgUsePathInfo set to true when it shouldn't be? —Emufarmers(T|C) 01:06, 7 May 2008 (UTC)

(RESOLVED) index.php doesn't work

  • MediaWiki: 1.12.0
  • PHP: 5.0.3
  • MySQL: 4.0.24

at /wiki or /wiki/index.php i get a "Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/sitename/wiki/includes/Exception.php on line 182"
but wiki/index.php5 works fine
how can i solve it cos it's a bit annoying [or at least redirect to php5 extension automatically]

thanks, Ran — 18:52, 10 May 2008 (UTC)

Hello! I get a very similar error message when disabling php5 support at my web host (so it falls back to php4). The workaround to make php5 running used at my web host you may find here: Hope it will be useful. Regards -- 19:13, 27 May 2008 (UTC)

(OUTDATED) Warning: dba_open (...) [function.dba-open]: No such handler: db3 in BagOStuff.php on line 687

Multiple Lines of one Warning after Installation:

Warning: dba_open(/mnt/web1/42/45/51585545/htdocs/nrgpro/nrgwiki/images/tmp/mw-cache-DB300900-nrgwiki_.db,cl) 
[function.dba-open]: No such handler: db3 in /mnt/web1/42/45/51585545/htdocs/nrgpro/nrgwiki/includes/BagOStuff.php on line 687

After Installation of MediaWiki on each site of my wiki I get the above shown warning multiple times. Can you help me? Sorry if I'm asking somehow "blonde", I'm just a rookie... 14:32, 14 May 2008 (UTC)

(RESOLVED) Old version of Wiki (Phase 3)

  • Linux : Mandrake 9.2
  • MediaWiki: Phase 3 (predates mediaWiki)
  • PHP: 4.3.3
  • MySQL: 4.0.15

I have a very early implementation of Wiki (called Phase 3). It was setup as an internal Comapny collaboration and communication tool some years back and has not been updated since. My question is - is there and upgrade/migration path from this Wiki to a newer more current version ?

Any help would be much appreciated.

Brendan Mullen

Anyone got anything to add tot tis one. We love this wiki but really want to get it updated and onto newer hardware...

Brendan Mullen

Look at the Caveats section (it's towards the bottom) of the upgrade notes; there's an upgrade path from Phase 2 up through 1.4.3 and then some further notes right above that. —Emufarmers(T|C) 22:39, 9 May 2008 (UTC)

(OUTDATED) Full diffs in RSS/Atom

  • MediaWiki 1.12.0
  • PHP 5.2.5 (cgi)
  • MySQL 5.0.44-log

Hi I just upgraded to 1.12.0 version of MediaWiki from 1.10.0. On the 1.10 version the RSS feed gave the full diff in two columns very comfortable to read in Brief. Since 1.12 only the title of the changes remains. How is it possible to have the full diff within 1.12 version ? I tried the Manual:$wgFeedDiffCutoff but without success. Thanks for your help.

--Dieudo 14:39, 8 May 2008 (UTC)

I have the same problem. :-( -- 01:11, 7 June 2008 (UTC)

(RESOLVED) Missing defaultsettings.php?

Hi, I recently took over administration of a wiki site and have succesfully managed to install a couple of extensions. Now I'm having no luck at all with HTML enabling extentions and have done some research.

When thinking I should check the defaultsettings.php for errors I couldn't find it at all. Could the old administrator have somehow deleted it but still the wiki is operational?

Could this cause any problems?

Below is the list of folders and files in my wiki Ftp with FOLDERS listed in CAPITAL letters.

  • AdminSettings.sample
  • api.php
  • api.php5
  • BIN
  • logo.gif
  • config
  • copying
  • DOCS
  • faq
  • history
  • img.auth.php
  • img.auth.php5
  • index.php
  • index.php5
  • Install
  • Localsettings.php
  • Makefile
  • MATH
  • opensearch-desc.php
  • profileinfo.php
  • Readme
  • redirect.php, .php5 and .phtml
  • Release-notes
  • Startprofiler.php
  • T
  • Test.php
  • thumb.php & .php5
  • trackback.php
  • Upgrade
  • wiki.html

Is your recommendation to create a new defaultsettings.php (if so: where does it go?), reinstall the whole wiki, or somethings else?

Thanks for the help, Andreas Wieslander — 20:03, 8 May 2008 (UTC)

DefaultSettings.php should be in the INCLUDES folder. Is it not there? Smaug Tournesol.png 20:36, 8 May 2008 (UTC)

sigh... Yes it is.. thanks for clearing that out. / Andreas

HTH :) Smaug Tournesol.png 01:00, 9 May 2008 (UTC)

(RESOLVED) Does this work in Windows?

Running Windows server with MySQL...will this program run?

If you have the correct versions of MySQL and PHP it will run fine on Windows, I'm almost certain. Smaug Tournesol.png 20:59, 12 May 2008 (UTC)
I just came across Manual:Newcomers guide to installing on Windows and thought you might like to see it. Smaug Tournesol.png 19:36, 14 May 2008 (UTC)

(RESOLVED) co-written book, but owned by one person?

hi! i'm writing a reference book with the help of some volunteers. it will be online so we can collaborate (maybe using mediawiki). but all their contributions will be the property of me and they will agree to that beforehand, fully aware of everything. so i can publish it one day. give them a free copy. but if i make any money or profit from the book sales, it will only go to me. is mediawiki a good tool for this kind of project? 21:04, 13 May 2008 (UTC)

Well if MW is a good tool depends on what form you want your collaboration to take. But legally MW is fine. You can put any sort of license on the content as long as you don't sell the MediaWiki software itself. Smaug Tournesol.png 21:11, 13 May 2008 (UTC)

(OUTDATED) Can non-English files in the /languages/messages/ folder be deleted before installation?

  • MediaWiki version = 1.12
  • PHP version = 5.2.5
  • MySQL Version = 5.0.45


My current test host does not support decompression of compressed archives which means that directories and files have to be uploaded manually. I want to install an English only version of MediaWiki but noticed that the the /languages/messages folder contains lots of non-English files. These take up over 18MB of space and will significantly increase file upload time. Can these files be successfully deleted before installation?

Thanks — 13:28, 16 May 2008 (UTC)

(OUTDATED) PC installation of Mediawiki using XAMPP package

  • MediaWiki: 1.12
  • PHP: 5.2.4
  • MySQL: 5.0.45

I have a query on above subject. I intend to go for a simple standalone installation of mediawiki on my PC, which is already using XAMPP package to run an open source LMS, "Moodle". How can I configure the package to run Moodle as well as mediawiki?

Prashant Dhodapkar, May 2008

(OUTDATED) After installation, strange effect appears...


I have installed a mediawiki for my company. But I meet some strange error when I'm changing language preferences and at this moment in time, all my web searches are unsuccessful.

If language is set to English or Latin: it's all right. If language is set to an another (for example French or Deutch), some weird effects appears! For example

Il n’y a pour l’instant aucun texte sur cette page ; vous pouvez 
 [[{{[[{{pecial}}:S}}rch/{{PA{{NAME}}|l}}cer une recherche sur le titre de cette page]], ]]rifier 
 qu'elle n'a pas été [{{full[{{:Special:Log|type=d|lete=page={{FULLP{{ENAMEE}}}} su}}}}mée] ou 
 [{{fullu[{{{{FULLPA{{NAME}}|actio}}|dit}} =odif}}r cette page].

Anothers examples:

Les préférences ont été sauvegardées.</str<ng></div<
Cette page a été consultée {{P{{RAL:8|8 |ois|8 |ois}}.}}

So many pages are broken... Have you seen this effect before and if someone has the solution, I will be truly grateful.

Xfigpower 08:41, 23 May 2008 (UTC)

Is there a link with the library PCRE 7.3? -- Xfigpower 12:59, 26 May 2008 (UTC)
[[Main Page|é]] is reinterpreted as [[Main Page|é]]] whereas [[Main Page|e]] works! -- Xfigpower 13:02, 26 May 2008 (UTC)

I have the same problem since a few days after automatic update of openSUSE my pages look like this

LTE -->
th=" 0%" tyle="vertical-align:top" | <div <tyl <"ma <in:0; margin-right:10px; border:2px solid #dfdfdf; padding:0em 1em 1em 1em; background-color:#ffffdf;">
== 31. 7. 1
    00, ENG Gruppenbesprechung 
    * Fr 
8., B 1.5-Runde
    * <s 
an<s yl<= co<or: rgb(255, 102, 0);">30.7. Rückgabe </span< </di< <</d< << [[ << [[e < [[]]

(RESOLVED) Fatal Error

i get this error Fatal error: Class 'DOMDocument' not found in /hosted/subs/ on line 566 on the main page so can u please help me 21:24, 23 May 2008 (UTC)

See #(RESOLVED) PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/wiki/includes/Preprocessor DOM.php on line 566. iAlex 14:13, 25 May 2008 (UTC)

(OUTDATED) Email-notification program: just sendmail?

  • MediaWiki: 1.11.0
  • PHP: 5.2.5
  • MySQL: 5.0.51

Hello! Is there any chance to use the built-in email functions of MediaWiki with another program than sendmail? (Company prefers use of Lotus Notes ... *sigh*) Thanks for reply! 16:20, 27 May 2008 (UTC)

(RESOLVED) Error upgrading

had to move servers and now the wiki's broke. imported the sql dump just fine, and i'm trying to upgrade to 1.7 (was 1.6). getting this error from the command line:

PHP Parse error:  parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/ on line 114
Content-type: text/html
X-Powered-By: PHP/4.3.9

Ideas? — 19:01, 27 May 2008 (UTC)

Since version 1.7 php5 is needed, I think. Have a look above at #index.php doesn't work, maybe there's some help. Regards -- 19:21, 27 May 2008 (UTC)

(RESOLVED) Blank Screen after upgrading to 1.12.0

  • MediaWiki: 1.11.1
  • PHP: 5.2.6 (apache2handler)
  • MySQL: 5.0.45
  • URL: on internal network

I upload the new files for 1.12.0 and then run the update.php script

Output of update.php:

Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds...0
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.

Then when I go to view the site's main page i just get a blank screen and the following line in the error log...

[Thu May 29 10:18:19 2008] [error] [client] PHP Fatal error:  Class 'DOMDocument' 
not found in .../includes/Preprocessor_DOM.php on line 566

(full path and IP were removed)

Any ideas on how to correct this ? I have reloaded the backups and ran the process again to have the same outcome. Thank you

Solved this my self... had to install php-xml 16:23, 29 May 2008 (UTC)

(OUTDATED) Error when starting installation

I get following here when installing:

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

PHP 5.2.6 installed Could not find a suitable database driver!
For MySQL, compile PHP using --with-mysql, or install the module 
For PostgreSQL, compile PHP using --with-pgsql, or install the module 04:34, 30 May 2008 (UTC)

(OUTDATED) Trouble installing

I uploaded the files, but rec'd this error when I went to the config folder to finish installing:

PHP 5.0.0 or higher is required. If PHP 5 is available only when PHP files have a .php5 extension, please navigate to index.php5 to continue installation. ABORTING.

I have:

  1. Server version: 5.0.45-community
  2. Protocol version: 10
  3. Server: Localhost via UNIX socket
  4. MySQL charset: UTF-8 Unicode (utf8)

when I browse to index.php5, in prompts me to download.

What do I do now?

- Doone — 14:39, 1 June 2008 (UTC)