Project:Support desk/Sections/Installation

__NEWSECTIONLINK__

= Installation/Legalities Support =

integrating mediawiki
Hello, i want to integrate mediawiki with phpsge. what is phpsge? php strategy game engine is a cms/engine and with it you can make a strategy browsergame.

phpsge use the md5 hasch for password

i don't know how the login and the registration work on mediawiki. please help me!

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.

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

Installation Issue: Access denied for user root@localhost to datbase 'wikidb'

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.8
 * MySQL version: 5.1.30
 * URL: Local Intranet

I downloaded and unarchived the Mediawiki package to a new folder (w) under htdocs. I tried running the installation and entered the required information on screen but then when I get this error and no successful installation message.

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

PHP 5.2.8 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (D:\xampp\tmp) 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. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: D:\xampp\htdocs\w Script URI path: /w 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 root...success. Connected to mysql 5.1.30-community; enabling MySQL 4.1/5.0 charset mode Database wikidb exists There are already MediaWiki tables in this database. Checking if updates are needed... Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON `wikidb`.* TO 'wikiuser'@'%' IDENTIFIED BY 'admin' " failed with error code "Access denied for user 'root'@'localhost' to database 'wikidb' (localhost)".

Any help on this matter is greatly appreciated. Thank you.

Regards, Yogesh Nahar E: yogeshnahar@crouse.org

Liste der letzten Änderungen "leeren"
Hallo, ich führe in meiner Wiki ein paar Tests durch und ich möchte nicht, dass man später noch diese Änderungen "zurückverfolgen" kann. Kann man also einfach die Liste der letzten Änderungen leeren ?ℜepress 08:35, 12 June 2010 (UTC)


 * Salu, nein, das geht leider nicht "einfach", nur umständlich: Entweder Du markierst die Test-Edits in der History als "zeige/verstecke" ($wgGroupPermissions['sysop']['deleterevision'] = true; setzen), wobei die Versionen allerdings immer noch auftauchen, z. B. als übersprungen beim Versions-Vergleich, oder Du schmeißt die fraglichen Edits über ihre Versions-ID zuerst ins Archiv (→ deleteRevision.php) und dann endgültig über Bord (→ deleteArchivedFiles.php). All das ist mir immer zu umständlich, daher mache ich meine Experimente immer auf einer lokalen Parallel-Installation. Grüße --Robis 04:11, 29 June 2010 (UTC)

Config does not see MySQL when DBMS server is installed as RPM

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Hello,

My environment: Mediawiki v 1.15.3, PHP v 5.2.13 on RHEL 4

Mediawiki config 'Checking Environment' cannt see MySQL. This is installed as an RPM. Is it that the config expects it to be in /usr/local... ?

How can I tell the config that MySQL is in as an RPM?

Thanks

—161.5.131.43 15:08, 21 June 2010 (UTC)
 * You need to install the MySQL extension for PHP. It could be called php-mysql or something like that. Max Semenik 15:27, 21 June 2010 (UTC)

Failed opening required Language.php

 * MediaWiki version: 1.15.4
 * PHP version: 5.2.13
 * MySQL version: 5.1.45
 * URL: Install error, wiki not up

Here's this MediaWiki 1.15.4 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 * Found database drivers for: MySQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/php_sessions) 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: /home/vol8/byethost14.com/b14_5840825/htdocs/wiki * Script URI path: /wiki * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki.

Fatal error: require [function.require]: Failed opening required '/home/vol8/byethost14.com/b14_5840825/htdocs/wiki/languages/Language.php' (include_path='.') in /home/vol8/byethost14.com/b14_5840825/htdocs/wiki/includes/AutoLoader.php on line 582

Happens as soon as I goto the /wiki/config/index.php page to try to install, I have no idea what's going on or if I don't have full access to install the software, no clue, hope someone can help me out.

—204.62.111.51 00:07, 25 June 2010 (UTC)
 * Apparently, you failed to upload all files, check that the aforementioned file exists and webserver has permissions to access it. Max Semenik 09:44, 26 June 2010 (UTC)

Installing Mediawiki
I want to install Mediawiki. It appears: Something's not quite right yet; make sure everything below is filled out correctly. It seems to me that I fill all fields, but installer ask me and ask and did not say which specific field is badly filled.
 * MediaWiki version: 1.15.4
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL: localhost

—Borneq 09:36, 26 June 2010 (UTC)
 * You should see an error message in red near the field that needs to be filled. Max Semenik 09:42, 26 June 2010 (UTC)
 * I know! I pass own database root password, but password mu be as it is currently in XAMPP. In XAMPP inicjally name root is 'root' and password is empty. I install.--Borneq 09:51, 26 June 2010 (UTC)
 * See for example here how to change your password. Max Semenik 10:03, 26 June 2010 (UTC)

How uninstall Mediawiki
I install Mediawiki local in XAMPP directory C:\xampp\htdocs\mediawiki\ How uninstall ?, only deleting C:\xampp\htdocs\mediawiki directory be enough?
 * MediaWiki version: 1.15.4
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL: localhost

—Borneq 10:04, 26 June 2010 (UTC)


 * Hi there, no, you also have to delete the database content. In XAMPP the MySQL database tables are usually stored in /xampp/mysql/data/mediawiki (or what you might have named your project). The more correct way, however, is to delete the database table over the phpMyAdmin backend. If you want to keep your XAMPP installation this is the recommendable method. Bye --Robis 04:21, 29 June 2010 (UTC)

Migration stoped umlauts from working

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.13-pl0-gentoo
 * MySQL version: 5.0
 * URL: --

Hi there, i just wanne describe my problem once again and maybe today there someone with an great idea, i have an wiki running, it was migrated from another webspace _whithout_ changing the database, the webspace are the same architecture, an gentoo webserver with equal configuration, so now, it stoped showing umlauts, even in preview mode and only when the side gets edited or is new, the old sides works just fine, So if i edit the side on the old Webspace it shows umlauts very well, if i edit the same side and go to preview mode then it just changes every ä ü ö to <?>, the encoding in evry file is set tu utf-8, the database as well, and in php and mysql config also. I created an php file which writes data to an tinyblob in the same database, and umlauts work. so it should/must be something within mediawiki itsel, but i really dont know where i should take a look. Remember the side is just migrated, with an tar cpf and unpacked at the new webspace, there was no change in the sources. Hope someone has an really good idea

regards Jörg

Copyrighted (non-free) content on a MediaWiki-powered wiki

 * MediaWiki version: 1.15.4
 * PHP version: 5.2.9 (litespeed)
 * MySQL version: 5.0.91-community-log
 * URL: http://gallifreybase.com/wiki/index.php/Main_Page

Is it possible to use MediaWiki software for a database which will consist largely of non-free content? In installation, the only options are no license metadata, Creative Commons, GFDL or public domain. I've been asked to help with a wiki that the owners may wish to use to organize copyrighted content (with the permission of the copyright holder). Is it possible to use MediaWiki software without making all the content free? —Josiah Rowe 01:38, 13 July 2010 (UTC)

I have a new project with Mediawiki..But I need some helps.
Hi! I have a new project with Mediawiki..But I need some helps. How can I change interface like your homepage? I want to create frontpage like Wikipedia.

How can I include advanced content editor like your content editor?

Please check my child project: http://www.islamvebiz.net/saadetepedia/index.php/Ana_sayfa

Thank you.

Bulent Turgut

Also I put here my old writings with Mr.Diego. But we couldn't solve problems.

Please read my opinions and way of steps on trying to solve problems...

Writings:


 * See Extension:UsabilityInitiative and follow the steps to install it, then you will be able to setup the 'advanced content editor'. To set up the Vector skin, you must update your MediaWiki installation to the last trunk version of the software. Cheers, Diego Grez ¡hablemos! 22:35, 14 July 2010 (UTC)

Thanks Diego. But where will I put this codes in? In localsettings.php? I tried somethings, but site gone away!

Please advise me somethings..

OK. I suggest to download the packages that appear there. Don't forget to backup! Then, extract the files of MediaWiki 1.16alpha on the path of your current installation of MediaWiki. After that, if you have shell access, go to "maintenance/" and run "php update.php". After you have successfully updated MediaWiki, extract the MediaWiki extensions in "extensions/". Add to your LocalSettings.php:

Also, to set up Vector (Wikipedia's skin) as the main skin of your wiki (be sure to have updated the wiki as I explained before), change:

...that is located in your LocalSettings.php. If you don't understand, don't bother to ask again! Cheers, Diego Grez ¡hablemos! 01:58, 15 July 2010 (UTC)

--

Dear Diego,

Thank you for your support.

I donwloaded: Alpha 1.6v + All MediaWiki extensions

I upload Mediawiki to my host and installed it. Also I uploaded extensions to my host, and is opened it in extensions directory.

Added lines below to Localsettings.php in root for editor:

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone

$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually

Checked line below to Localsettings.php in root for skin:

$wgDefaultSkin = "monobook";

Result as:

http://www.islamvebiz.net/saadetepedia/index.php/Ana_sayfa

Same it.. Nothings are changed!

What must I do?

Thanks

I want these:

[IMG]http://i31.tinypic.com/syxwty.jpg[/IMG]

[IMG]http://i31.tinypic.com/5tuduc.jpg[/IMG]

[IMG]http://i29.tinypic.com/2i94e2s.jpg[/IMG]

Need to run update.php for finishing? If it is necessary, how can I finish to setup?

I changed skin as Vector.

But I couldn't change editor.. I installed wiki in subdirectory. I have tried to change this line:

require_once("$IP/saadetepedia/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

But nothing..

It isn't working because you are using "/saadetepedia". Please remove that and use:

require_once("extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");

This time will work, unless your "extensions" directory is located somewhere else. --Diego Grez ¡hablemos! 21:10, 15 July 2010 (UTC)

--

I tried both of 2 ways: with /ssadetepedia and non.. it is not working..

Now it is included under all codes of localsettings.php:

-- --



Need any permissions?
 * No it doesn't. Diego Grez ¡hablemos! 22:06, 15 July 2010 (UTC)
 * Try without the $IP thing. Diego Grez ¡hablemos! 22:09, 15 July 2010 (UTC)

--

No any new action.. Same it.. I don't understand why is shown editor?

Also my admin login is rejected. There is an error:

"Login error: There is an error with login attempt.. Please go bak, refresh your page, and try again later"

(I traslated from Turkish)

"Oturum açma hatası. Giriş oturumunuzla ilgili bir sorun var gibi görünüyor; bu eylem, oturum gaspına karşı önlem olarak iptal edildi. Lütfen "geri" gidin ve geldiğiniz sayfayı yeniden yükleyin, sonra tekrar deneyin. "

Also I have tried to crate a new user.. It gave me same message like above..

-

Diego,

I have reinstalled MediaWiki to my system.. Also I have included codes, but result is same again.. What do you advide me? Could you interest to install it with my admin and FTP account? Or could you advise me what must I do?

Thanks..
 * Hi Burgutex, I don't really know what's the issue here. I'm gonna move this thread to the support desk for comments of developers and more experienced users than me, perhaps they can help you solve this problem. Do you want that? Diego Grez ¡hablemos! 01:49, 16 July 2010 (UTC)

It may be.. Cause anybody can help me for these problem. I want to contact with them.. Thanks..
 * ✅ Your help request is now located at the Support Desk. Sorry for not being much helpful there >:( Diego Grez ¡hablemos! 01:58, 16 July 2010 (UTC)