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!

HUGE Troubles in mediawiki 1.14.0
my bureau/admin account can not access Restricted special pages WHY?????????

MW 1.14.0 PHP Version 5.2.9 MySQL Version 5.0.67-community


 * What error message is given? Wikademia


 * No error is given. When I click on "Special pages" link it goes to an empty page. Any help would be appreciated.


 * A blank page usually indicates a fatal PHP error. For information on debugging (including viewing errors), see How to debug. OverlordQ 00:25, 5 December 2009 (UTC)

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.

Unable to view the php created

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.5
 * MySQL version: -
 * URL:

I have installed PHP and also made the necessary changes to the IIS. Still I am unable to view the .php file I created in the C:\Inetpub\wwwroot folder. Everytime I try to view the file using the browse option I get an error saying I am unauthorised to view that page.

I do have administrative rights and installed it using the same.

Thanks in advance Maya
 * Make sure IIS is properly configured in it's console. --Arseny1992 17:58, 2 December 2009 (UTC)

What have I do?
I had to start new MediaWiki 1.15.0rc1 Installation but received:


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


 * Checking environment...

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


 * PHP 5.2.6 installed
 * Found database drivers for: MySQL SQLite
 * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
 * Have XML / Latin1-UTF-8 conversion support.
 * Session save path (/var/lib/php/session) appears to be valid.
 * PHP's memory_limit is 32M.
 * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
 * Found GNU diff3: /usr/bin/diff3.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: /usr/local/www/name_of_site.com/www
 * Script URI path: Installing MediaWiki with php file extensions
 * Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

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.

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.

Edit LocalSettings.php with new $IP
Cannot get version info.

Installed MW 1.15 according to http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu. Installation went fine. After moving LocalSettings.php to /etc/mediawiki as suggested, I now get following error:

Warning: require_once(/etc/mediawiki/includes/DefaultSettings.php) [function.require-once]: failed to open stream: No such file or directory in /etc/mediawiki/LocalSettings.php on line 25

Fatal error: require_once [function.require]: Failed opening required '/etc/mediawiki/includes/DefaultSettings.php' (include_path='/etc/mediawiki:/etc/mediawiki/includes:/etc/mediawiki/languages:.:/usr/share/php:/usr/share/pear') in /etc/mediawiki/LocalSettings.php on line 25

Line 25 refers to DefaultSettings.php. It is in the place where mwiki installed itself. /var/lib/mediawiki/includes/

What do I need to change in LocaSettings?

Thanks

—144.92.49.70 23:53, 26 November 2009 (UTC)

Install page showing php codes

 * MediaWiki version: 1. 15.1
 * PHP version: 5.2.11
 * MySQL version: 5
 * URL: http://localhost/mediawiki/config/index.php

My index.php page does not seem to compile properly. It is showing below instead of graphical output:

Have already installed PHP5 for Apache Server and php.info page runs smoothly with PCRE (Perl Compatible Regular Expressions) Support shown enabled on it.

Do you know if I need to download other PHP extensions to make this work?

Sorry about this, I'm a total beginner in PHP.

—218.186.12.228 16:12, 2 December 2009 (UTC)
 * You need to properly configure your apache httpd, or another your web server that you run. --Arseny1992 18:06, 2 December 2009 (UTC)

Fatal error: Class 'MWNamespace' not found

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10
 * MySQL version: 5.O.32
 * URL: http://www.lumumba.be/mediawiki

Hello, when I try to install wikimedia I get the following error message: * PHP 5.2.10 installed * Found database drivers for: MySQL SQLite * Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads. * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/customers/lumumba.be/lumumba.be/tmp) appears to be valid. * PHP's memory_limit is 24M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * GNU diff3 not found. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: /customers/lumumba.be/lumumba.be/httpd.www/mediawiki * Script URI path: /mediawiki * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki. * Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. *

Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as lumumba_be...success. * Connected to mysql 5.0.32-Debian_7etch11-log; enabling MySQL 4.1/5.0 charset mode * Database lumumba_be exists * There are already MediaWiki tables in this database. Checking if updates are needed...

...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards ...hitcounter table already exists. ...have rc_type field in recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. Already have pagelinks; skipping old links table updates. ...il_from OK ...have rc_ip field in recentchanges table. ...image primary key already set. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. ...page table already exists. ...have log_params field in logging table. logging table has correct log_title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...have ar_text_id field in archive table. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...have img_media_type field in image table. ...already have pagelinks table. No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...transcache table already exists. ...have iw_trans field in interwiki table. ...trackbacks table already exists. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. ...have ipb_range_start field in ipblocks table. Setting page_random to a random value on rows where it equals 0...changed 0 rows ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. Checking for additional recent changes indices... ...index `rc_ns_usertext` seems ok. ...index `rc_user_text` seems ok. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks seems to be ok Checking if templatelinks index tl_namespace includes field tl_from... ...index tl_namespace on table templatelinks seems to be ok Checking if imagelinks index il_to includes field il_from... ...index il_to on table imagelinks seems to be ok ...have rc_old_len field in recentchanges table. ...have user_editcount field in user table. ...page_restrictions table already exists. ...have log_id field in logging table. ...have rev_parent_id field in revision table. ...have pr_id field in page_restrictions table. ...have rev_len field in revision table. ...have rc_deleted field in recentchanges table. ...have log_deleted field in logging table. ...have ar_deleted field in archive table. ...have ipb_deleted field in ipblocks table. ...have fa_deleted field in filearchive table. ...have ar_len field in archive table. ...have ipb_block_email field in ipblocks table. Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks seems to be ok ...have oi_metadata field in oldimage table. ...usertext,timestamp key on archive already exists. ...usertext,timestamp key on image already exists. ...usertext,timestamp key on oldimage already exists. ...have ar_page_id field in archive table. ...have img_sha1 field in image table. ...protected_titles table already exists. ...have ipb_by_text field in ipblocks table. ...page_props table already exists. ...updatelog table already exists. ...category table already exists. ...category table already populated. ...have ar_parent_id field in archive table. ...have user_last_timestamp field in user_newtalk table. ...rev_parent_id column already populated. protected_titles table has correct pt_title encoding. Checking filearchive indices... ...have ss_active_users field in site_stats table. ...ss_active_users user count set... ...have ipb_allow_usertalk field in ipblocks table. ...pl_namespace, tl_namespace, il_to indices are already UNIQUE. ...change_tag table already exists. ...tag_summary table already exists. ...valid_tag table already exists. Deleting old default messages (this may take a long time!)...

Fatal error: Class 'MWNamespace' not found in /customers/lumumba.be/lumumba.be/httpd.www/mediawiki/languages/Language.php on line 304

—94.108.230.222 17:52, 6 December 2009 (UTC)

2 errors: No generating configuration file and no create first user

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.0.67
 * URL: www.nosgothclan.de/wiki

error 1: the config folder attrib: 777 - but no generating configuration file

error 2: Creating tables...Query "CREATE UNIQUE INDEX user_name ON `wiki_user` (user_name) " failed with error code "INDEX command denied to user 'web1039'@'localhost' for table 'wiki_user' (localhost)".

What must I do now?

The full install-message:  PHP 5.2.8 installed Found database drivers for: MySQL PostgreSQL SQLite 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. Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads. PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/var/www/html/web1039/phptmp) 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. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /var/www/html/web1039/html/wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. <li>Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. <li>Generating configuration file...

<li>Database type: MySQL <li>Loading class: DatabaseMysql <li>Attempting to connect to database server as web1039...success. <li>Connected to mysql 5.0.67; enabling MySQL 4.1/5.0 charset mode <li>Database usr_web1039_2 exists <li>Creating tables...Query "CREATE UNIQUE INDEX user_name ON `wiki_user` (user_name) " failed with error code "INDEX command denied to user 'web1039'@'localhost' for table 'wiki_user' (localhost)". </ul>

—93.211.242.239 18:44, 6 December 2009 (UTC)


 * You need to run the following SQL command:


 * replace "password" with your actual password. Needs to be run from MySQL root account, probably. Max Semenik 19:38, 6 December 2009 (UTC)

Thanks. I run from localhost with databasename usr_web1039_2 and actual password. GRANT INDEX, CREATE, SELECT, INSERT, UPDATE, DELETE, ALTER, LOCK TABLES ON usr_web1039_2.* TO 'web1039'@'localhost' IDENTIFIED BY 'password' The Message: #1044 - Access denied for user 'web1039'@'localhost' to database 'usr_web1039_2' The password is okay ... And now?

Cant edit or create pages after correct installation

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.0.51a-community-log
 * Website: http://www.sondasespaciales.com/wiki/
 * User for testing: Test, password: test2
 * Status: Clean install, no plugins added, config still available...

After creating a page or editing one I can see the preview but if I try to save I get the following message: I have tried to install with all possible different settings in mysql and I could not make it work. This server is an inmotion VPS. In my own server at home I did not have this problem. I have searched and googleed a lot but I found nothing of help, very few information. I tried to download again the mediawiki and still the same error... Thanks
 * Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service.

—84.193.194.151 23:10, 6 December 2009 (UTC)

Hello all, its me again. I traced back a little bit. I activated the debug ($wgDebugLogFile = '/home/username/public_html/wikidir/logfile';) added in the LocalSettings.php. In the include/Users.php line 2810, I changed:

wfDebug( "User::matchEditToken: broken session data\n" );

for

wfDebug( "User::matchEditToken: broken session data '$val' != '$sessionToken' \n" );

The result in the log file was:

User::matchEditToken: broken session data 'de0e9f7530d7505ff0ab83007be1b666+' != 'de0e9f7530d7505ff0ab83007be1b666+\'

And that is veeeery surprising. I am about to make a substr to solve the isue... but... any ideas of why this happened??? Is this a bug somehow?

—84.193.194.151 00:31, 7 December 2009 (UTC)

Hello again, I did my own fix, it works but I am not sure if this is the most correct way, I added in the file include/users.php line 2809 (after the line $sessionToken = $this->editToken( $salt );) the following code:

//Start Bultza fix if ( substr($sessionToken, -1) == "\\" ){ $sessionToken = substr($sessionToken, 0, -1); wfDebug( "User::matchEditToken: sessionToken corrected to '$sessionToken' from '$sessionToken\\' \n" ); }   //End Bultza fix

This fix will not disable or bypass the function but will try to correct the sessionToken.


 * This check was there for a reason: it prevents page text from mangling by broken proxies during editing. By effectively disabling it you're opening yourself to creepy bugs. I recommend you to investigate why this mangling appears at all, your hosting provider shouldn't be using such crude proxying software. Max Semenik 07:40, 8 December 2009 (UTC)

You have mention your hosting provider shouldn't be using such crude proxying software. I dont fully understand this, do you have any links that would help me to understand that?

I have not disabled the matchEditToken!. I just added a couple of lines to delete the latest '\' in case that it exists. It is not solving the root problem I know. My hosting is inmotion http://www.inmotionhosting.com/ I am surprised they did not have this problem in the past with other users, they have many customers. However each VPS has its own story... I will continue tonight to trace a little bit more in search of the root and put here my finding.

—84.193.194.151 09:42, 7 December 2009 (UTC)

Extension:FlashMP3
Hello!

Here is the wiki-version: http://www.keytonature.eu/wiki/Special:Version

My question: Is the Extension:FlashMP3 running on this version without problems? Doc Taxon 15:14, 12 December 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version: 5.1.2
 * MySQL version: 5.0.18
 * URL: http://liberale-hochschulgruppen.de/wiki and wiki.liberale-hochschulgruppen.de

Hello there,

i am trying to move my wiki from the directory in the given domain to the subdomain wiki.liberale-hochschulgruppen.de. I performed the following steps:

1. Copying the whole system into the / directory in the subdomain. 2. Adapting the wgscriptpath from "/wiki" to "" in the Local Settings 3. The Database is the same so no need to change something here

When i now try to access the Domain it will just show an empty page with the Link to wiki.liberale-hochschulgruppen.de/index.php/Hauptseite (for the main page). Do I need to change anything else for it to run properly?

Here ar my Local Settings:

<?php


 * 1) This file was automatically generated by the MediaWiki installer.
 * 2) If you make manual changes, please keep track in case you need to
 * 3) recreate them later.
 * 4) See includes/DefaultSettings.php for all configurable settings
 * 5) and their default values, but don't forget to make changes in _this_
 * 6) file, not there.
 * 1) file, not there.

if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); }
 * 1) If you customize your file layout, set $IP to the directory that contains
 * 2) the other MediaWiki files. It will be used as a base to locate files.

$path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) );

require_once( "includes/DefaultSettings.php" );


 * 1) If PHP's memory limit is very low, some operations may fail.
 * 2) ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } elseif ( empty( $wgNoOutputBuffer ) ) { ## Compress output if the browser supports it	if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); }

$wgSitename        = "LHG Wiki";

$wgScriptPath	   = ""; $wgScript          = "$wgScriptPath/index.php"; $wgRedirectScript  = "$wgScriptPath/redirect.php";

$wgArticlePath     = "$wgScript/$1";
 * 1) For more information on customizing the URLs please see:
 * 2) http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
 * 3) If using PHP as a CGI module, the ?title= style usually must be used.
 * 1) $wgArticlePath      = "$wgScript?title=$1";

$wgStylePath       = "$wgScriptPath/skins"; $wgStyleDirectory  = "$IP/skins"; $wgLogo            = "$wgStylePath/common/images/LHG.jpg";

$wgUploadPath      = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";

$wgEnableEmail = true; $wgEnableUserEmail = true;

$wgEmergencyContact = "george@bundes-lhg.net"; $wgPasswordSender	= "george@bundes-lhg.net";

$wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true;
 * 1) For a detailed description of the following switches see
 * 2) http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
 * 3) There are many more options for fine tuning available see
 * 4) /includes/DefaultSettings.php
 * 5) UPO means: this is also a user preference option

$wgDBserver        = "localhost"; $wgDBname          = "lhgwiki"; $wgDBuser          = "lhgwiki"; $wgDBpassword      = "tfz399"; $wgDBprefix        = ""; $wgDBtype          = "mysql";

$wgDBmysql5 = false;
 * 1) Experimental charset support for MySQL 4.1/5.0.

$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array;
 * 1) Shared memory settings

$wgEnableUploads		= false; $wgUseImageResize		= true;
 * 1) To enable image uploads, make sure the 'images' directory
 * 2) is writable, then set this to true:
 * 1) $wgUseImageMagick = true;
 * 2) $wgImageMagickConvertCommand = "/usr/bin/convert";


 * 1) If you want to use image uploads under safe mode,
 * 2) create the directories images/archive, images/thumb and
 * 3) images/temp, and make them all writable. Then uncomment
 * 4) this, if it's not already uncommented:
 * 5) $wgHashedUploadDirectory = false;

$wgUseTeX	        = false; $wgMathPath        = "{$wgUploadPath}/math"; $wgMathDirectory   = "{$wgUploadDirectory}/math"; $wgTmpDirectory    = "{$wgUploadDirectory}/tmp";
 * 1) If you have the appropriate support software installed
 * 2) you can enable inline LaTeX equations:

$wgLocalInterwiki  = $wgSitename;

$wgLanguageCode = "de";

$wgProxyKey = "3ecbd1dd691647e2cda0a8c212b091b24e6f60970fa2d134ef7083126ee0a7d";

$wgDefaultSkin = 'monobook';
 * 1) Default skin: you can change the default skin. Use the internal symbolic
 * 2) names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':

$wgGroupPermissions['*']['createaccount'] = false;
 * 1) This snippet prevents new registrations from anonymous users
 * 2) (Sysops can still create user accounts)

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = "";
 * 1) For attaching licensing metadata to pages, and displaying an
 * 2) appropriate copyright notice / icon. GNU Free Documentation
 * 3) License and Creative Commons licenses are supported so far.
 * 4) $wgEnableCreativeCommonsRdf = true;
 * 1) $wgRightsCode = ""; # Not yet used

$wgDiff3 = "";

$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate );
 * 1) When you make changes to this configuration file, this will make
 * 2) sure that cached pages are cleared.

$wgWhitelistRead = array( "Hauptseite", "Spezial:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false;
 * 1) Pages anonymous (not-logged-in) users may see

$wgGroupPermissions['*']['edit'] = false;
 * 1) This snippet prevents editing from anonymous users

Thanks everyone,

Daniel —84.63.122.140 17:00, 13 December 2009 (UTC)

Configuration page Demands SQLite

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6
 * MySQL version: 5.1.25 64bit
 * URL: Internal Use Only

I want to use mysql but the config/index.php does not allow me to deselect SQLite. The drivers are found for SQLite but no mention of mysql. I am using the coolstack apache2, php5, and mediawiki 1.15.1 on Solaris 10.

How do I install mediawiki and have it use mysql?

I see from config/index.php: * PHP 5.2.6 installed * Found database drivers for: SQLite * 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 64M. * APC installed * GNU diff3 not found. * Couldn't find GD library or ImageMagick; image thumbnailing disabled. * Installation directory: /opt/coolstack/apache2/htdocs/mediawiki-1.15.1 * Script URI path: /mediawiki-1.15.1 * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki.

Thank you in advance. Jeff

—198.17.175.151 21:50, 15 December 2009 (UTC)

Problems installing

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: localhost

I´m installing Media Wiki on my localhost to test it, and I'm getting this message:

* PHP 5.2.8 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 o For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module o For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not ready.so module o For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module

I'm checking and MySQL is working fine. What can I do? Thank you

—200.24.42.17 13:57, 16 December 2009 (UTC) Alexander Parrales Arango aparrales@e-olia.com

Error Installing Media Wiki

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.8
 * MySQL version: 5.0.85
 * URL: http://learning.e-olia.com/wiki

I'm getting this error message ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table

Notice: Trying to get property of non-object in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263

Warning: mysql_num_fields: supplied argument is not a valid MySQL result resource in /home/eoliaco/public_html/learning/wiki/includes/db/Database.php on line 1263

Fatal error: Call to a member function isMultipleKey on a non-object in /home/eoliaco/public_html/learning/wiki/maintenance/updaters.inc on line 279

—200.24.42.17 14:41, 16 December 2009 (UTC) Alexander Parrales Arango