Project:Support desk/Sections/Installation

__NEWSECTIONLINK__ = Installation/Legalities Support =

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. :-( --92.226.145.63 01:11, 7 June 2008 (UTC)

(RESOLVED) Cannot access my MAIN PAGE on Mediawiki

 * MediaWiki: v 1.11
 * PHP: 5.2.0
 * MySQL: 4.1.18
 * URL: http://www.psych-it.com.au/psychowiki psychowiki

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

Ariel


 * Works fine for me. Smaug [[Image:Tournesol.png|20px]] 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  [[Image:Tournesol.png|20px]] 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


 * 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  [[Image:Tournesol.png|20px]] 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) 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 en.wikisource.org) 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, —84.45.219.185 12:55, 26 February 2008 (UTC)


 * Did you try using Special:Import? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki 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? --84.45.219.185 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, [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:16, 27 February 2008 (UTC)


 * Plus, how will I add extra namespaces/talk page namespaces?? --84.45.219.185 13:00, 26 February 2008 (UTC)


 * See Manual:Using custom namespaces. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki 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 [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:27, 27 February 2008 (UTC)

~ Seb35 09:00, 27 February 2008 (UTC)
 * Category:Spam management extensions
 * To import pages from Wikimedia, you can use Special:Import but you need to have a file which comes from Special:Export ; the pages you import must have the GFDL license, see en:Wikipedia:Copyrights. To download all pages of Wikipedia, see http://download.wikimedia.org/
 * For Wikipedia, Wikisource and other logos, they are trademarked by the Wikimedia Foundation.


 * 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 @ --84.45.219.185 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. --84.45.219.185 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 @ --84.45.219.185 13:14, 27 February 2008 (UTC)
 * --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 0.9.6.2
 * 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:

result:

Protocol version: 10

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

Any ideas would be greatly appreciated !!

Thank you,

—jeff 216.8.138.75 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 -216.8.138.75 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. --92.117.246.245 12:02, 29 May 2008 (UTC)

/config/index.php shows a blank page

 * MediaWiki: 1.11.2
 * PHP: (5.2.5)
 * MySQL: 5.0.45-community
 * URL: http://kharid.x10hosting.com

http://kharid.x10hosting.com/config/index.php shows a blank page. however, http://kharid.x10hosting.com is not blank.

—Mahdi 15:08, 10 March 2008 (UTC)

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

 * MediaWiki: 1.9.3
 * PHP: 5.0.4
 * MySQL: 4.1.13
 * URL: http://empireking.com/wiki

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

—62.47.248.17 11:03, 11 March 2008 (UTC)

(RESOLVED) Getting Error after the instalation compplets

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Hello,

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)


 * Hello,
 * 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: (talk • 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.
 * —Mcoletti


 * 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: (talk • 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)

Installation error

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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

--MJHugo

Problems with download

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

I cannot acces the download page. Are the site down or?

Ditte Maria Bergstroem ditteberg [@] gmail [dot] com —90.184.14.119 16:12, 18 March 2008 (UTC)

"No input file specified." error

 * MediaWiki: 1.6.10
 * PHP: 4.4.8
 * MySQL: 4.1.22-standard
 * URL: http://www.malvagita.net/hqwiki

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)

MediaWiki does not install with PostgreSQL 8.3.0

 * MediaWiki: mediawiki-1.12.0rc1.tar.gz
 * PHP: PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (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 2.6.22.13-0.3-default #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)

Installation Parse Error

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

When I try to install I get this message:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/99k.org/t/e/c/tech-diy/htdocs/config/index.php 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.

—70.226.3.30 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: mymathnotebook.com 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 [mailto:ndobie@nickdobie.com ndobie@nickdobie.com]. Thanks

—75.104.185.86 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

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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 [[Image:Tournesol.png|20px]] 19:19, 14 May 2008 (UTC)

(RESOLVED) Editing the Special:Version page
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 [[Image:Tournesol.png|20px]] 20:18, 13 April 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 MW.org's page on that subject. Smaug 15:12, 30 March 2008 (UTC)

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. (http://bugs.php.net/bug.php?id=34879 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

—86.17.221.5 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

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: https://wiki.local.net/wiki/index.php/Special:Version

but when I do this:

https://wiki.local.net/wiki/

It sends me to http://wiki.local.net/wiki/ 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? —202.86.29.26 13:40, 30 March 2008 (UTC)

Altervista

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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 erro

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/install-utils.inc 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 —151.20.51.219 17:53, 6 April 2008 (UTC)

500 Internal Server Error - HELP!

 * MediaWiki: 1.12.0
 * PHP: 5.2.2
 * MySQL: 5.0.45
 * URL: http://www.ohioart2.com/wikimotive

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)

PHP in MySqli

 * MediaWiki: 1.12.0
 * PHP: 5.2.5
 * MySQL: 4.1.20
 * URL:

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.

—209.213.212.199 00:10, 12 April 2008 (UTC) —Wsanders14 00:15, 12 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)

error-message Class 'ParserOutput' not found after installing

 * MediaWiki: 1.12.0
 * PHP: 5.2.2
 * MySQL: 5.0.51
 * URL: http://www.familie-ahlers.de/wiki/index.php?title=Hauptseite

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,

Eicke

PS: After Installation into a different directory it works.

—89.182.143.192 17:03, 14 April 2008 (UTC)

Fatal error: Class 'DOMDocument' not found

 * MediaWiki: 1.12.0
 * PHP: 5.0
 * MySQL: 4.1.21
 * URL: http://www.jamesrregan.com/mediawiki-1.12.0/index.php?title=Main_Page

Fatal error: Class 'DOMDocument' not found in /home/u4/moonman/html/mediawiki-1.12.0/includes/Preprocessor_DOM.php on line 566 —71.121.4.240 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.

Regards,

Jim
 * See . i Alex  18:48, 16 April 2008 (UTC)


 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

How do I install this stuff? I have NO idea how to extract all of these fileS! :( PLEASE, help me, ASAP! :(

DELETE THIS => -->

—65.12.97.249 21:35, 17 April 2008 (UTC)

Installation help!
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 directory...do I need to do this? I'm confused as how to proceed from here.

Jason


 * MediaWiki: 1.10.0
 * PHP: 5.2.3
 * MySQL: 5.0.45

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.

Jason.

I'm just seeing a blank page

 * MediaWiki: 1.12.0
 * PHP: 5.1.6
 * url: (blank)

The installation page says the software has been installed successfully but the page it should be at  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 nlpconnections.com/wiki/ 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  [[Image:Tournesol.png|20px]] 21:29, 25 April 2008 (UTC)
 * I have deleted those and reinstalled the whole thing twice - same problem every time. 89.243.226.53 12:28, 27 April 2008 (UTC)
 * I've tried it again as 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? 78.147.158.252 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  [[Image:Tournesol.png|20px]] 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. 78.147.103.100 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.

Hi,

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

Another problem

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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.

—190.87.8.170 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. --92.117.246.245 12:10, 29 May 2008 (UTC)

Get error with install script

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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.

—190.87.8.170 21:59, 25 April 2008 (UTC)

SVN problem

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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

Neverending Redirection to Main_Page from all Pages

 * MediaWiki: 1.12.0
 * PHP: 5.1.6
 * MySQL: 5.0.27
 * URL: http://wiki.angermeier.net

Hello,

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

—217.188.193.73 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 01:06, 7 May 2008 (UTC)

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 bmullen@dcontinuum.com

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 bmullen@dcontinuum.com


 * 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 22:39, 9 May 2008 (UTC)

(RESOLVED) Missing defaultsettings.php?

 * MediaWiki: 1.11.0
 * PHP: 5.1.6 apache
 * MySQL: 4.1.22
 * URL: http://ruthlessearth.org/wiki BMS

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
 * EXTENSIONS
 * faq
 * history
 * HTMLETS
 * IMAGES
 * img.auth.php
 * img.auth.php5
 * INCLUDES
 * index.php
 * index.php5
 * Install
 * install-utils.inc
 * LANGUAGES
 * LOCALE
 * Localsettings.php
 * MAINTENANE
 * Makefile
 * MATH
 * opensearch-desc.php
 * profileinfo.php
 * PUBLIC
 * Readme
 * redirect.php, .php5 and .phtml
 * Release-notes
 * SERIALIZED
 * SKINS
 * Startprofiler.php
 * T
 * Test.php
 * TESTS
 * thumb.php & .php5
 * trackback.php
 * Upgrade
 * UPLOAD
 * 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

—83.254.96.42 20:03, 8 May 2008 (UTC)


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

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


 * HTH :) Smaug [[Image:Tournesol.png|20px]] 01:00, 9 May 2008 (UTC)


 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

—41.232.119.170 22:57, 9 May 2008 (UTC)

index.php doesn't work

 * MediaWiki: 1.12.0
 * PHP: 5.0.3
 * MySQL: 4.0.24
 * URL:

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

—217.10.38.61 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: http://wiki.hetzner.de/index.php/Wie_kann_festgelegt_werden_welcher_PHP_Interpreter_%28PHP4_oder_PHP5%29_.php_Files_ausfuehrt%3F Hope it will be useful. Regards -- 89.55.138.206 19:13, 27 May 2008 (UTC)

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 [[Image:Tournesol.png|20px]] 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 [[Image:Tournesol.png|20px]] 19:36, 14 May 2008 (UTC)

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?

—206.248.172.247 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. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 21:11, 13 May 2008 (UTC)

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

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (cgi)
 * MySQL: 4.0.27
 * URL: http://www.nrgpro.de/nrgwiki/index.php5

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

—212.59.45.34 14:32, 14 May 2008 (UTC)

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

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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

Hi

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

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

PC installation of Mediawiki using XAMPP package
Prashant Dhodapkar pkdhodapkar@oilindia.in
 * 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?


 * MediaWiki: 1.12
 * PHP: 5.2.4
 * MySQL: 5.0.45
 * URL:

After installation, strange effect appears...
Hello,

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 rch/cer une recherche sur le titre de cette page, ]]rifier qu'elle n'a pas été [mée] ou [r cette page]. <

Anothers examples: Les préférences ont été sauvegardées.</str<ng></div< Cette page a été consultée

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)
 *  é  is reinterpreted as  é]  whereas 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 --> wi

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

==T

==n

==*

== 31. 7. 1

00, ENG Gruppenbesprechung

* Fr

01.

8., B 1.5-Runde

* <s

an<s yl<= co<or: rgb(255, 102, 0);">30.7. Rückgabe </span< </di< <</d< << << [[e < [[ ]]

Fatal Error
i get this error Fatal error: Class 'DOMDocument' not found in /hosted/subs/com.net.sc/w/i/wikihgs/public_html/includes/Preprocessor_DOM.php on line 566 on the main page so can u please help me

—76.179.19.92 21:24, 23 May 2008 (UTC)
 * See . <font color="#66A7CC">i <font color="#9966CC">Alex  14:13, 25 May 2008 (UTC)

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!

—213.30.234.106 16:20, 27 May 2008 (UTC)

(RESOLVED) Error upgrading

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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:

Ideas?

—70.168.59.158 19:01, 27 May 2008 (UTC)


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

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.

... Done.

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 xxx.xxx.xxx.xxx] 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''' —166.33.78.205 16:23, 29 May 2008 (UTC)

Error when starting installation

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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 mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

—60.243.51.66 04:34, 30 May 2008 (UTC)

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

—151.203.109.89 14:39, 1 June 2008 (UTC)

GoDaddy

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 5.0
 * MySQL: not sure what you need to know
 * URL: http://www.OnlineSurvivalGear.com/EdibleandMedicinalplants

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,

—204.134.193.86 17:56, 2 June 2008 (UTC)

(RESOLVED) Blank pages after install.

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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? Thanks!

PS: according to phpini XML is installed: XML Support 	active XML Namespace Support 	active libxml2 Version 	2.6.20

—64.19.44.182 21:23, 2 June 2008 (UTC)


 * Ah!
 * Adding: $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';

to the LocalSettings.php file as indicated by an entry above fixed it!
 * --64.19.44.182 21:34, 2 June 2008 (UTC)

(RESOLVED) After installation ... oops!
if you can, answer in german. my english is not the best.


 * MediaWiki: 1.12.0
 * PHP: Er, do you mean the version? I don't really know 'cause I'm not good ín this.
 * MySQL: Like PHP.
 * URL: http://goetheflquotes.go.funpic.de/index.php/Hauptseite

After installation i'm seeing this: http://goetheflquotes.go.funpic.de/index.php/Hauptseite

help!

—87.122.107.216 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. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 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? —The preceding unsigned comment was added by User: (talk • contribs). Please sign your posts with ~ !


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

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

—196.207.32.37 08:59, 5 June 2008 (UTC)

wiki/index.php error after configuration success

 * MediaWiki: (1.12.0)
 * PHP: 5.2.2
 * MySQL: 5.0.45-community
 * URL:

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

can't edit pages

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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

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)

Problem with installation - table creation

 * MediaWiki: 1.6.8
 * PHP: PHP 4.3.10
 * MySQL: 4.1.10a
 * URL: http://docs.propheticpassion.de

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

—89.14.213.31 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:

navigation


 * Main Page
 * Top of E355 Draft
 * ASTM Blue Book
 * Community portal
 * Recent changes
 * Sandbox
 * Help
 * User's Guide

Create new articles type=createarticle prefix=E355: width=18 preload=Template:Preload editintro=MediaWiki:NewDefIntro buttonlabel=Create Definition align=left

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.

Thanks!

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

—71.245.97.171 01:16, 13 June 2008 (UTC)

installing mediawiki to work with a existing database

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 5.1
 * MySQL: 5.0
 * URL: RoFWiki

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

—69.125.59.61 07:05, 17 June 2008 (UTC)

"loss of session data" error

 * MediaWiki: 1.12.0
 * PHP: 5.2.5 (isapi)
 * MySQL:5.0.51a-community-nt
 * URL: "http://www.maplibrary.org.uk/community2/index.php

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.

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.


 * 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

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

—62.231.248.122 21:55, 23 June 2008 (UTC)

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

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

—62.231.248.122 21:56, 23 June 2008 (UTC)


 * MediaWiki: 1.12.0
 * PHP: 5
 * MySQL: MySQL 5
 * URL: www.wikigames.it/wikia/

Hi,

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/wikigames.it/wikia/includes/Preprocessor_DOM.php on line 566

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

Thanks.

—87.6.197.3 07:19, 28 June 2008 (UTC)


 * You should look here.  mgrabovský  | talk  (DJ Jeri)  [[Image:Tournesol.png|25px]] MW Support Team  09:33, 28 June 2008 (UTC)

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' (213.171.218.248)".

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... http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2003

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 mysql.so module o For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so 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
 * PHP:
 * MySQL:
 * URL:

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)

—Bluegoblin7 14:19, 3 July 2008 (UTC)


 * Hi!


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

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

 * MediaWiki: 1.6 / 1.12
 * PHP: 4 / 5
 * MySQL: 4.1.13 / 5.0.26
 * URL: http://mailingpark.dion.de/index.php/Hauptseite

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

—91.10.238.45 07:56, 8 July 2008 (UTC)

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 —98.233.154.43 18:11, 11 July 2008 (UTC)

Active Directory Authentication

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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?

—62.108.11.45 20:43, 14 July 2008 (UTC)

SiteConfiguration.php causing problems

 * MediaWiki: 1.10.0
 * PHP: 5.2.6
 * MySQL: 5.0.51
 * URL: http://ptwiki.benben27.centelia.net/index.php/Main_Page

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)

How to Install MediaWiki on Windows Server 2008
A Step-by-Step online video tutorial:
 * MediaWiki: 1.12
 * PHP: 5.2.6 NTS
 * MySQL: 5.1.25
 * URL:

—205.196.210.181 17:47, 15 July 2008 (UTC)

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

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

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)

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.

—72.85.252.217 19:57, 22 July 2008 (UTC)

Upgrading to MW 1.12 without shell access

 * MediaWiki: 1.12.0
 * PHP: 5.1.6 (apache2filter)
 * MySQL: 4.1.20
 * URL: http://en.wiki-products.org

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/wiki-products.org/subdomains/en/httpdocs/includes/Article.php 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)

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

 * MediaWiki: v1.12.0
 * PHP: PHP5
 * MySQL: 5.0.45
 * URL: http://wiki.php5.ict-idcollege.nl/

Hi,

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 (ecoolen@ict-idcollege.nl)

—82.169.26.209 11:22, 23 July 2008 (UTC)


 * MediaWiki: 1.12.0 (newest version)
 * PHP: 5.2.6
 * MySQL: 5.0.45
 * URL: TLK Wiki

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!

—75.100.87.252 05:04, 24 July 2008 (UTC)
 * 10 MB as memory limit is not enough, you have to raise that limit. <font color="#66A7CC">i <font color="#9966CC">Alex  21:32, 16 August 2008 (UTC)

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/berrysoft.net

I changed nothing on my server, and now when I go to my wiki (http://wiki.berrysoft.net) 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

—98.211.63.103 20:09, 27 July 2008 (UTC)

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

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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

Removing logs
—24.14.152.53 22:59, 27 July 2008 (UTC)


 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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


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

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';

—82.179.222.150 15:55, 4 August 2008 (UTC)

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

Hi~!

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?

—210.127.34.1 03:37, 6 August 2008 (UTC)

Install Error

 * MediaWiki: Version MediaWiki 1.12.0
 * PHP: Version 5.2.6
 * MySQL: Not using MySQL - using Postgres version 8.3.3
 * URL: http://localhost:9372/wiki/config/index.php

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: http://www.blazonry.com/scripting/install_apache.php#dso

Roger

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

Hi, Has anybody got any ideas about this?

198.152.70.2 07:30, 11 August 2008 (UTC)

Hi, I'm adding another comment to keep this question live. Cheers

198.152.70.2 07:33, 15 August 2008 (UTC)

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. <font color="#66A7CC">i <font color="#9966CC">Alex  21:25, 16 August 2008 (UTC)

Can wiki software be used for commercial purposes?

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

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?

Thanks.

—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 17:34, 12 August 2008 (UTC)

(RESOLVED) matchStartToEnd error in Parser.php
I installed 1.13 over 1.9.3. I get the error 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 <tt>function braceSubstitution( $piece, $frame )</tt> --142.206.2.14 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). --72.138.229.55 22:59, 16 August 2008 (UTC)