Project:Support desk/Sections/Installation

__NEWSECTIONLINK__ = Installation/Legalities Support =

vulnerability that needs to be fixed
me and some friends were scanning my site and found a vulnerability. please fix it...

/index.php?title=Main_Page&action=edit&gen=js&useskin=>">alert(398498917898)%3B

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)

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

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

"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: (5.x)
 * MySQL: (4.x)
 * 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)

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

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)

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

—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

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.

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

SVN problem
where 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)

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)

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

 * 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 pkdhodapkar@oilindia.in

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

th=" 0%" tyle="vertical-align:top" | 

==T

==n

==*

== 31. 7. 1

00, ENG Gruppenbesprechung

* Fr

01.

8., B 1.5-Runde

* 30.7. Rückgabe </span< </di< <</d< << << [[e < [[ ]]

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)

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)

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)

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)

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.

Linux Help!
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)

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)

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)

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

So I did but now I want to know how to configure mediawiki to use the AD for user authentication. Could you explain me how to configure this?

—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

 * MediaWiki: 1.12
 * PHP: 5.2.6 NTS
 * MySQL: 5.1.25
 * URL: A Step-by-Step online video tutorial:

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

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

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)


 * Help anybody?
 * 198.152.70.2 08:03, 21 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. i Alex  21:25, 16 August 2008 (UTC)

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

 * MediaWiki: 1.13.0
 * PHP: 5.2.5
 * MySQL: 5.0.51a-community
 * URL:

I'm receiving an error

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

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

$wgRequest = new WebRequest; is Line 147

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

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

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

Installed
 * Configure (Version 0.5.7) 	Allow authorised users to configure the wiki by a web-based interface 	Alexandre Emsenhuber Parser hooks

Google Co-op Extension 	Using Google Co-op 	Liang Chen The BiGreat
 * EmbedVideo (Version 0.1.2) 	Adds a parser function aembedding video from popular sources. 	Jim R. Wilson - wilson.jim.rgmail.com
 * NiceCategoryList 	generate a category page showing all pages in a category, including subcategories 	Kichik, Johan the Ghost Andre
 * GoogleTranslate (Version 0.2) 	Ajax-based link translation that translates edittext from/to via GoogleTranslate 	Per Feldvoss Olsen

Old versions of Mediawiki?

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

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