Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

Page Linking Help Needed
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!

Mediawiki Appliance Version 1.13.20 Problems
Downloaded rPath Mediawiki Appliance, Running it on VMwear PLayer but can't find the localsettings.php file to edit.

Can't find much documentation. Any help or documentation would be great!

Extension Licensing Guidelines
I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

mySQL database username

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.9
 * MySQL version: 5.1.33

I am configuring MediaWiki, except the one part I am having problems with is when it is asking me for a database username and password and confirm password. Below that is the superuser account, which is root.

>>>''Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'username'@'%' IDENTIFIED BY 'password' " failed with error code "Can't find file: 'user' (errno: 2) (localhost)".'' <<<<

But it will not let me continue the configuration unless I specify a user and password since it will not let me leave it blank.

I am installing on Windows XP, just need some help with this issue. I am not very familiar with databases, i know the root user account info, but it is asking for a username and password and confirm password.

Any help would be much appreciated.

homerm@rosedale.ca

What server variables are needed
My neywork admin needs to set server variables to allow the upload to be successful...

Trying to load to www.high12.org,

current php and all info can be seen at www.high12.org/phpinfo.php

currently receive "?"s when attempt to load php is made...admin requesting server settings needed

attempted to register for the forum but never receive conformation email...so hear i am.

Fatal Error on line 279
I had the same problem as this gentleman had before. I got the following message:

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

* PHP 5.2.12 installed * Found database drivers for: MySQL SQLite * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/tmp) appears to be valid. * PHP's memory_limit is 90M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/danoff/danoff.org/dive * Script URI path: /dive * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki. *

Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as danofforg...success. * Connected to mysql 5.0.88-userstats-log * Database danoff_org exists * There are already MediaWiki tables in this database. Checking if updates are needed...   * Warning: you requested the mysql4 schema, but the existing database has the mysql5-binary schema. This upgrade script can't convert it, so it will remain mysql5-binary.

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

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

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

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

please advise, danoff.charles@gmail.com

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


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

Spellcheck and Import Page Bot
Hello, I write to you on behalf of Cathopedia, the Catholic Encyclopedia. The project is new, there's still few people working at it, so we came up with this idea of making an app or bot able to import entries from wikis with compatible GNU GPL licenses, and spellcheck the text that is on our 'pedia. The language is: Italian. Thanks in advance for your kind help,
 * MediaWiki version: 1.15.1
 * PHP version: 5.3.1 (Apache2handler)
 * MySQL version: 5.1.41
 * URL: http://it.cathopedia.org

—Katmo 13:56, 5 March 2010 (UTC)

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


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.1
 * MySQL version: MySQL Server 5.1
 * URL: http://localhost/wiki

I am not able to open setup wiki page, getting the following error:

MediaWiki 1.15.1 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems.

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

—164.129.1.41 13:21, 8 March 2010 (UTC)

I am not able to open setup wiki page, getting the following error
Getting PHP 5.2.1 installed Could not find a suitable database driver! Issue while Installing Mediawiki.


 * MediaWiki version: 1.15.1
 * PHP version: 5.2.12
 * MySQL version: MySQL Server 5.1
 * OS: FreeBSD 8
 * URL: http://localhost/wiki

I am not able to open setup wiki page, getting the following error:

MediaWiki 1.15.1 Installation

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

Checking environment...

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

* PHP 5.2.12 installed

Could not find a suitable database driver for PostgreSQL

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

When I got to the setup page http://localhost/mwiki/config/index.php, I get the following message: MediaWiki 1.15.2 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... PHP 5.2.13 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module

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

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

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

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

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

Installation of Mediawiki without web forms

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.12
 * MySQL version: 5.2.12

Since I have, generated all in one place, the answers requested on the MediaWiki install form, I would like to install new instances of MediaWiki
 * without using the form manually
 * without driving the form programatically (with, say, )
 * without hacking
 * without reverse-engineering my own install script which calls into parts of MediaWiki to set it up

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

—Smaines 09:22, 23 March 2010 (UTC)

P.S. Apologies in advance if the answer to this is addressed elsewhere, or is otherwise obvious
 * Command-line installer is scheduled for 1.17, but currently there's no ready solution for this. Max Semenik 09:33, 23 March 2010 (UTC)